aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/ccsrch/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/security/ccsrch/Makefile b/security/ccsrch/Makefile
index d8d3ea7c2058..6f0f7f3d14e7 100644
--- a/security/ccsrch/Makefile
+++ b/security/ccsrch/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ccsrch
PORTVERSION= 1.0.3
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://downloads.sourceforge.net/project/${MASTER_SITE_SUBDIR}/
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
@@ -15,19 +16,19 @@ LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-
-PORTDOCS= README readme.html
+PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}; \
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}; \
for f in ${PORTDOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \
done
.endif