Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 19:41:49 GMT
From:      Vladimir Chukharev <Vladimir.Chukharev@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187066: ports-mgmt/porttree : add stage support
Message-ID:  <201402251941.s1PJfnUF085667@cgiserv.freebsd.org>
Resent-Message-ID: <201402251950.s1PJo1WH082476@freefall.freebsd.org>

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

>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@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:



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