mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
a9e9e3c9dc
commit
1f7653c081
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346169
@ -18,10 +18,8 @@ NO_WRKSUBDIR= yes
|
||||
|
||||
USES= perl5
|
||||
|
||||
MAN1= rlytest.1
|
||||
PLIST_FILES= bin/rlytest
|
||||
PLIST_FILES= bin/rlytest man/man1/rlytest.1.gz
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^#!.*|#!${PERL}|' ${WRKSRC}/${PORTNAME}
|
||||
|
||||
@ -29,7 +27,7 @@ do-build:
|
||||
@cd ${WRKSRC} && pod2man ${PORTNAME} > ${PORTNAME}.1
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user