Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 15:29:24 +0600 (BDT)
From:      Muhammad Moinur Rahman <5u623l20@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/190165: [MAINTAINER] sysutils/stow: Added STAGE Support
Message-ID:  <201405240929.s4O9TO1A083296@bofh.1asiacom.net>
Resent-Message-ID: <201405240930.s4O9U0cp074606@freefall.freebsd.org>

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

>Number:         190165
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/stow: Added 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:   Sat May 24 09:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Muhammad Moinur Rahman
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r265972: Wed May 14 02:05:04 BDT
>Description:
- 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)
>How-To-Repeat:
>Fix:

--- stow-2.2.0.patch begins here ---
diff -ruN /usr/ports//sysutils/stow/Makefile ./Makefile
--- /usr/ports//sysutils/stow/Makefile	2013-09-21 05:05:58.000000000 +0600
+++ ./Makefile	2014-05-24 15:17:22.329159044 +0600
@@ -3,6 +3,7 @@
 
 PORTNAME=	stow
 PORTVERSION=	2.2.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
 
@@ -14,34 +15,28 @@
 
 TEST_DEPENDS=	p5-Test-Output>0:${PORTSDIR}/devel/p5-Test-Output
 
-USE_BZIP2=	yes
-USES=		perl5
-USE_GMAKE=	yes
+USES=		tar:bzip2 perl5 gmake
 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
+.include <bsd.port.options.mk>
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${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})
+	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${STAGEDIR}${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports//sysutils/stow/pkg-plist ./pkg-plist
--- /usr/ports//sysutils/stow/pkg-plist	1970-01-01 06:00:00.000000000 +0600
+++ ./pkg-plist	2014-05-24 15:15:59.592163561 +0600
@@ -0,0 +1,7 @@
+bin/chkstow
+bin/stow
+%%SITE_PERL%%/Stow.pm
+%%SITE_PERL%%/Stow/Util.pm
+man/man8/stow.8.gz
+@dirrm %%SITE_PERL%%/Stow
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
--- stow-2.2.0.patch ends here ---

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



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