[26554] trunk/dports/www/midgard-core/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jun 28 02:27:24 PDT 2007
Revision: 26554
http://trac.macosforge.org/projects/macports/changeset/26554
Author: jwa at macports.org
Date: 2007-06-28 02:27:23 -0700 (Thu, 28 Jun 2007)
Log Message:
-----------
adding livecheck, whitespace changes
Modified Paths:
--------------
trunk/dports/www/midgard-core/Portfile
Modified: trunk/dports/www/midgard-core/Portfile
===================================================================
--- trunk/dports/www/midgard-core/Portfile 2007-06-28 08:29:05 UTC (rev 26553)
+++ trunk/dports/www/midgard-core/Portfile 2007-06-28 09:27:23 UTC (rev 26554)
@@ -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,34 +16,38 @@
use_bzip2 yes
checksums sha1 c57612ddadba5e7bbe7e431578464ad261fe5877
depends_lib port:expat \
- port:gettext \
- port:glib2 \
- port:libiconv \
- port:libxml2 \
- port:mysql5 \
- port:openssl \
- port:zlib
+ port:gettext \
+ port:glib2 \
+ port:libiconv \
+ port:libxml2 \
+ port:mysql5 \
+ port:openssl \
+ port:zlib
configure.args --sysconfdir=${prefix}/etc/midgard/ \
- --with-expat=${prefix} \
- --with-mysql-config=mysql_config5 \
- --with-iconv=${prefix}
+ --with-expat=${prefix} \
+ --with-mysql-config=mysql_config5 \
+ --with-iconv=${prefix}
post-destroot {
- reinplace "s;${workpath}/mysql5/lib;${prefix}/lib/mysql5;" ${destroot}${prefix}/bin/midgard-config
- reinplace "s;${workpath}/mysql5/include;${prefix}/include/mysql5;" ${destroot}${prefix}/bin/midgard-config
+ reinplace "s;${workpath}/mysql5/lib;${prefix}/lib/mysql5;" ${destroot}${prefix}/bin/midgard-config
+ reinplace "s;${workpath}/mysql5/include;${prefix}/include/mysql5;" ${destroot}${prefix}/bin/midgard-config
}
variant check {
- depends_lib-append port:check
- configure.args-append --with-check=${prefix}
+ depends_lib-append port:check
+ configure.args-append --with-check=${prefix}
}
post-install {
- ui_msg "NB! The other parts of the package are:"
- ui_msg "midgard-apache2, midgard-php4 and midgard-data"
+ ui_msg "NB! The other parts of the package are:"
+ ui_msg "midgard-apache2, midgard-php4 and midgard-data"
}
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/7c46e9a6/attachment.html
More information about the macports-changes
mailing list