ports/187066: ports-mgmt/porttree : add stage support

Vladimir Chukharev Vladimir.Chukharev at gmail.com
Tue Feb 25 19:50:02 UTC 2014


>Number:         187066
>Category:       ports
>Synopsis:       ports-mgmt/porttree : add stage support
>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:   Tue Feb 25 19:50:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Chukharev
>Release:        9.2-STABLE
>Organization:
>Environment:
FreeBSD vovaasus 9.2-STABLE FreeBSD 9.2-STABLE #9 r260698: Fri Jan 17 01:31:56 EET 2014     root at vovaasus:/usr/obj/usr/src/sys/VOVA  amd64
>Description:
Add stage directory support to ports-mgmt/porttree
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 345918)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	porttree
 PORTVERSION=	0.3.r${SVN_REV}
+PORTREVISION=	2
 CATEGORIES=	ports-mgmt python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -11,7 +12,6 @@
 
 LICENSE=	MIT
 
-MAN1=		porttree.1
 USE_BZIP2=	yes
 USE_PYTHON=	yes
 
@@ -25,12 +25,11 @@
 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}${MAN8PREFIX}/man/man1
 
 gen-dist:
 	${MKDIR} ${WRKDIR}


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


More information about the freebsd-ports-bugs mailing list