aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/proxycheck/Makefile15
-rw-r--r--security/proxycheck/pkg-plist1
2 files changed, 7 insertions, 9 deletions
diff --git a/security/proxycheck/Makefile b/security/proxycheck/Makefile
index f73922fab897..7533beea8835 100644
--- a/security/proxycheck/Makefile
+++ b/security/proxycheck/Makefile
@@ -12,17 +12,14 @@ COMMENT= Check for open proxy servers
PORTSCOUT= skipv:0.49
-MAN1= proxycheck.1
-
HAS_CONFIGURE= yes
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/proxycheck ${PREFIX}/sbin/
- @${INSTALL_MAN} ${WRKSRC}/proxycheck.1 ${PREFIX}/man/man1/
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/proxycheck ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/proxycheck.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/security/proxycheck/pkg-plist b/security/proxycheck/pkg-plist
index 9fc08125ea33..0872d6ab84ea 100644
--- a/security/proxycheck/pkg-plist
+++ b/security/proxycheck/pkg-plist
@@ -1,3 +1,4 @@
sbin/proxycheck
+man/man1/proxycheck.1.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%@dirrm %%DOCSDIR%%