Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2012 02:51:49 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/165000: Update port: sysutils/stow
Message-ID:  <20120212025149.e3cf43f2.tkato432@yahoo.com>
Resent-Message-ID: <201202111810.q1BIAF6P084770@freefall.freebsd.org>

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

>Number:         165000
>Category:       ports
>Synopsis:       Update port: sysutils/stow
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 11 18:10:15 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Fix LICENSE
- Support PORTDOCS/PLIST_FILES

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/sysutils/stow/Makefile sysutils/stow/Makefile
--- /usr/ports/sysutils/stow/Makefile	2012-01-28 05:12:57.000000000 +0900
+++ sysutils/stow/Makefile	2012-01-28 05:16:56.000000000 +0900
@@ -8,23 +8,45 @@
 
 PORTNAME=	stow
 PORTVERSION=	2.1.3
+PORTREVISION=	1
 CATEGORIES=	sysutils
-MASTER_SITES=	${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	GNU
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GNU version of Carnegie Mellon's "Depot" program
 
-LICENSE=	GPLv3
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 TEST_DEPENDS=	p5-Test-Output>0:${PORTSDIR}/devel/p5-Test-Output
 
-GNU_CONFIGURE=	yes
 USE_BZIP2=	yes
-USE_GMAKE=	yes
 USE_PERL5=	yes
+USE_GMAKE=	yes
+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
 
-INFO=		stow
 MAN8=		stow.8
+INFO=		stow
+PORTDOCS=	*
+PLIST_FILES=	bin/chkstow \
+		bin/stow \
+		%%SITE_PERL%%/Stow.pm \
+		%%SITE_PERL%%/Stow/Util.pm
+PLIST_DIRS=	%%SITE_PERL%%/Stow
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for FILE in ChangeLog README
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+.for FILE in ChangeLog.OLD manual-single.html manual.pdf version.texi
+	${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
+.endfor
+	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${DOCSDIR})
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/sysutils/stow/pkg-plist sysutils/stow/pkg-plist
--- /usr/ports/sysutils/stow/pkg-plist	2011-12-29 08:51:08.000000000 +0900
+++ sysutils/stow/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,39 +0,0 @@
-bin/chkstow
-bin/stow
-%%DOCSDIR%%/ChangeLog
-%%DOCSDIR%%/ChangeLog.OLD
-%%DOCSDIR%%/README
-%%DOCSDIR%%/manual-single.html
-%%DOCSDIR%%/manual-split/Bootstrapping.html
-%%DOCSDIR%%/manual-split/Compile_002dtime-vs-Install_002dtime.html
-%%DOCSDIR%%/manual-split/Conflicts.html
-%%DOCSDIR%%/manual-split/Cygnus-Software.html
-%%DOCSDIR%%/manual-split/Deferred-Operation.html
-%%DOCSDIR%%/manual-split/Deleting-Packages.html
-%%DOCSDIR%%/manual-split/GNU-Emacs.html
-%%DOCSDIR%%/manual-split/GNU-General-Public-License.html
-%%DOCSDIR%%/manual-split/Ignore-Lists.html
-%%DOCSDIR%%/manual-split/Index.html
-%%DOCSDIR%%/manual-split/Installing-Packages.html
-%%DOCSDIR%%/manual-split/Introduction.html
-%%DOCSDIR%%/manual-split/Invoking-Stow.html
-%%DOCSDIR%%/manual-split/Justification-For-Yet-Another-Set-Of-Ignore-Files.html
-%%DOCSDIR%%/manual-split/Known-Bugs.html
-%%DOCSDIR%%/manual-split/Mixing-Operations.html
-%%DOCSDIR%%/manual-split/Motivation-For-Ignore-Lists.html
-%%DOCSDIR%%/manual-split/Multiple-Stow-Directories.html
-%%DOCSDIR%%/manual-split/Other-FSF-Software.html
-%%DOCSDIR%%/manual-split/Perl-and-Perl-5-Modules.html
-%%DOCSDIR%%/manual-split/Reporting-Bugs.html
-%%DOCSDIR%%/manual-split/Resource-Files.html
-%%DOCSDIR%%/manual-split/Target-Maintenance.html
-%%DOCSDIR%%/manual-split/Terminology.html
-%%DOCSDIR%%/manual-split/Types-And-Syntax-Of-Ignore-Lists.html
-%%DOCSDIR%%/manual-split/index.html
-%%DOCSDIR%%/manual.pdf
-%%DOCSDIR%%/version.texi
-%%SITE_PERL%%/Stow.pm
-%%SITE_PERL%%/Stow/Util.pm
-@dirrm %%DOCSDIR%%/manual-split
-@dirrm %%DOCSDIR%%
-@dirrm %%SITE_PERL%%/Stow
>Release-Note:
>Audit-Trail:
>Unformatted:



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