diff options
author | miwi <miwi@FreeBSD.org> | 2012-02-20 08:06:54 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-02-20 08:06:54 +0800 |
commit | dab05ddbc01e2c042ef6b7783c9463a9e0d012db (patch) | |
tree | 049ea179ad39f908d0c1b4145d9ff8bc1f234dd5 /sysutils/stow | |
parent | 8c232eb51693221f7d6f462cee6326f096968f62 (diff) | |
download | freebsd-ports-gnome-dab05ddbc01e2c042ef6b7783c9463a9e0d012db.tar.gz freebsd-ports-gnome-dab05ddbc01e2c042ef6b7783c9463a9e0d012db.tar.zst freebsd-ports-gnome-dab05ddbc01e2c042ef6b7783c9463a9e0d012db.zip |
- Fix LICENSE
- Support PORTDOCS/PLIST_FILES
PR: 165000
Submitted by: Port Fury
Diffstat (limited to 'sysutils/stow')
-rw-r--r-- | sysutils/stow/Makefile | 34 | ||||
-rw-r--r-- | sysutils/stow/pkg-plist | 39 |
2 files changed, 28 insertions, 45 deletions
diff --git a/sysutils/stow/Makefile b/sysutils/stow/Makefile index 49780d186ee5..054970042556 100644 --- a/sysutils/stow/Makefile +++ b/sysutils/stow/Makefile @@ -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 --git a/sysutils/stow/pkg-plist b/sysutils/stow/pkg-plist deleted file mode 100644 index 37e06da3deb9..000000000000 --- a/sysutils/stow/pkg-plist +++ /dev/null @@ -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 |