[77781] trunk/dports/www

and.damore at macports.org and.damore at macports.org
Tue Apr 12 07:41:12 PDT 2011


Revision: 77781
          http://trac.macports.org/changeset/77781
Author:   and.damore at macports.org
Date:     2011-04-12 07:41:12 -0700 (Tue, 12 Apr 2011)
Log Message:
-----------
new port drupal7, closed #27322

Added Paths:
-----------
    trunk/dports/www/drupal7/
    trunk/dports/www/drupal7/Portfile

Added: trunk/dports/www/drupal7/Portfile
===================================================================
--- trunk/dports/www/drupal7/Portfile	                        (rev 0)
+++ trunk/dports/www/drupal7/Portfile	2011-04-12 14:41:12 UTC (rev 77781)
@@ -0,0 +1,59 @@
+# $Id$
+PortSystem          1.0
+name                drupal7
+version             7.0
+categories          www php
+platforms           darwin
+
+maintainers         acm.org:c_dantonio
+description         Drupal Open Source enterprise content management platform
+long_description    Drupal is Open Source social publishing software that \
+    empowers individuals, teams, and communities to easily publish, manage and \
+    organize a wide variety of content on a website. Tens of thousands of \
+    people and organizations have used Drupal to power scores of different web \
+    sites, including community web portals, corporate web sites, social \
+    networking sites, personal web sites or blogs, and much more.
+                    
+homepage            http://drupal.org
+distname            drupal-${version}
+master_sites        http://ftp.drupal.org/files/projects/ \
+                    http://ftp.osuosl.org/pub/drupal/files/projects/
+checksums           md5     e96c0a5e47c5d7706897384069dfb920 \
+                    sha1    124911c7de07b5acd1f801c4a7093440a0e0e3d3 \
+                    rmd160  fd27d5f4b826fb818d6b35754b2ea6b548445369
+depends_lib         port:apache2 \
+                    port:php52 \
+                    path:bin/mysql_config5:mysql5
+
+variant apache1 description "use apache 1.x instead of apache 2.x" {
+  depends_lib-append      port:apache
+  depends_lib-delete      port:apache2
+}
+
+variant sqlite conflicts postgresql postgresql83 description "use sqlite instead of mysql5" {
+  depends_lib-append      port:php5-sqlite
+  depends_lib-delete      path:bin/mysql_config5:mysql5
+}
+
+variant postgresql conflicts sqlite postgresql83 description "use postgresql as the drupal database" {
+  depends_lib-append      port:postgresql84
+  depends_lib-delete      path:bin/mysql_config5:mysql5
+}
+
+variant postgresql83 conflicts sqlite postgresql description "use postgresql83 as the drupal database" {
+  depends_lib-append      port:postgresql83
+  depends_lib-delete      path:bin/mysql_config5:mysql5
+}
+
+worksrcdir          drupal-${version}
+use_configure       no
+build               {}
+
+set docroot ${destroot}${prefix}/www/data
+
+destroot {
+  xinstall -d -m 0755 ${docroot}/drupal7
+  eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal7
+  eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal7
+}
+


Property changes on: trunk/dports/www/drupal7/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110412/e787e40c/attachment.html>


More information about the macports-changes mailing list