[26555] trunk/dports/www/midgard-apache2/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 28 02:29:43 PDT 2007


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

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

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

Modified: trunk/dports/www/midgard-apache2/Portfile
===================================================================
--- trunk/dports/www/midgard-apache2/Portfile	2007-06-28 09:27:23 UTC (rev 26554)
+++ trunk/dports/www/midgard-apache2/Portfile	2007-06-28 09:29:42 UTC (rev 26555)
@@ -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,18 +16,18 @@
 use_bzip2	yes
 checksums	sha1 c97ce50963c208398fe82c734875322980754e23
 depends_lib	port:midgard-core\
-		port:apache2\
-		port:apr\
-		port:apr-util
+    port:apache2\
+    port:apr\
+    port:apr-util
 
 configure.args	--sysconfdir=${prefix}/etc/midgard/ \
-		--with-apxs=${prefix}/apache2/bin/apxs\
-		--with-apr-config=${prefix}/bin/apr-1-config
+    --with-apxs=${prefix}/apache2/bin/apxs\
+    --with-apr-config=${prefix}/bin/apr-1-config
 
 pre-destroot {
-	file mkdir ${destroot}${prefix}/apache2
-	file mkdir ${destroot}${prefix}/apache2/conf/extra
-	file mkdir ${destroot}${prefix}/apache2/modules
+    file mkdir ${destroot}${prefix}/apache2
+    file mkdir ${destroot}${prefix}/apache2/conf/extra
+    file mkdir ${destroot}${prefix}/apache2/modules
 }
 
 #post-destroot	{
@@ -35,20 +35,24 @@
 #}
 
 post-install {
-	ui_msg "========================   IMPORTANT   ========================="
-	ui_msg "Make sure the following exist in ${prefix}/apache2/conf/httpd.conf"
-	ui_msg "In DSO Support section, i.e. LoadModule section"
-	ui_msg "  LoadModule php5_module modules/libphp5.so"
-	ui_msg "DirectoryIndex section"
-	ui_msg "  DirectoryIndex to include index.php index.php5"
-	ui_msg "AddType section"
-	ui_msg "  AddType application/x-httpd-php .php"
-	ui_msg "  AddType application/x-httpd-php-source .phps"
-	ui_msg "In Supplemental configuration, add"
-	ui_msg "  Include conf/extra/midgard.conf"
-	ui_msg "================================================================"
+    ui_msg "========================   IMPORTANT   ========================="
+    ui_msg "Make sure the following exist in ${prefix}/apache2/conf/httpd.conf"
+    ui_msg "In DSO Support section, i.e. LoadModule section"
+    ui_msg "  LoadModule php5_module modules/libphp5.so"
+    ui_msg "DirectoryIndex section"
+    ui_msg "  DirectoryIndex to include index.php index.php5"
+    ui_msg "AddType section"
+    ui_msg "  AddType application/x-httpd-php .php"
+    ui_msg "  AddType application/x-httpd-php-source .phps"
+    ui_msg "In Supplemental configuration, add"
+    ui_msg "  Include conf/extra/midgard.conf"
+    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/701c19cd/attachment.html


More information about the macports-changes mailing list