Bug 185485 - [MAINTAINER] security/ccsrch: Add stage sapport
Summary: [MAINTAINER] security/ccsrch: Add stage sapport
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-05 09:40 UTC by Pavel Volkov
Modified: 2014-01-05 15:50 UTC (History)
0 users

See Also:


Attachments
ccsrch-1.0.3.patch (748 bytes, patch)
2014-01-05 09:40 UTC, Pavel Volkov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkov 2014-01-05 09:40:00 UTC
- Add stage support

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: suffix)
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-01-05 15:40:01 UTC
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@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
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-01-05 15:40:23 UTC
State Changed
From-To: open->closed

Committed, thanks. I have bumped PORTREVISION because readme.html is not 
being installed anymore.