diff options
author | clement <clement@FreeBSD.org> | 2004-01-10 09:40:50 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-10 09:40:50 +0800 |
commit | 68debbd301f232e9cfd1cd65e85966fa54964616 (patch) | |
tree | 096b819e3c23c2ce39c5ae184cf2e2dc1931713c | |
parent | 277a698bca31bd8f577830313b47811c4e85956b (diff) | |
download | freebsd-ports-gnome-68debbd301f232e9cfd1cd65e85966fa54964616.tar.gz freebsd-ports-gnome-68debbd301f232e9cfd1cd65e85966fa54964616.tar.zst freebsd-ports-gnome-68debbd301f232e9cfd1cd65e85966fa54964616.zip |
- Use PORTDOCS
- cosmetic cleanups
Approved by: erwin (mentor) (implicity)
-rw-r--r-- | www/mod_access_referer/Makefile | 13 | ||||
-rw-r--r-- | www/mod_access_referer/pkg-plist | 7 |
2 files changed, 6 insertions, 14 deletions
diff --git a/www/mod_access_referer/Makefile b/www/mod_access_referer/Makefile index 4373b88b8240..401182bfcfa7 100644 --- a/www/mod_access_referer/Makefile +++ b/www/mod_access_referer/Makefile @@ -15,18 +15,17 @@ MAINTAINER= ports@FreeBSD.org COMMENT= An Apache module that provides access control based on Referer HTTP header USE_APACHE= yes -DOCS= HACKING LICENSE.txt ChangeLog README TODO mod_access_referer.html +PORTDOCS= HACKING LICENSE.txt ChangeLog README TODO mod_access_referer.html do-build: - @cd ${WRKSRC} && \ - ${APXS} -c mod_access_referer.c + @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c) do-install: - ${APXS} -i -A -n access_referer ${WRKSRC}/mod_access_referer.so + @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.so) .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/mod_access_referer -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_access_referer/ + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif ${CAT} ${PKGMESSAGE} diff --git a/www/mod_access_referer/pkg-plist b/www/mod_access_referer/pkg-plist index 9232c534c848..fdb9bb3ae0a3 100644 --- a/www/mod_access_referer/pkg-plist +++ b/www/mod_access_referer/pkg-plist @@ -1,10 +1,3 @@ libexec/apache/mod_access_referer.so @exec %D/sbin/apxs -e -A -n access_referer %D/%F @unexec %D/sbin/apxs -e -A -n access_referer %D/%F -share/doc/mod_access_referer/HACKING -share/doc/mod_access_referer/LICENSE.txt -share/doc/mod_access_referer/ChangeLog -share/doc/mod_access_referer/README -share/doc/mod_access_referer/TODO -share/doc/mod_access_referer/mod_access_referer.html -@dirrm share/doc/mod_access_referer |