svn commit: r338786 - head/security/ccsrch

Raphael Kubo da Costa rakuco at FreeBSD.org
Sun Jan 5 15:39:54 UTC 2014


Author: rakuco
Date: Sun Jan  5 15:39:53 2014
New Revision: 338786
URL: http://svnweb.freebsd.org/changeset/ports/338786

Log:
  Support staging.
  
  PR:		ports/185485
  Submitted by:	Pavel I Volkov <pavelivolkov at gmail.com> (maintainer)

Modified:
  head/security/ccsrch/Makefile

Modified: head/security/ccsrch/Makefile
==============================================================================
--- head/security/ccsrch/Makefile	Sun Jan  5 15:36:32 2014	(r338785)
+++ head/security/ccsrch/Makefile	Sun Jan  5 15:39:53 2014	(r338786)
@@ -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
 


More information about the svn-ports-all mailing list