1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- USE_APACHE=yes is deprecated

- Convert to AP_FAST_BUILD/AP_GENPLIST
- Fix PORTSCOUT var
This commit is contained in:
Philip M. Gollucci 2009-04-12 05:23:41 +00:00
parent aab843dead
commit 441ae98516
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232180
2 changed files with 11 additions and 20 deletions

View File

@ -14,24 +14,22 @@ MASTER_SITES= http://www.klomp.org/mod_roaming/
MAINTAINER= apache@FreeBSD.org
COMMENT= An Apache module that works as a Netscape Roaming Access server
USE_APACHE= yes
DOCS= CHANGES INSTALL LICENSE README
CONFLICTS= apache-contrib-1.*
PORTSCOUT= limit:^1
PORSCOUT= limit:^1
USE_APACHE= 1.3
AP_FAST_BUILD= yes
AP_GENPLIST= yes
PLIST_FILES= ${APACHEETCDIR}/httpd.conf.${PORTNAME}
do-build:
@cd ${WRKSRC} && \
${APXS} -c mod_roaming.c
PORTDOCS= CHANGES INSTALL LICENSE README
do-install:
${APXS} -i -n roaming ${WRKSRC}/mod_roaming.so
${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME} ${PREFIX}/etc/apache/
post-install:
${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME} ${LOCALBASE}/${APACHEETCDIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/
${MKDIR} ${DOCSDIR}/
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
@${CAT} ${PKGMESSAGE}

View File

@ -1,7 +0,0 @@
etc/apache/httpd.conf.mod_roaming
libexec/apache/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