diff options
Diffstat (limited to 'www/mod_cfg_ldap/Makefile')
-rw-r--r-- | www/mod_cfg_ldap/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/www/mod_cfg_ldap/Makefile b/www/mod_cfg_ldap/Makefile index 454ccf1c1998..79a5380d433a 100644 --- a/www/mod_cfg_ldap/Makefile +++ b/www/mod_cfg_ldap/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mod_cfg_ldap -PORTVERSION= 1.0 +PORTVERSION= 1.2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME:S/_//g} @@ -15,22 +15,23 @@ DIST_SUBDIR= apache2 MAINTAINER= apache@FreeBSD.org COMMENT= Allows you to keep your virtual host configuration in a LDAP directory -USE_APACHE= YES -WITH_APACHE2= YES +WANT_APACHE= 2 USE_OPENLDAP= YES +AP_FAST_BUILD= YES +AP_GENPLIST= YES -APXS?= ${LOCALBASE}/sbin/apxs LDAP_INC?= ${LOCALBASE}/include LDAP_LIB?= ${LOCALBASE}/lib -lldap +AP_INC+= ${LDAP_INC} +AP_LIB+= ${LDAP_LIB} PORTDOCS= AUTHORS cfg_ldap.conf ChangeLog COPYING INSTALL \ mod_cfg_ldap.schema README TODO -do-build: - @(cd ${WRKSRC} && ${APXS} -I ${LDAP_INC} -L ${LDAP_LIB} -c ${PORTNAME}.c) +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd" -do-install: - @(cd ${WRKSRC} && ${APXS} -n ${PORTNAME:S/mod_//} -A -i ${PORTNAME}.la) +post-install: .if !defined (NOPORTDOCS) @${MKDIR} ${DOCSDIR} . for f in ${PORTDOCS} @@ -38,4 +39,4 @@ do-install: . endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |