aboutsummaryrefslogtreecommitdiffstats
path: root/www/drupal/Makefile
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-03-25 18:02:56 +0800
committerrafan <rafan@FreeBSD.org>2007-03-25 18:02:56 +0800
commit53346bc6c311ead077b99b698ded7b8bd39466c5 (patch)
tree4bcdc0a70fb1fd629557145d1ce333afcafff19c /www/drupal/Makefile
parent186e35997cbb5302e4307e389941533846d1f5d1 (diff)
downloadfreebsd-ports-gnome-53346bc6c311ead077b99b698ded7b8bd39466c5.tar.gz
freebsd-ports-gnome-53346bc6c311ead077b99b698ded7b8bd39466c5.tar.zst
freebsd-ports-gnome-53346bc6c311ead077b99b698ded7b8bd39466c5.zip
- drupal-* are renamed to drupal4-* for drupal5 ports
Diffstat (limited to 'www/drupal/Makefile')
-rw-r--r--www/drupal/Makefile68
1 files changed, 0 insertions, 68 deletions
diff --git a/www/drupal/Makefile b/www/drupal/Makefile
deleted file mode 100644
index a4b5e06e7164..000000000000
--- a/www/drupal/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-# New ports collection makefile for: Drupal
-# Date Created: 10 Nov 2003
-# Whom: Sebastian Yepes F. <esn@x123.info>
-#
-# $FreeBSD$
-#
-
-PORTNAME= drupal
-PORTVERSION= 4.7.6
-CATEGORIES= www
-MASTER_SITES= http://ftp.osuosl.org/pub/drupal/files/projects/
-DIST_SUBDIR= drupal
-
-MAINTAINER= nick@foobar.org
-COMMENT= CMS that supports pgsql and mysql
-
-DRUPAL_PORT= yes
-
-USE_PHP= gd pcre session xml
-WANT_PHP_WEB= yes
-
-OPTIONS+= MYSQL "MySQL database support" on \
- PGSQL "PostgreSQL database support" off
-
-NO_BUILD= yes
-DOCS= CHANGELOG.txt INSTALL.txt LICENSE.txt MAINTAINERS.txt \
- UPGRADE.txt INSTALL.mysql.txt INSTALL.pgsql.txt
-SUB_FILES+= pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_MYSQL)
-USE_PHP+= mysql
-.endif
-.if defined(WITH_PGSQL)
-RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
-
-do-install:
- ${MKDIR} ${DRUPAL_DIR}
- ${CP} ${WRKSRC}/.htaccess ${DRUPAL_DIR}
- ${CP} ${WRKSRC}/cron.php ${DRUPAL_DIR}
- ${CP} -R ${WRKSRC}/database ${DRUPAL_DIR}
- ${CP} -R ${WRKSRC}/includes ${DRUPAL_DIR}
- ${CP} ${WRKSRC}/index.php ${DRUPAL_DIR}
- ${CP} -R ${WRKSRC}/misc ${DRUPAL_DIR}
- ${CP} -R ${WRKSRC}/modules ${DRUPAL_DIR}
- ${CP} -R ${WRKSRC}/scripts ${DRUPAL_DIR}
- ${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 \
- ${CP} -p ${DRUPAL_DIR}/sites/default/settings.php-dist ${DRUPAL_DIR}/sites/default/settings.php ; \
- fi
- ${CP} -R ${WRKSRC}/themes ${DRUPAL_DIR}
- ${CP} ${WRKSRC}/update.php ${DRUPAL_DIR}
- ${CP} ${WRKSRC}/xmlrpc.php ${DRUPAL_DIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${CP} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DRUPAL_DIR}
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include "${.CURDIR}/bsd.drupal.mk"
-.include <bsd.port.post.mk>