[33429] trunk/dports/archivers/dact/Portfile

nox at macports.org nox at macports.org
Sun Jan 27 02:43:19 PST 2008


Revision: 33429
          http://trac.macosforge.org/projects/macports/changeset/33429
Author:   nox at macports.org
Date:     2008-01-27 02:43:17 -0800 (Sun, 27 Jan 2008)

Log Message:
-----------
dact: Whitespace changes.

Modified Paths:
--------------
    trunk/dports/archivers/dact/Portfile

Modified: trunk/dports/archivers/dact/Portfile
===================================================================
--- trunk/dports/archivers/dact/Portfile	2008-01-27 10:42:07 UTC (rev 33428)
+++ trunk/dports/archivers/dact/Portfile	2008-01-27 10:43:17 UTC (rev 33429)
@@ -1,28 +1,26 @@
 # $Id$
 
-PortSystem		1.0
+PortSystem      1.0
 
-name			dact
-version			0.8.41
-categories		archivers
-platforms		darwin
-maintainers		nomaintainer
-description		dynamic adaptive compression tool
+name            dact
+version         0.8.41
+categories      archivers
+platforms       darwin
+maintainers     nomaintainer
+description     dynamic adaptive compression tool
 
 long_description \
-				DACT attempts to create very efficient compressed files by \
-				attempting to use many different algorithms on each block until it \
-				finds the best for every block in the file.
+    DACT attempts to create very efficient compressed files by \
+    attempting to use many different algorithms on each block until it \
+    finds the best for every block in the file.
 
-homepage		http://www.rkeene.org/oss/dact/
-master_sites	http://www.rkeene.org/files/oss/dact/release/
+homepage        http://www.rkeene.org/oss/dact/
+master_sites    http://www.rkeene.org/files/oss/dact/release/
 
-checksums		md5 f6b33e18e9680c08835e93f8673dea8d \
-				sha1 a87db20ae7bf4ffd1b5d37c7e3be70c84661e379 \
-				rmd160 015544501df128da869f837b64579de53028a163
+checksums       md5 f6b33e18e9680c08835e93f8673dea8d \
+                sha1 a87db20ae7bf4ffd1b5d37c7e3be70c84661e379 \
+                rmd160 015544501df128da869f837b64579de53028a163
 
-depends_lib		port:libmcrypt port:zlib port:bzip2 port:lzo
-
 post-patch {
 	# checking how to create shared objects... cant
 	# configure: error: We are unable to make shared objects.
@@ -32,8 +30,11 @@
 	# Loadable objects are bundles on OS X
 
 	reinplace "s/=\\.so/=\\.bundle/g" ${worksrcpath}/Makefile.in
-	reinplace -E "s/\[\[:<:\]\]so\[\[:>:\]\]/bundle/g" ${worksrcpath}/Makefile.in ${worksrcpath}/Makefile.dep
-	reinplace -E "/AS_MODULE/s/(SHOBJLDFLAGS)/\\1:dynamiclib=bundle/" ${worksrcpath}/Makefile.in
+	reinplace -E "s/\[\[:<:\]\]so\[\[:>:\]\]/bundle/g" \
+        ${worksrcpath}/Makefile.in \
+        ${worksrcpath}/Makefile.dep
+	reinplace -E "/AS_MODULE/s/(SHOBJLDFLAGS)/\\1:dynamiclib=bundle/" \
+        ${worksrcpath}/Makefile.in
 	reinplace -E "/for/s/\\(MODS\\)/(ALGO:.c=.bundle)/" ${worksrcpath}/Makefile.in
 
 	# ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
@@ -47,25 +48,29 @@
 	reinplace -E "s/^(char.*;)\$/static \\1/" ${worksrcpath}/ui.c
 }
 
-configure.args	--mandir=\\\${prefix}/share/man \
-				--disable-chkvers
+depends_lib     port:libmcrypt \
+                port:zlib \
+                port:bzip2 \
+                port:lzo
 
-destroot.destdir prefix=${destroot}${prefix}
+configure.args  --mandir=${prefix}/share/man \
+                --disable-chkvers
 
+destroot.destdir    prefix=${destroot}${prefix}
+
 post-destroot {
-	system "install_name_tool -id ${prefix}/lib/lib${name}.dylib \
-		${destroot}${prefix}/lib/lib${name}.dylib"
+    system "install_name_tool -id ${prefix}/lib/lib${name}.dylib \
+        ${destroot}${prefix}/lib/lib${name}.dylib"
 
-	set docdir ${prefix}/share/doc/${name}-${version}
-	xinstall -d ${destroot}${docdir}
-	xinstall -m 0644 -W ${worksrcpath} AUTHORS ChangeLog LICENSE README TODO TODO.ideas \
-		${destroot}${docdir}
+    set docdir ${prefix}/share/doc/${name}-${version}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS ChangeLog LICENSE README TODO TODO.ideas \
+        ${destroot}${docdir}
 }
 
 # gcc: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
-universal_variant no
+universal_variant   no
 
-livecheck.check	regex
-livecheck.url	${homepage}
-livecheck.regex	${name}-(\\d+(?:\\.\\d+)*)
-
+livecheck.check regex
+livecheck.url   ${homepage}
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080127/36be3a83/attachment.html


More information about the macports-changes mailing list