[123377] trunk/dports/irc/znc/Portfile

mfeiri at macports.org mfeiri at macports.org
Fri Aug 8 15:13:43 PDT 2014


Revision: 123377
          https://trac.macports.org/changeset/123377
Author:   mfeiri at macports.org
Date:     2014-08-08 15:13:43 -0700 (Fri, 08 Aug 2014)
Log Message:
-----------
znc: update to 1.4 (#44373) and introduce python variants (#43440)

Modified Paths:
--------------
    trunk/dports/irc/znc/Portfile

Modified: trunk/dports/irc/znc/Portfile
===================================================================
--- trunk/dports/irc/znc/Portfile	2014-08-08 22:05:31 UTC (rev 123376)
+++ trunk/dports/irc/znc/Portfile	2014-08-08 22:13:43 UTC (rev 123377)
@@ -4,7 +4,7 @@
 PortSystem 1.0
 
 name                znc
-version             1.2
+version             1.4
 categories          irc
 platforms           darwin
 maintainers         mfeiri openmaintainer
@@ -18,19 +18,28 @@
 
 homepage            http://znc.in/
 master_sites        ${homepage}releases/old/
-checksums           sha1    69a05702d2db8329ed323e9f74408260ea82c0eb \
-                    rmd160  b7771437361f76ebe0bd7eebd00e221f0c2a4aa5
+checksums           sha1    6dafcf12b15fdb95eac5b427c8507c1095e904b4 \
+                    rmd160  46bba46d76f75efccde11a9addf4dfe67bc18032
 
 universal_variant   no
 patchfiles          patch-modules-modperl.cpp.diff
 depends_lib         port:openssl port:tcl port:perl5
-configure.args      --enable-perl --enable-tcl --with-tcl=${prefix}/lib
+configure.args      --enable-perl --enable-tcl --with-tcl=${prefix}/lib --disable-python
 
-post-extract {
-    reinplace "s|-Wno-type-limits||g" ${worksrcpath}/modules/modperl/Makefile.inc
-    reinplace "s|-Wno-strict-overflow||g" ${worksrcpath}/modules/modperl/Makefile.inc
+variant python33 description "Enable Python modules, using python33" conflicts python34 {
+    compiler.blacklist-append { clang <= 503.0.38  }
+    configure.args-replace --disable-python --enable-python
+    depends_lib-append port:python33
+    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig/
 }
 
+variant python34 description "Enable Python modules, using python34" conflicts python33 {
+    compiler.blacklist-append { clang <= 503.0.38  }
+    configure.args-replace --disable-python --enable-python
+    depends_lib-append port:python34
+    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig/
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}releases/
 livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140808/d3769bc3/attachment-0001.html>


More information about the macports-changes mailing list