mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Support staging
- Use shebangfix
This commit is contained in:
parent
4d6ee5217d
commit
3795470f23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346184
@ -5,28 +5,22 @@ PORTNAME= ipbt
|
||||
DISTVERSION= r8765
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/ipbt/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
LOCAL
|
||||
MASTER_SITE_SUBDIR= uqs
|
||||
|
||||
MAINTAINER= uqs@FreeBSD.org
|
||||
COMMENT= A high-tech ttyrec player with improvements over ttyplay
|
||||
|
||||
MAN1= ipbt.1
|
||||
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
PLIST_FILES= bin/ipbt bin/ttygrep bin/ttydump
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/sbcsgen.pl
|
||||
@${REINPLACE_CMD} -e 's|perl|${PERL}|' ${WRKSRC}/${MAKEFILE}
|
||||
PLIST_FILES= bin/ipbt bin/ttygrep bin/ttydump man/man1/ipbt.1.gz
|
||||
SHEBANG_FILES= sbcsgen.pl Makefile ttygrep ttydump
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ttydump ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ttygrep ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/ipbt.1 ${PREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ttydump ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ttygrep ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/ipbt.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user