diff options
Diffstat (limited to 'www/mod_auth_external/Makefile')
-rw-r--r-- | www/mod_auth_external/Makefile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/www/mod_auth_external/Makefile b/www/mod_auth_external/Makefile index ea52c74d1ad..56a8774afa0 100644 --- a/www/mod_auth_external/Makefile +++ b/www/mod_auth_external/Makefile @@ -7,6 +7,7 @@ PORTNAME= mod_auth_external PORTVERSION= 2.1.19 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.unixpapa.com/software/ \ ftp://ftp.nuug.no/pub/anders/distfiles/ @@ -14,24 +15,28 @@ MASTER_SITES= http://www.unixpapa.com/software/ \ MAINTAINER= anders@FreeBSD.org COMMENT= Enables the use of external mechanisms for user authentication -USE_APACHE= yes -DOCS= AUTHENTICATORS CHANGES INSTALL README TODO - CONFLICTS= apache-contrib-1.* -do-build: - @cd ${WRKSRC} && ${APXS} -c mod_auth_external.c +USE_APACHE= 1.3 +AP_FAST_BUILD= yes +AP_GENPLIST= yes + +PORTDOCS= AUTHENTICATORS CHANGES INSTALL README TODO +PORTEXAMPLES= mysql radius sybase test -do-install: - ${APXS} -i -A -n auth_external ${WRKSRC}/mod_auth_external.so +post-install: .if !defined(NOPORTDOCS) - ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/examples - cd ${WRKSRC} && ${TAR} -chf - mysql radius sybase test \ - | ${TAR} -xf - -C ${DOCSDIR}/examples -.for f in ${DOCS} + ${MKDIR} ${DOCSDIR}/ +.for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ .endfor .endif +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR}/ +.for d in ${PORTEXAMPLES} + ${COPYTREE_SHARE} ${WRKSRC}/${d} ${EXAMPLESDIR}/${d} +.endfor +.endif ${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |