[28069] trunk/dports/archivers/unzoo/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 19 10:22:31 PDT 2007


Revision: 28069
          http://trac.macosforge.org/projects/macports/changeset/28069
Author:   nox at macports.org
Date:     2007-08-19 10:22:31 -0700 (Sun, 19 Aug 2007)

Log Message:
-----------
unzoo:
 * Added universal support.
 * Added sha1 and rmd160 checksums.

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

Modified: trunk/dports/archivers/unzoo/Portfile
===================================================================
--- trunk/dports/archivers/unzoo/Portfile	2007-08-19 17:06:09 UTC (rev 28068)
+++ trunk/dports/archivers/unzoo/Portfile	2007-08-19 17:22:31 UTC (rev 28069)
@@ -1,30 +1,37 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem		1.0
 
 name			unzoo
 version			4.4
 categories		archivers
 platforms		darwin
-maintainers		nomaintainer at macports.org
+maintainers		nomaintainer
 description		A zoo archive extractor
-long_description	Unzoo is a zoo archive extractor written by Martin \
-			Schoenert. If unzoo is called with no arguments, it will first \
-			print a summary of the commands and then prompt for command lines \
-			interactively.
 
+long_description \
+				Unzoo is a zoo archive extractor written by Martin \
+				Schoenert. If unzoo is called with no arguments, it will first \
+				print a summary of the commands and then prompt for command lines \
+				interactively.
+
 homepage		http://freshmeat.net/projects/unzoo/
 master_sites	http://critical.ch/unzoo/
-checksums		md5 2e73c26188688033b7c2b6c7da32ad39
 
-post-extract {
-	file copy ${filespath}/Makefile ${worksrcpath}
+checksums		md5 2e73c26188688033b7c2b6c7da32ad39 \
+				sha1 9f1d0193492276bd0f59a48d720ab6092c6d4a0f \
+				rmd160 fd8e0c97e22adfc8fefd6f8d1b70d8ca53b234f3
+
+# Dummy configure to enable universal variant
+configure {}
+
+build {
+	cd ${worksrcpath}
+	system "gcc [join ${configure.cflags} " "] -DSYS_IS_UNIX unzoo.c -o unzoo"
 }
 
-use_configure	no
-
 destroot {
-	xinstall -m 755 ${worksrcpath}/unzoo ${destroot}${prefix}/bin
-	xinstall -m 644 ${worksrcpath}/unzoo.1 ${destroot}${prefix}/share/man/man1
+	xinstall ${worksrcpath}/unzoo ${destroot}${prefix}/bin
+	xinstall -m 0644 ${worksrcpath}/unzoo.1 ${destroot}${prefix}/share/man/man1
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070819/9d95d411/attachment.html


More information about the macports-changes mailing list