Fwd: [40483] trunk/dports/erlang/mochiweb

C. Florian Ebeling febeling at macports.org
Tue Oct 7 14:37:24 PDT 2008


---------- Forwarded message ----------
From:  <febeling at macports.org>
Date: Fri, Oct 3, 2008 at 3:56 PM
Subject: [40483] trunk/dports/erlang/mochiweb
To: macports-changes at lists.macosforge.org

+	xinstall -d -m 0755 ${privdir}/skel/priv/www
+	xinstall -d -m 0755 ${privdir}/skel/deps
+	xinstall -d -m 0755 ${privdir}/skel/docs
+	xinstall -d -m 0755 ${privdir}/skel/ebin
+	xinstall -d -m 0755 ${privdir}/skel/include
+	xinstall -d -m 0755 ${privdir}/skel/src
+	xinstall -d -m 0755 ${privdir}/skel/support
+	xinstall -m 0644 ${worksrcpath}/priv/skel/Makefile \
+		${privdir}/skel
+	eval xinstall -m 0644 [glob ${worksrcpath}/priv/skel/start*.sh] \
+		${privdir}/skel
+	eval xinstall -m 0644 ${worksrcpath}/priv/skel/priv/www/index.html \
+		${privdir}/skel/priv/www
+	eval xinstall -m 0644 [glob
${worksrcpath}/priv/skel/src/{Makefile,*.html,*.erl,*.hrl,*.app}] \
+		${privdir}/skel/src
+	xinstall -m 0644 ${worksrcpath}/priv/skel/support/include.mk \
+		${privdir}/skel/support

Recently I wanted to copy over a whole directory form worksrcpath
to destdir, and that turned out to be quite tedious. Is it possible to
do this any easier than this?

I noticed a construct for this task in the ruby port group file, so i guess
it is actually not available in general. Is that so? Wouldn't that be a
valuable addition? (Or is it maybe in trunk :)

I think this is quite a general thing, be it generated docs which you
want to  install, or sources in addition to compiled stuff. In the above
case it was just necessary resources.

Florian

-- 
Florian Ebeling
florian.ebeling at gmail.com


More information about the macports-dev mailing list