[39753] trunk/dports/erlang/eunit/Portfile
febeling at macports.org
febeling at macports.org
Wed Sep 3 01:16:44 PDT 2008
Revision: 39753
http://trac.macosforge.org/projects/macports/changeset/39753
Author: febeling at macports.org
Date: 2008-09-03 01:16:43 -0700 (Wed, 03 Sep 2008)
Log Message:
-----------
upgrade to a new upstream revision (r250); place object files more appropriately into erlang code path
Modified Paths:
--------------
trunk/dports/erlang/eunit/Portfile
Modified: trunk/dports/erlang/eunit/Portfile
===================================================================
--- trunk/dports/erlang/eunit/Portfile 2008-09-03 07:53:38 UTC (rev 39752)
+++ trunk/dports/erlang/eunit/Portfile 2008-09-03 08:16:43 UTC (rev 39753)
@@ -3,6 +3,7 @@
name eunit
# the released version 1.1 is too old to be interesting
version 2.0b1
+revision 1
categories erlang devel
maintainers febeling openmaintainer
description Erlang Unit Testing Framework
@@ -13,15 +14,17 @@
depends_lib port:erlang
fetch.type svn
svn.url http://svn.process-one.net/contribs/trunk/eunit
-svn.tag 249
+svn.tag 250
worksrcdir ${name}
build.target all docs
destroot {
- set hdrdir ${destroot}${prefix}/lib/${name}/include
+ set libdir ${destroot}${prefix}/lib/erlang/lib/${name}-${version}
+
+ set hdrdir ${libdir}/include
xinstall -d -m 0755 ${hdrdir}
eval xinstall -m 0644 [glob ${worksrcpath}/include/*.hrl] ${hdrdir}
- set ebindir ${destroot}${prefix}/lib/${name}/ebin
+ set ebindir ${libdir}/ebin
xinstall -d -m 0755 ${ebindir}
eval xinstall -m 0644 [glob ${worksrcpath}/ebin/*.beam] ${ebindir}
@@ -36,7 +39,7 @@
AUTHORS CHANGELOG COPYING NOTES README \
${docdir}
- set examplesdir ${destroot}${prefix}/lib/${name}/examples
+ set examplesdir ${libdir}/examples
xinstall -d -m 0755 ${examplesdir}
eval xinstall -m 0644 [glob ${worksrcpath}/examples/*.erl] ${examplesdir}
eval xinstall -m 0644 [glob ${worksrcpath}/examples/*.txt] ${examplesdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080903/1b25dae0/attachment-0001.html
More information about the macports-changes
mailing list