mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Stage support
PR: 191038
This commit is contained in:
parent
e4c42e7728
commit
73b1759c8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357820
@ -17,7 +17,8 @@ LICENSE_COMB= dual
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/abi-compliance-checker.pl:${PORTSDIR}/devel/abi-compliance-checker
|
||||
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
SHEBANG_FILES= ${PORTNAME}.pl
|
||||
|
||||
.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/abi-compliance-checker.pl:${PORTSDIR}/devel/abi-compliance-checker
|
||||
@ -30,8 +31,6 @@ NO_BUILD= yes
|
||||
PLIST_FILES= bin/${PORTNAME}.pl
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
@ -56,7 +55,7 @@ post-patch:
|
||||
${WRKSRC}/modules/Internals/RegTests.pm
|
||||
|
||||
do-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
|
||||
check regression-test test: build
|
||||
@ -64,12 +63,10 @@ check regression-test test: build
|
||||
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= Changes.html Descriptor.html Options.html Readme.html SpecType.html
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@(cd ${WRKSRC}/doc; ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR})
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@(cd ${WRKSRC}/doc; ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.endif
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user