1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- Fix LICENSE

- Support PORTDOCS/PLIST_FILES

PR:		165000
Submitted by:	Port Fury
This commit is contained in:
Martin Wilke 2012-02-20 00:06:54 +00:00
parent 007ecbefd4
commit 3b0c987220
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291891
2 changed files with 28 additions and 45 deletions
sysutils/stow

View File

@ -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>

View File

@ -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