aboutsummaryrefslogtreecommitdiff
path: root/www/drupal6
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-04-03 06:13:00 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-04-03 06:13:00 +0000
commit2fbee4247317dff008bee7575be22fa127a294bb (patch)
treeca6a70310b17732a1edc7077682d367de50a5ba9 /www/drupal6
parent44efdcf2118a5337d68a96afe641c4d66132e8af (diff)
downloadports-2fbee4247317dff008bee7575be22fa127a294bb.tar.gz
ports-2fbee4247317dff008bee7575be22fa127a294bb.zip
Notes
Diffstat (limited to 'www/drupal6')
-rw-r--r--www/drupal6/Makefile6
-rw-r--r--www/drupal6/pkg-plist2
2 files changed, 5 insertions, 3 deletions
diff --git a/www/drupal6/Makefile b/www/drupal6/Makefile
index 6c0555ef14b4..b1ac113bf8e9 100644
--- a/www/drupal6/Makefile
+++ b/www/drupal6/Makefile
@@ -7,7 +7,7 @@
PORTNAME= drupal5
PORTVERSION= 5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://ftp.osuosl.org/pub/drupal/files/projects/
DISTNAME= drupal-${PORTVERSION}
@@ -63,11 +63,11 @@ do-install:
@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
- ${MKDIR} ${DRUPAL_DIR}/sites/all/modules
- ${MKDIR} ${DRUPAL_DIR}/sites/all/themes
${CP} -R ${WRKSRC}/themes ${DRUPAL_DIR}
${CP} ${WRKSRC}/update.php ${DRUPAL_DIR}
${CP} ${WRKSRC}/xmlrpc.php ${DRUPAL_DIR}
+ ${MKDIR} ${DRUPAL_DIR}/sites/all/modules ${DRUPAL_DIR}/sites/all/themes
+ ${TOUCH} ${DRUPAL_DIR}/sites/all/modules/.keepme ${DRUPAL_DIR}/sites/all/themes/.keepme
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
diff --git a/www/drupal6/pkg-plist b/www/drupal6/pkg-plist
index 2f9aa7018da0..1c57c99121b5 100644
--- a/www/drupal6/pkg-plist
+++ b/www/drupal6/pkg-plist
@@ -180,6 +180,8 @@
%%DRUPAL_BASE%%/scripts/cron-curl.sh
%%DRUPAL_BASE%%/scripts/cron-lynx.sh
%%DRUPAL_BASE%%/sites/all/README.txt
+%%DRUPAL_BASE%%/sites/all/modules/.keepme
+%%DRUPAL_BASE%%/sites/all/themes/.keepme
%%DRUPAL_BASE%%/sites/default/settings.php
%%DRUPAL_BASE%%/sites/default/settings.php-dist
%%DRUPAL_BASE%%/themes/bluemarine/block.tpl.php