mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- 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)
This commit is contained in:
parent
cc86fcca85
commit
fe5aeae2c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355079
@ -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>
|
||||
|
6
sysutils/stow/pkg-plist
Normal file
6
sysutils/stow/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user