[79983] trunk/dports/graphics/libpng/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Jul 1 01:34:23 PDT 2011


Revision: 79983
          http://trac.macports.org/changeset/79983
Author:   ryandesign at macports.org
Date:     2011-07-01 01:34:23 -0700 (Fri, 01 Jul 2011)
Log Message:
-----------
libpng: fix master_sites for sourceforge reorg

Modified Paths:
--------------
    trunk/dports/graphics/libpng/Portfile

Modified: trunk/dports/graphics/libpng/Portfile
===================================================================
--- trunk/dports/graphics/libpng/Portfile	2011-07-01 08:30:23 UTC (rev 79982)
+++ trunk/dports/graphics/libpng/Portfile	2011-07-01 08:34:23 UTC (rev 79983)
@@ -6,13 +6,14 @@
 
 name                    libpng
 version                 1.4.7
+set branch              [join [lrange [split ${version} .] 0 1] ""]
 categories              graphics
 maintainers             ryandesign waqar
 license                 libpng
 platforms               darwin openbsd freebsd sunos linux
 homepage                http://www.libpng.org/pub/png/libpng.html
+master_sites            sourceforge:project/${name}/${name}${branch}/${version}
 use_bzip2               yes
-master_sites            sourceforge
 
 description             Library for manipulating PNG images
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110701/57526f18/attachment.html>


More information about the macports-changes mailing list