[50520] trunk/dports/www

jwa at macports.org jwa at macports.org
Sat May 2 07:19:31 PDT 2009


Revision: 50520
          http://trac.macports.org/changeset/50520
Author:   jwa at macports.org
Date:     2009-05-02 07:19:28 -0700 (Sat, 02 May 2009)
Log Message:
-----------
new port Midgard's second major version to provide content repository

Added Paths:
-----------
    trunk/dports/www/midgard2-core/
    trunk/dports/www/midgard2-core/Portfile
    trunk/dports/www/php5-midgard2/
    trunk/dports/www/php5-midgard2/Portfile

Added: trunk/dports/www/midgard2-core/Portfile
===================================================================
--- trunk/dports/www/midgard2-core/Portfile	                        (rev 0)
+++ trunk/dports/www/midgard2-core/Portfile	2009-05-02 14:19:28 UTC (rev 50520)
@@ -0,0 +1,37 @@
+# $Id: Portfile 49571 2009-04-12 12:52:38Z jwa at macports.org $
+
+PortSystem 1.0
+
+name		midgard2-core
+version		9.03.0
+categories	www
+maintainers	jwa
+description	A content repository system
+long_description Midgard is a content repository system platform \
+    with bindings in PHP, Python etc.
+platforms	darwin
+homepage	http://www.midgard-project.org/
+
+master_sites	http://www.midgard-project.org/midcom-serveattachmentguid-04bfc79a349d11de8fce75943884a55aa55a/
+
+#use_bzip2	yes
+checksums           md5     66e342bfc448b9e71ad3ed8013a2239f \
+                    sha1    cd4cfb375cfe6e3722fce7509a3d8733f94f4fa6 \
+                    rmd160  d806dc6c3aa55e5fce5baae2ee19f86ca33b3e1f
+
+depends_lib    port:glib2 \
+    port:dbus \
+    port:libxml2 \
+    port:libgda3
+
+configure.args	--sysconfdir=${prefix}/etc/midgard/ \
+    --with-dbus-support
+
+post-install	{
+    ui_msg "NB! The other parts of the package are:"
+    ui_msg "php5-midgard2, and python bindings for 2.5/2.6"
+}
+
+livecheck.check	regex
+livecheck.url	${homepage}download
+livecheck.regex	${name}-(\[1-9\]+.\[0-9\]+.\[0-9\]+).tar.\[bg\]z

Added: trunk/dports/www/php5-midgard2/Portfile
===================================================================
--- trunk/dports/www/php5-midgard2/Portfile	                        (rev 0)
+++ trunk/dports/www/php5-midgard2/Portfile	2009-05-02 14:19:28 UTC (rev 50520)
@@ -0,0 +1,47 @@
+# $Id: Portfile 50478 2009-05-01 14:18:38Z jwa at macports.org $
+
+PortSystem 1.0
+
+name		php5-midgard2
+version		9.03.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-f81d4896349c11deb45bcbc6657b90569056/
+
+#use_bzip2	yes
+checksums           md5     885447a4e9eb24c713cfe0fe4d223f34 \
+                    sha1    4ad83380a4a31c2a4833784a62ac8e03f5747e25 \
+                    rmd160  9c8d64305f061854c812c506cc445d7917763632
+
+depends_lib	port:midgard2-core \
+    port:php5
+
+pre-configure	{
+    system "cd ${worksrcpath} && 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-9\]+.\[0-9\]+.\[0-9\]+).tar.\[bg\]z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090502/72de54fe/attachment.html>


More information about the macports-changes mailing list