aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-05-31 18:49:41 +0800
committerohauer <ohauer@FreeBSD.org>2014-05-31 18:49:41 +0800
commita3445fdd3575354cacd20e0282643417bb8c1d89 (patch)
tree8f91ea2759c8a491c8f1c5f2e523fd27c54006b9 /www
parentde9f7e0dbbf675d20a2c858c899e18684671bcdd (diff)
downloadfreebsd-ports-gnome-a3445fdd3575354cacd20e0282643417bb8c1d89.tar.gz
freebsd-ports-gnome-a3445fdd3575354cacd20e0282643417bb8c1d89.tar.zst
freebsd-ports-gnome-a3445fdd3575354cacd20e0282643417bb8c1d89.zip
- add stage support
- add WWW
Diffstat (limited to 'www')
-rw-r--r--www/waccess/Makefile18
-rw-r--r--www/waccess/pkg-plist5
2 files changed, 7 insertions, 16 deletions
diff --git a/www/waccess/Makefile b/www/waccess/Makefile
index 515710f9bcf9..1c14a02e7dec 100644
--- a/www/waccess/Makefile
+++ b/www/waccess/Makefile
@@ -11,20 +11,10 @@ COMMENT= Quick-N-Dirty Web Access Log Analyzer
USE_PYTHON= yes
-MAN1= waccess.1
-MANCOMPRESSED= yes
-
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's,^#!/usr/local/bin/python,#!${PYTHON_CMD},' \
- ${WRKSRC}/waccess
-
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/waccess ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/waccess.1.gz ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/waccess-license.txt ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/waccess ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/waccess.1.gz ${STAGEDIR}${PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/waccess-license.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/www/waccess/pkg-plist b/www/waccess/pkg-plist
index 79c7a09c6f96..5d5b643877ed 100644
--- a/www/waccess/pkg-plist
+++ b/www/waccess/pkg-plist
@@ -1,3 +1,4 @@
bin/waccess
-%%PORTDOCS%%share/doc/waccess/waccess-license.txt
-%%PORTDOCS%%@dirrm share/doc/waccess
+man/man1/waccess.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/waccess-license.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%