[102006] trunk/dports/python/py-fchksum/Portfile

jmr at macports.org jmr at macports.org
Thu Jan 24 02:32:44 PST 2013


Revision: 102006
          https://trac.macports.org/changeset/102006
Author:   jmr at macports.org
Date:     2013-01-24 02:32:44 -0800 (Thu, 24 Jan 2013)
Log Message:
-----------
py-fchksum: use unified portgroup, set license

Modified Paths:
--------------
    trunk/dports/python/py-fchksum/Portfile

Modified: trunk/dports/python/py-fchksum/Portfile
===================================================================
--- trunk/dports/python/py-fchksum/Portfile	2013-01-24 10:16:47 UTC (rev 102005)
+++ trunk/dports/python/py-fchksum/Portfile	2013-01-24 10:32:44 UTC (rev 102006)
@@ -1,12 +1,12 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-fchksum
 version			1.7.1
 revision		1
-categories		python
+license			GPL-2+
 platforms		darwin
 maintainers		nomaintainer
 description		Python module to find the checksum of files
@@ -14,18 +14,22 @@
 				files. Currently it supports md5, crc32, cksum, \
 				bsd-style sum, and sysv-style sum.
 
-homepage		http://users.dakotacom.net/~donut/programs/fchksum.html
-master_sites	http://users.dakotacom.net/~donut/programs/fchksum/
+homepage		http://code.fluffytapeworm.com/projects/
+master_sites	${homepage}
 distname		python-fchksum-${version}
 checksums		md5 5a7fdec9b6a04ef6d17962df2a74284b
 
-depends_lib-append	lib:libz:zlib
+python.versions	24
 
-test.run		no
-test.cmd		${build.cmd}
-test.target		test
+if {$subport != $name} {
+    depends_lib-append	port:zlib
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} COPYING Changelog README \
-		${destroot}${prefix}/share/doc/${name}
+    test.run		no
+    test.cmd		${build.cmd}
+    test.target		test
+
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} COPYING Changelog README \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130124/48ee0930/attachment.html>


More information about the macports-changes mailing list