aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-05-08 23:40:26 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-05-08 23:40:26 +0800
commitb05fbfb6286f8fbf5284a235d9ed5d6e7ee48906 (patch)
tree4845ba9796e6f4dc73ba733a7c182913ba792e86
parentd685593f0ed932df73331cb284681f4c769a6812 (diff)
downloadfreebsd-ports-gnome-b05fbfb6286f8fbf5284a235d9ed5d6e7ee48906.tar.gz
freebsd-ports-gnome-b05fbfb6286f8fbf5284a235d9ed5d6e7ee48906.tar.zst
freebsd-ports-gnome-b05fbfb6286f8fbf5284a235d9ed5d6e7ee48906.zip
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST - Handle NO* correctly - Bump PORTREVISION PR: ports/133643 Approved by: maintainer timeout (30 days) Submitted by: me
-rw-r--r--www/mod_auth_external/Makefile27
-rw-r--r--www/mod_auth_external/pkg-plist30
2 files changed, 16 insertions, 41 deletions
diff --git a/www/mod_auth_external/Makefile b/www/mod_auth_external/Makefile
index ea52c74d1ad3..56a8774afa09 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>
diff --git a/www/mod_auth_external/pkg-plist b/www/mod_auth_external/pkg-plist
deleted file mode 100644
index a8bb1e381426..000000000000
--- a/www/mod_auth_external/pkg-plist
+++ /dev/null
@@ -1,30 +0,0 @@
-libexec/apache/mod_auth_external.so
-@exec %D/sbin/apxs -e -A -n auth_external %D/%F
-@unexec %D/sbin/apxs -e -A -n auth_external %D/%F
-%%PORTDOCS%%%%DOCSDIR%%/examples/mysql/mysql-auth.pl
-%%PORTDOCS%%%%DOCSDIR%%/examples/mysql/README
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/md5-radius.c
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/md5-radius.h
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/mod-radfuncs.c
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/mod-radius.h
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/mod_auth_external_radius.c
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/README
-%%PORTDOCS%%%%DOCSDIR%%/examples/sybase/mod_auth_external_sybase.c
-%%PORTDOCS%%%%DOCSDIR%%/examples/sybase/README
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/test.pipe
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/test.env
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/testgroup.env
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/testgroup.pipe
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/README
-%%PORTDOCS%%%%DOCSDIR%%/AUTHENTICATORS
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/mysql
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/radius
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/sybase
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/test
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
-%%PORTDOCS%%@dirrm %%DOCSDIR%%