aboutsummaryrefslogtreecommitdiff
path: root/www/drupal6
diff options
context:
space:
mode:
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