Bug 190165 - [MAINTAINER] sysutils/stow: Added STAGE Support
Summary: [MAINTAINER] sysutils/stow: Added 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: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-24 10:30 UTC by Muhammad Moinur Rahman
Modified: 2014-05-24 22:22 UTC (History)
0 users

See Also:


Attachments
stow-2.2.0.patch (1.82 KB, patch)
2014-05-24 10:30 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer freebsd_triage 2014-05-24 10:30:00 UTC
- Added STAGE support

For COmmitter's reference:
http://pdr.s.ubze.ro/bulk/latest-per-pkg/stow/2.2.0_1/

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-24 10:30:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-24 21:53:32 UTC
Author: sunpoet
Date: Sat May 24 20:53:27 2014
New Revision: 355079
URL: http://svnweb.freebsd.org/changeset/ports/355079
QAT: https://qat.redports.org/buildarchive/r355079/

Log:
  - Convert to new options framework
  - Use USES=gmake and USES=tar:bzip2
  - Support STAGEDIR
  - While I'm here, simplify Makefile
  
  PR:		ports/190165
  Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)

Added:
  head/sysutils/stow/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/stow/Makefile

Modified: head/sysutils/stow/Makefile
==============================================================================
--- head/sysutils/stow/Makefile	Sat May 24 20:53:22 2014	(r355078)
+++ head/sysutils/stow/Makefile	Sat May 24 20:53:27 2014	(r355079)
@@ -3,6 +3,7 @@
 
 PORTNAME=	stow
 PORTVERSION=	2.2.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
 
@@ -14,34 +15,25 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 TEST_DEPENDS=	p5-Test-Output>0:${PORTSDIR}/devel/p5-Test-Output
 
-USE_BZIP2=	yes
-USES=		perl5
-USE_GMAKE=	yes
+USES=		gmake perl5 tar:bzip2
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_path_PERL=${PERL}
 INSTALL_TARGET=	install-exec-am install-dist_pmstowDATA install-info-am \
 		install-man install-pmDATA
 
-MAN8=		stow.8
+OPTIONS=	DOCS
+
 INFO=		stow
 PORTDOCS=	*
-PLIST_FILES=	bin/chkstow \
-		bin/stow \
-		%%SITE_PERL%%/Stow.pm \
-		%%SITE_PERL%%/Stow/Util.pm
-PLIST_DIRS=	%%SITE_PERL%%/Stow
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for FILE in ChangeLog README
-	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
 .for FILE in ChangeLog.OLD manual-single.html manual.pdf version.texi
-	${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${DOCSDIR})
-.endif
+	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Added: head/sysutils/stow/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/stow/pkg-plist	Sat May 24 20:53:27 2014	(r355079)
@@ -0,0 +1,6 @@
+bin/chkstow
+bin/stow
+%%SITE_PERL%%/Stow.pm
+%%SITE_PERL%%/Stow/Util.pm
+man/man8/stow.8.gz
+@dirrm %%SITE_PERL%%/Stow
_______________________________________________
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 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-05-24 22:22:13 UTC
State Changed
From-To: open->closed

Committed. Thanks!