[99136] trunk/dports/devel/zmq/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Oct 27 18:37:13 PDT 2012


Revision: 99136
          http://trac.macports.org//changeset/99136
Author:   ryandesign at macports.org
Date:     2012-10-27 18:37:13 -0700 (Sat, 27 Oct 2012)
Log Message:
-----------
zmq: avoid having to hardcode part of the version number in the distname

Modified Paths:
--------------
    trunk/dports/devel/zmq/Portfile

Modified: trunk/dports/devel/zmq/Portfile
===================================================================
--- trunk/dports/devel/zmq/Portfile	2012-10-28 01:25:18 UTC (rev 99135)
+++ trunk/dports/devel/zmq/Portfile	2012-10-28 01:37:13 UTC (rev 99136)
@@ -23,8 +23,8 @@
 homepage            http://www.zeromq.org/
 master_sites        http://download.zeromq.org/
 
-distname            zeromq-3.2.1
-distfiles           zeromq-${version}.tar.gz
+distname            zeromq-${version}
+worksrcdir          zeromq-[strsed ${version} {g/[^0-9.].*$//}]
 
 checksums           rmd160  cd8846e7e2dac4ce9b0ba13a49568d59377c4203 \
                     sha256  b0a70da77e39537120a1fa058c49434982741ecef5211edcd7aeab4caffb82b7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121027/8a1ea950/attachment.html>


More information about the macports-changes mailing list