diff options
author | rafan <rafan@FreeBSD.org> | 2007-03-25 17:42:17 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-03-25 17:42:17 +0800 |
commit | 76c31e5e85f1caaad16f9d0ac87055d0a8fa4a49 (patch) | |
tree | 94b95df8d8d16bd301d8a36896bcdbc820d67a84 /www/drupal7/Makefile | |
parent | eb362ff910a500e33944fd73b6e920dd2738f896 (diff) | |
download | freebsd-ports-gnome-76c31e5e85f1caaad16f9d0ac87055d0a8fa4a49.tar.gz freebsd-ports-gnome-76c31e5e85f1caaad16f9d0ac87055d0a8fa4a49.tar.zst freebsd-ports-gnome-76c31e5e85f1caaad16f9d0ac87055d0a8fa4a49.zip |
- Update to 5.1
PR: ports/110413
Submitted by: Nick Hilliard <nick at foobar.org> (maintainer)
Diffstat (limited to 'www/drupal7/Makefile')
-rw-r--r-- | www/drupal7/Makefile | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile index a4b5e06e7164..566658442145 100644 --- a/www/drupal7/Makefile +++ b/www/drupal7/Makefile @@ -1,22 +1,23 @@ -# New ports collection makefile for: Drupal -# Date Created: 10 Nov 2003 -# Whom: Sebastian Yepes F. <esn@x123.info> +# New ports collection makefile for: drupal5 +# Date Created: 12 Feb 2007 +# Whom: Nick Hilliard <nick@foobar.org> # # $FreeBSD$ # -PORTNAME= drupal -PORTVERSION= 4.7.6 +PORTNAME= drupal5 +PORTVERSION= 5.1 CATEGORIES= www MASTER_SITES= http://ftp.osuosl.org/pub/drupal/files/projects/ +DISTNAME= drupal-${PORTVERSION} DIST_SUBDIR= drupal MAINTAINER= nick@foobar.org -COMMENT= CMS that supports pgsql and mysql +COMMENT= A database driven web content management system (CMS) -DRUPAL_PORT= yes +DRUPAL5_PORT= yes -USE_PHP= gd pcre session xml +USE_PHP= gd pcre session xml mbstring WANT_PHP_WEB= yes OPTIONS+= MYSQL "MySQL database support" on \ @@ -35,18 +36,27 @@ USE_PHP+= mysql .endif .if defined(WITH_PGSQL) RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB +USE_PHP+= pgsql .endif +post-patch: + ${RM} ${WRKSRC}/modules/taxonomy/taxonomy.module.orig + do-install: ${MKDIR} ${DRUPAL_DIR} ${CP} ${WRKSRC}/.htaccess ${DRUPAL_DIR} ${CP} ${WRKSRC}/cron.php ${DRUPAL_DIR} - ${CP} -R ${WRKSRC}/database ${DRUPAL_DIR} + ${MKDIR} ${DRUPAL_DIR}/files ${CP} -R ${WRKSRC}/includes ${DRUPAL_DIR} ${CP} ${WRKSRC}/index.php ${DRUPAL_DIR} + ${CP} ${WRKSRC}/install.php ${DRUPAL_DIR} ${CP} -R ${WRKSRC}/misc ${DRUPAL_DIR} ${CP} -R ${WRKSRC}/modules ${DRUPAL_DIR} + ${CP} -R ${WRKSRC}/profiles ${DRUPAL_DIR} + ${CP} ${WRKSRC}/robots.txt ${DRUPAL_DIR} ${CP} -R ${WRKSRC}/scripts ${DRUPAL_DIR} + ${MKDIR} ${DRUPAL_DIR}/sites/all + ${CP} ${WRKSRC}/sites/all/README.txt ${DRUPAL_DIR}/sites/all/ ${MKDIR} ${DRUPAL_DIR}/sites/default ${CP} ${WRKSRC}/sites/default/settings.php ${DRUPAL_DIR}/sites/default/settings.php-dist @if [ ! -f ${DRUPAL_DIR}/sites/default/settings.php ]; then \ |