aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-01-05 23:39:53 +0800
committerrakuco <rakuco@FreeBSD.org>2014-01-05 23:39:53 +0800
commit51291fbb6459881007781cedf339862a3c168422 (patch)
treef2b57dcd0ec8d425d44428912c6f0c695b77a1e9 /security
parentea5c8d40b6bacfa7f6da4d1fce909a82a6e9be7c (diff)
downloadfreebsd-ports-gnome-51291fbb6459881007781cedf339862a3c168422.tar.gz
freebsd-ports-gnome-51291fbb6459881007781cedf339862a3c168422.tar.zst
freebsd-ports-gnome-51291fbb6459881007781cedf339862a3c168422.zip
Support staging.
PR: ports/185485 Submitted by: Pavel I Volkov <pavelivolkov@gmail.com> (maintainer)
Diffstat (limited to 'security')
-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