diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-27 13:38:47 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-27 13:38:47 +0000 |
commit | c5671f5d138333bb284a1b9734351ebcb1fe6cb4 (patch) | |
tree | 1ff87391d9aec10507aa1770c2fdddbf421c40f0 /Mk | |
parent | In 1.0rc3, they have changed ~/.fluxbox/startup from 755 to 644 that has (diff) |
- Fix build with drupal modules
- Bump PORTREVISION
PR 110864
Submitted by: Nick Hilliard <nick@foobar.org> (maintainer)
Notes
Notes:
svn path=/head/; revision=188546
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.drupal.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Mk/bsd.drupal.mk b/Mk/bsd.drupal.mk index 1c7f2d067ea4..7b21447ce184 100644 --- a/Mk/bsd.drupal.mk +++ b/Mk/bsd.drupal.mk @@ -41,7 +41,6 @@ DOCSDIR?= ${DRUPAL_DOCSDIR} .if defined(DRUPAL_MODULE) .if defined(DRUPAL4_MODULE) -RUN_DEPENDS+= ${LOCALBASE}/${DRUPAL_BASE}/index.php:${PORTSDIR}/www/drupal4 PKGNAMEPREFIX= drupal4- DRUPAL_VERSION?= 4.7.0 .if defined(DRUPAL_MODSUBDIR) @@ -52,7 +51,6 @@ DRUPAL_MODDIR?= ${DRUPAL_BASE}/modules .endif .if defined(DRUPAL5_MODULE) -RUN_DEPENDS+= ${LOCALBASE}/${DRUPAL_BASE}/index.php:${PORTSDIR}/www/drupal5 PKGNAMEPREFIX= drupal5- DRUPAL_VERSION?= 5.0 .if defined(DRUPAL_MODSUBDIR) @@ -70,6 +68,7 @@ DIST_SUBDIR= drupal NO_BUILD?= yes WRKSRC?= ${WRKDIR}/${PORTNAME} +RUN_DEPENDS+= ${LOCALBASE}/${DRUPAL_BASE}/index.php:${PORTSDIR}/${DRUPAL_BASE} .if defined(MODULE_CONF_FILES) SUB_FILES= pkg-install @@ -84,6 +83,9 @@ PLIST_SUB+= DRUPAL_MODDIR=${DRUPAL_MODDIR} PLIST_FILES+= ${MODULE_FILES:C|^|%%DRUPAL_MODDIR%%/|} PLIST_FILES+= ${MODULE_CONF_FILES:C|^|%%DRUPAL_MODDIR%%/|:C|$|-dist|} PLIST_DIRS+= ${MODULE_DIRS:C|^|%%DRUPAL_MODDIR%%/|} +.if defined(DRUPAL5_MODULE) +PLIST_DIRS+= ${DRUPAL_MODDIR} +.endif .if defined(DRUPAL_MODSUBDIR) PLIST_DIRS+= ${DRUPAL_MODDIR} .endif @@ -94,6 +96,10 @@ PLIST_DIRS+= %%DOCSDIR%% .endif do-install: +.if defined(DRUPAL5_MODULE) + @${MKDIR} ${DRUPAL_MODDIR:C|^|${PREFIX}/|} + @${CHOWN} ${WWWOWN}:${WWWGRP} ${DRUPAL_MODDIR:C|^|${PREFIX}/|} +.endif .if defined(MODULE_CONF_DIRS) @${MKDIR} ${MODULE_CONF_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|} @${CHOWN} ${WWWOWN}:${WWWGRP} ${MODULE_CONF_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|} |