[40582] trunk/dports/www
jwa at macports.org
jwa at macports.org
Tue Oct 7 09:12:43 PDT 2008
Revision: 40582
http://trac.macports.org/changeset/40582
Author: jwa at macports.org
Date: 2008-10-07 09:12:43 -0700 (Tue, 07 Oct 2008)
Log Message:
-----------
this port replaces midgard-php4, version is here 8.09.0
Added Paths:
-----------
trunk/dports/www/php5-midgard/
trunk/dports/www/php5-midgard/Portfile
Added: trunk/dports/www/php5-midgard/Portfile
===================================================================
--- trunk/dports/www/php5-midgard/Portfile (rev 0)
+++ trunk/dports/www/php5-midgard/Portfile 2008-10-07 16:12:43 UTC (rev 40582)
@@ -0,0 +1,48 @@
+# $Id: Portfile 39424 2008-08-19 15:11:00Z jwa at macports.org $
+
+PortSystem 1.0
+
+name php5-midgard
+version 8.09.0
+categories www
+maintainers jwa
+description A content management system
+long_description Midgard is a content management system platform using \
+ Apache, PHP and MySQL.
+platforms darwin
+homepage http://www.midgard-project.org/
+
+master_sites http://www.midgard-project.org/midcom-serveattachmentguid-f6099bd4946711dd9279f99a4cfc05350535/
+
+use_bzip2 yes
+checksums md5 13528201b200cda15c6d576f503abac5 \
+ sha1 499183e698b4981c2448d6fb81f668f26f4ce31f \
+ rmd160 a7da5a16ad1b26a023b6fa9a89174beab499d397
+
+depends_lib port:midgard-core \
+ port:php5
+
+pre-configure {
+ cd ${worksrcpath}
+ system "phpize"
+}
+
+configure.args --sysconfdir=${prefix}/etc/midgard/ \
+ --with-apxs=${prefix}/apache2/bin/apxs \
+ --with-apr-config=${prefix}/bin/apr-1-config \
+ --with-php-config=${prefix}/bin/php-config
+
+destroot.destdir INSTALL_ROOT=${destroot}
+
+post-install {
+ ui_msg "======================== IMPORTANT ========================="
+ ui_msg "If this is the first time you're installing Midgard, or you have"
+ ui_msg "recently upgraded PHP, make sure to check your php.ini to verify"
+ ui_msg "that extension_dir at least includes"
+ system "php-config --extension-dir"
+ ui_msg "================================================================"
+}
+
+livecheck.check regex
+livecheck.url ${homepage}download
+livecheck.regex ${name}-(1.\[0-9\]+.\[0-9\]+).tar.bz2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081007/a744016c/attachment-0001.html
More information about the macports-changes
mailing list