Bug 187066

Summary: ports-mgmt/porttree : add stage support
Product: Ports & Packages Reporter: vladimir.chukharev
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description vladimir.chukharev 2014-02-25 19:50:01 UTC
Add stage directory support to ports-mgmt/porttree

Fix: Patch attached with submission follows:
Comment 1 Vladimir Chukharev 2014-02-25 20:36:33 UTC
PORTREVISION could be 1. Guess I added the line when I started working on it, and increased the value right before submitting.
Sorry for the error!

-- 
Vladimir Chukharev
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2014-02-25 21:08:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-02-25 21:17:24 UTC
Author: pawel
Date: Tue Feb 25 21:17:17 2014
New Revision: 346078
URL: http://svnweb.freebsd.org/changeset/ports/346078
QAT: https://qat.redports.org/buildarchive/r346078/

Log:
  Add staging support
  
  PR:		ports/187066
  Submitted by:	maintainer

Modified:
  head/ports-mgmt/porttree/Makefile

Modified: head/ports-mgmt/porttree/Makefile
==============================================================================
--- head/ports-mgmt/porttree/Makefile	Tue Feb 25 21:03:26 2014	(r346077)
+++ head/ports-mgmt/porttree/Makefile	Tue Feb 25 21:17:17 2014	(r346078)
@@ -11,7 +11,6 @@ COMMENT=	Show dependences of FreeBSD por
 
 LICENSE=	MIT
 
-MAN1=		porttree.1
 USE_BZIP2=	yes
 USE_PYTHON=	yes
 
@@ -25,12 +24,11 @@ SVNROOT?=	http://porttree.googlecode.com
 SVN_REV=	52
 NO_BUILD=	yes
 NO_INSTALL=	yes
-PLIST_FILES=	bin/porttree
+PLIST_FILES=	bin/porttree man/man1/porttree.1.gz
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/src/porttree.py ${PREFIX}/bin/porttree
-	${INSTALL_MAN} ${WRKSRC}/src/porttree.1 ${MAN8PREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/src/porttree.py ${STAGEDIR}${PREFIX}/bin/porttree
+	${INSTALL_MAN} ${WRKSRC}/src/porttree.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 gen-dist:
 	${MKDIR} ${WRKDIR}
_______________________________________________
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 4 Pawel Pekala freebsd_committer freebsd_triage 2014-02-25 21:17:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!