1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-27 08:26:15 +00:00
parent 037bf27169
commit c7bb0364dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346255

View File

@ -15,20 +15,15 @@ GNU_CONFIGURE= yes
USES= perl5
USE_PERL5= build
PLIST_FILES= bin/fcrackzip bin/fcrackzipinfo
.if !defined(NOPORTDOCS)
MAN1= fcrackzip.1
.endif
PLIST_FILES= bin/fcrackzip bin/fcrackzipinfo man/man1/fcrackzip.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's/zipinfo/fcrackzipinfo/g' ${WRKSRC}/zipinfo.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/fcrackzip ${PREFIX}/bin/
@${INSTALL_PROGRAM} ${WRKSRC}/zipinfo ${PREFIX}/bin/fcrackzipinfo
.if !defined(NOPORTDOCS)
@${INSTALL_MAN} ${WRKSRC}/fcrackzip.1 ${PREFIX}/man/man1/
.endif
${INSTALL_PROGRAM} ${WRKSRC}/fcrackzip ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/zipinfo \
${STAGEDIR}${PREFIX}/bin/fcrackzipinfo
${INSTALL_MAN} ${WRKSRC}/fcrackzip.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>