- Keep modules and themes directory there

PR:		ports/111138
Submitted by:	Nick Hilliard <nick at foobar.org> (maintainer)
This commit is contained in:
Rong-En Fan 2007-04-03 06:13:00 +00:00
parent 44efdcf211
commit 2fbee42473
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189071
6 changed files with 15 additions and 9 deletions

View file

@ -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}

View file

@ -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

View file

@ -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}

View file

@ -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

View file

@ -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}

View file

@ -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