Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 13:32:44 +0400 (MSK)
From:      Pavel I Volkov <pavelivolkov@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/185485: [MAINTAINER] security/ccsrch: Add stage sapport
Message-ID:  <201401050932.s059Winc098658@be.dns4soho.net>
Resent-Message-ID: <201401050940.s059e06l066985@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185485
>Category:       ports
>Synopsis:       [MAINTAINER] security/ccsrch: Add stage sapport
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 05 09:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Pavel I Volkov
>Release:        FreeBSD 9.2-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD be.dns4soho.net 9.2-RELEASE-p2 FreeBSD 9.2-RELEASE-p2 #3: Sat Nov 30 10:44:24 MSK 2013
>Description:
- Add stage support

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- ccsrch-1.0.3.patch begins here ---
diff -ruN ../ccsrch.orig/Makefile ./Makefile
--- ../ccsrch.orig/Makefile	2014-01-05 13:02:14.000000000 +0400
+++ ./Makefile	2014-01-05 13:27:02.000000000 +0400
@@ -16,19 +16,20 @@
 OPTIONS_DEFINE=	DOCS
 
 FETCH_ARGS=	-pRr
-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
 
--- ccsrch-1.0.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401050932.s059Winc098658>