aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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%%