[99320] trunk/dports/php/php-midgard2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Oct 31 20:14:40 PDT 2012
Revision: 99320
http://trac.macports.org//changeset/99320
Author: ryandesign at macports.org
Date: 2012-10-31 20:14:40 -0700 (Wed, 31 Oct 2012)
Log Message:
-----------
php-midgard2: add pkgconfig dependency; add dependencies and configure args only in subports
Modified Paths:
--------------
trunk/dports/php/php-midgard2/Portfile
Modified: trunk/dports/php/php-midgard2/Portfile
===================================================================
--- trunk/dports/php/php-midgard2/Portfile 2012-11-01 02:43:55 UTC (rev 99319)
+++ trunk/dports/php/php-midgard2/Portfile 2012-11-01 03:14:40 UTC (rev 99320)
@@ -25,10 +25,14 @@
checksums rmd160 30180ca78719f01946b63e112fce5768e8373752 \
sha256 b88962c95a92c1b08bc147b0bacc69987e6b00ca2ea54575933ecbd53bc3491f
-depends_lib-append port:midgard2-core
+if {${name} != ${subport}} {
+ depends_build-append port:pkgconfig
-configure.args-append --sysconfdir=${prefix}/etc/midgard/
+ depends_lib-append port:midgard2-core
+ configure.args-append --sysconfdir=${prefix}/etc/midgard/
+}
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex php5-midgard2-(\[0-9.\]+)\\.tar\\.\[bg\]z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121031/14309738/attachment.html>
More information about the macports-changes
mailing list