mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
2 changed files with 14 additions and 16 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= stow
|
PORTNAME= stow
|
||||||
PORTVERSION= 2.2.0
|
PORTVERSION= 2.2.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= GNU
|
MASTER_SITES= GNU
|
||||||
|
|
||||||
|
@ -14,34 +15,25 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
TEST_DEPENDS= p5-Test-Output>0:${PORTSDIR}/devel/p5-Test-Output
|
TEST_DEPENDS= p5-Test-Output>0:${PORTSDIR}/devel/p5-Test-Output
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USES= gmake perl5 tar:bzip2
|
||||||
USES= perl5
|
|
||||||
USE_GMAKE= yes
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
|
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
|
||||||
INSTALL_TARGET= install-exec-am install-dist_pmstowDATA install-info-am \
|
INSTALL_TARGET= install-exec-am install-dist_pmstowDATA install-info-am \
|
||||||
install-man install-pmDATA
|
install-man install-pmDATA
|
||||||
|
|
||||||
MAN8= stow.8
|
OPTIONS= DOCS
|
||||||
|
|
||||||
INFO= stow
|
INFO= stow
|
||||||
PORTDOCS= *
|
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:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
|
||||||
.for FILE in ChangeLog README
|
.for FILE in ChangeLog README
|
||||||
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.for FILE in ChangeLog.OLD manual-single.html manual.pdf version.texi
|
.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
|
.endfor
|
||||||
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${DOCSDIR})
|
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${STAGEDIR}${DOCSDIR})
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.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…
Add table
Reference in a new issue