Bug 187066 - ports-mgmt/porttree : add stage support
Summary: ports-mgmt/porttree : add stage support
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: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-25 19:50 UTC by vladimir.chukharev
Modified: 2014-02-25 22:30 UTC (History)
0 users

See Also:


Attachments
file.diff (888 bytes, patch)
2014-02-25 19:50 UTC, vladimir.chukharev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 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 2014-02-25 21:17:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!