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 /security/drupal4-ldap_integration | |
parent | dc997b42a5d9fc99f14319d4c262208f91ec7800 (diff) | |
download | ports-987f42356c937eba1ebd01f2d61488943266e285.tar.gz ports-987f42356c937eba1ebd01f2d61488943266e285.zip |
Notes
Diffstat (limited to 'security/drupal4-ldap_integration')
-rw-r--r-- | security/drupal4-ldap_integration/Makefile | 70 |
1 files changed, 5 insertions, 65 deletions
diff --git a/security/drupal4-ldap_integration/Makefile b/security/drupal4-ldap_integration/Makefile index 385566c74b27..1b235a4e9869 100644 --- a/security/drupal4-ldap_integration/Makefile +++ b/security/drupal4-ldap_integration/Makefile @@ -6,27 +6,17 @@ # PORTNAME= ldap_integration -DISTVERSION= ${DRUPVERSION} +DISTVERSION= ${DRUPAL_VERSION} PORTREVISION= 20060117 CATEGORIES= security www -MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks -PKGNAMEPREFIX= drupal- -DIST_SUBDIR= drupal MAINTAINER= brooks@FreeBSD.org COMMENT= LDAP user authentication for the Drupal CMS -RUN_DEPENDS= ${LOCALBASE}/${DRUPDIR}/index.php:${PORTSDIR}/www/drupal - USE_PHP= ldap -NO_BUILD= yes - -DOCSDIR= ${PREFIX}/${DRUPDIR}/doc/${PORTNAME} -DRUPMODDIR= ${DRUPDIR}/modules - -WRKSRC= ${WRKDIR}/${PORTNAME} +DRUPAL_MODULE= yes MODULE_FILES= ldap_integration.module \ ldap_integration/LDAPInterface.php \ zcallbacks.module @@ -34,56 +24,6 @@ MODULE_CONF_FILES= ldap_integration/conf.php MODULE_CONF_DIRS= ldap_integration DOC_FILES= CHANGES.txt 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 -DRUPVERSION?= 4.6.0 - -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> |