[26556] trunk/dports/www/midgard-php4/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 28 02:33:45 PDT 2007


Revision: 26556
          http://trac.macosforge.org/projects/macports/changeset/26556
Author:   jwa at macports.org
Date:     2007-06-28 02:33:45 -0700 (Thu, 28 Jun 2007)

Log Message:
-----------
adding livecheck, whitespace changes

Modified Paths:
--------------
    trunk/dports/www/midgard-php4/Portfile

Modified: trunk/dports/www/midgard-php4/Portfile
===================================================================
--- trunk/dports/www/midgard-php4/Portfile	2007-06-28 09:29:42 UTC (rev 26555)
+++ trunk/dports/www/midgard-php4/Portfile	2007-06-28 09:33:45 UTC (rev 26556)
@@ -7,7 +7,7 @@
 maintainers	jwa
 description	A content management system
 long_description Midgard is a content management system platform using \
-		 Apache, PHP and MySQL.
+    Apache, PHP and MySQL.
 platforms	darwin
 homepage	http://www.midgard-project.org/
 
@@ -16,29 +16,33 @@
 use_bzip2	yes
 checksums	sha1 f524ebaf74f5c74d9ff9793afd5aaa4907649f1c
 depends_lib	port:midgard-core\
-		port:php5
+    port:php5
 
 pre-configure	{ 
-	cd ${worksrcpath}
-	system "phpize"
+    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
+    --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 "================================================================"
+    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 "================================================================"
 }
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+    configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
 }
+
+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/20070628/7b0d3178/attachment.html


More information about the macports-changes mailing list