[38378] trunk/dports/erlang

febeling at macports.org febeling at macports.org
Fri Jul 18 00:02:29 PDT 2008


Revision: 38378
          http://trac.macosforge.org/projects/macports/changeset/38378
Author:   febeling at macports.org
Date:     2008-07-18 00:02:28 -0700 (Fri, 18 Jul 2008)
Log Message:
-----------
New port: eunit, the erlang unit test framework

Added Paths:
-----------
    trunk/dports/erlang/eunit/
    trunk/dports/erlang/eunit/Portfile

Added: trunk/dports/erlang/eunit/Portfile
===================================================================
--- trunk/dports/erlang/eunit/Portfile	                        (rev 0)
+++ trunk/dports/erlang/eunit/Portfile	2008-07-18 07:02:28 UTC (rev 38378)
@@ -0,0 +1,43 @@
+# $Id $
+PortSystem       1.0
+name             eunit
+# the released version 1.1 is too old to be interesting
+version          2.0b1
+categories       erlang devel
+maintainers      febeling openmaintainer
+description      Erlang Unit Testing Framework
+long_description The Erlang version of an xUnit test frameworks
+homepage         https://support.process-one.net/doc/display/CONTRIBS/EUnit
+platforms        darwin
+use_configure    no
+depends_lib      port:erlang
+fetch.type       svn
+svn.url          http://svn.process-one.net/contribs/trunk/eunit
+svn.tag          249
+worksrcdir       ${name}
+build.target     all docs
+destroot {
+	set hdrdir ${destroot}${prefix}/lib/${name}/include
+	xinstall -d -m 0755 ${hdrdir}
+	eval xinstall -m 0644 [glob ${worksrcpath}/include/*.hrl] ${hdrdir}
+
+	set ebindir ${destroot}${prefix}/lib/${name}/ebin
+	xinstall -d -m 0755 ${ebindir}
+	eval xinstall -m 0644 [glob ${worksrcpath}/ebin/*.beam] ${ebindir}
+
+	set docdir ${destroot}${prefix}/share/doc/${name}-${version}
+	xinstall -d -m 0755 ${docdir}
+	xinstall -m 0664 -W ${worksrcpath}/doc \
+		erlang.png eunit.html index.html modules-frame.html \
+		overview-summary.html packages-frame.html stylesheet.css \
+		${docdir}
+
+	xinstall -m 0664 -W ${worksrcpath} \
+		AUTHORS CHANGELOG COPYING NOTES README \
+		${docdir}
+
+	set examplesdir ${destroot}${prefix}/lib/${name}/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/20080718/c508e95b/attachment.html 


More information about the macports-changes mailing list