diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2006-02-22 00:49:07 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2006-02-22 00:49:07 +0000 |
commit | 987f42356c937eba1ebd01f2d61488943266e285 (patch) | |
tree | 17f561326479043b1ba6289e486d47f43475301a /www | |
parent | dc997b42a5d9fc99f14319d4c262208f91ec7800 (diff) | |
download | ports-987f42356c937eba1ebd01f2d61488943266e285.tar.gz ports-987f42356c937eba1ebd01f2d61488943266e285.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/drupal-pubcookie/Makefile | 68 |
1 files changed, 5 insertions, 63 deletions
diff --git a/www/drupal-pubcookie/Makefile b/www/drupal-pubcookie/Makefile index a0ac9577abec..fd92f3880b7f 100644 --- a/www/drupal-pubcookie/Makefile +++ b/www/drupal-pubcookie/Makefile @@ -6,80 +6,22 @@ # PORTNAME= pubcookie -PORTVERSION= 4.6.0 +DISTVERSION= ${DRUPAL_VERSION} PORTREVISION= 20060210 CATEGORIES= www security -MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks -PKGNAMEPREFIX= drupal- -DIST_SUBDIR= drupal MAINTAINER= brooks@FreeBSD.org COMMENT= Pubcookie user authentication for the Drupal CMS -RUN_DEPENDS= ${LOCALBASE}/${DRUPDIR}/index.php:${PORTSDIR}/www/drupal RUN_DEPENDS= ${LOCALBASE}/pubcookie/keyclient:${PORTSDIR}/www/mod_pubcookie USE_PHP= ldap -NO_BUILD= yes - -DOCSDIR= ${PREFIX}/${DRUPDIR}/doc/${PORTNAME} -DRUPMODDIR= ${DRUPDIR}/modules - -WRKSRC= ${WRKDIR}/${PORTNAME} +DRUPAL_MODULE= yes MODULE_FILES= pubcookie.module DOC_FILES= LICENSE.txt README.txt -.if defined(MODULE_CONF_FILES) -SUB_FILES= pkg-install -SUB_LIST+= CONF_FILES=${MODULE_CONF_FILES:C|^|${DRUPMODDIR}/|} \ - CONF_DIRS=${MODULE_CONF_DIRS:C|^|${DRUPMODDIR}/|} -PKGINSTALL= ${WRKDIR}/pkg-install -PKGDEINSTALL= ${PKGINSTALL} -.endif - -PLIST_SUB+= DRUPMODDIR=${DRUPMODDIR} -PLIST_FILES+= ${MODULE_FILES:C|^|%%DRUPMODDIR%%/|} -PLIST_FILES+= ${MODULE_CONF_FILES:C|^|%%DRUPMODDIR%%/|:C|$|-dist|} -PLIST_DIRS+= ${MODULE_DIRS:C|^|%%DRUPMODDIR%%/|} -.if !defined(NOPORTDOCS) -PLIST_FILES+= ${DOC_FILES:C|^|%%DOCSDIR%%/|} -PLIST_DIRS+= %%DOCSDIR%% -.endif - -.if !defined(DRUPDIR) -pre-fetch: - @${ECHO_MSG} "" - @${ECHO_MSG} "Define DRUPDIR to override default of 'www/drupal'." - @${ECHO_MSG} "" -.endif - -DRUPDIR?= www/drupal - -do-install: -.if defined(MODULE_CONF_DIRS) - @${MKDIR} ${MODULE_CONF_DIRS:C|^|${PREFIX}/${DRUPMODDIR}/|} -.endif -.if defined(MODULE_DIRS) - @${MKDIR} ${MODULE_DIRS:C|^|${PREFIX}/${DRUPMODDIR}/|} -.endif -.for f in ${MODULE_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPMODDIR}/${f} -.endfor -.for f in ${MODULE_CONF_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPMODDIR}/${f}-dist -.endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for f in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f} -.endfor -.endif - -.if defined(MODULE_CONF_FILES) -post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif - -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/www/drupal/bsd.drupal.mk" +.include <bsd.port.post.mk> |