[33986] trunk/dports/lang/icon/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Feb 9 14:46:50 PST 2008


Revision: 33986
          http://trac.macosforge.org/projects/macports/changeset/33986
Author:   ryandesign at macports.org
Date:     2008-02-09 14:46:49 -0800 (Sat, 09 Feb 2008)

Log Message:
-----------
icon:

 * don't repeat version number elsewhere in the portfile; compute it
 * use distname and extract.suffix instead of distfiles so that we don't have to also set worksrcdir

See #14238

Modified Paths:
--------------
    trunk/dports/lang/icon/Portfile

Modified: trunk/dports/lang/icon/Portfile
===================================================================
--- trunk/dports/lang/icon/Portfile	2008-02-09 22:41:11 UTC (rev 33985)
+++ trunk/dports/lang/icon/Portfile	2008-02-09 22:46:49 UTC (rev 33986)
@@ -16,13 +16,12 @@
 homepage		http://www.cs.arizona.edu/icon/
 platforms		darwin
 master_sites		${homepage}ftp/packages/unix/
-distfiles		icon.v943src.tgz
+distname		icon.v[strsed ${version} {g/\.//}]src
+extract.suffix		.tgz
 checksums		md5 4740b1fc5caf2fe7409367923dffe607 \
 			sha1 92bd3347807b333fb903edf61a2805f2e1159577 \
 			rmd160 af75af7f106920cd59a7f8ac85954aa472ae78e7
 
-worksrcdir		icon.v943src
-
 configure {
   cd ${worksrcpath}
   system "make X-Configure name=macintosh"

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


More information about the macports-changes mailing list