diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-04-12 07:55:42 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-04-12 07:55:42 +0000 |
commit | 658fe50ea84d4cc093f73dde087298c5a2578ca3 (patch) | |
tree | 11b3ae2f3e12dcc11586b4af93af73f7412f1709 /www/mod_roaming2 | |
parent | 853ebd9e7b916e51e8666326db9c137f19f6cce8 (diff) | |
download | ports-658fe50ea84d4cc093f73dde087298c5a2578ca3.tar.gz ports-658fe50ea84d4cc093f73dde087298c5a2578ca3.zip |
Notes
Diffstat (limited to 'www/mod_roaming2')
-rw-r--r-- | www/mod_roaming2/Makefile | 23 | ||||
-rw-r--r-- | www/mod_roaming2/pkg-plist | 7 |
2 files changed, 17 insertions, 13 deletions
diff --git a/www/mod_roaming2/Makefile b/www/mod_roaming2/Makefile index 0a74d45819f5..2f3f6d6ab6da 100644 --- a/www/mod_roaming2/Makefile +++ b/www/mod_roaming2/Makefile @@ -9,6 +9,7 @@ PORTNAME= mod_roaming2 PORTVERSION= 2.0b1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.klomp.org/mod_roaming/ DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} @@ -16,24 +17,20 @@ DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} MAINTAINER= pgollucci@FreeBSD.org COMMENT= An Apache module that works as a Netscape Roaming Access server -USE_APACHE= 20 +USE_APACHE= 2.0+ +AP_FAST_BUILD= yes +AP_GENPLIST= yes +MODULENAME= ${PORTNAME:S/2$//} -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/2$//} PORTDOCS= CHANGES INSTALL LICENSE README -PLIST_FILES= etc/apache2/httpd.conf.mod_roaming \ - libexec/apache2/mod_roaming.so +PLIST_FILES= ${APACHEETCDIR}/httpd.conf.mod_roaming -do-build: - @cd ${WRKSRC} && \ - ${APXS} -c mod_roaming.c - -do-install: - ${APXS} -i -n roaming ${WRKSRC}/mod_roaming.la - ${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME:S/2$//} ${PREFIX}/etc/apache2/ +post-install: + ${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME:S/2$//} ${LOCALBASE}/${APACHEETCDIR}/ .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/ .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ .endfor .endif @${CAT} ${PKGMESSAGE} diff --git a/www/mod_roaming2/pkg-plist b/www/mod_roaming2/pkg-plist new file mode 100644 index 000000000000..c7fd6b1dc460 --- /dev/null +++ b/www/mod_roaming2/pkg-plist @@ -0,0 +1,7 @@ +etc/apache2/httpd.conf.mod_roaming +libexec/apache2/mod_roaming.so +%%PORTDOCS%%share/doc/mod_roaming/CHANGES +%%PORTDOCS%%share/doc/mod_roaming/INSTALL +%%PORTDOCS%%share/doc/mod_roaming/LICENSE +%%PORTDOCS%%share/doc/mod_roaming/README +%%PORTDOCS%%@dirrm share/doc/mod_roaming |