- Add stage support

This commit is contained in:
Danilo Egea Gondolfo 2013-12-08 03:21:53 +00:00
parent ebedf614ba
commit 579702e0d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335861

View File

@ -12,17 +12,17 @@ COMMENT= Approximate matching utilities to search for manpages and files
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
MAN1= ftff.1 ftwhich.1 whichman.1
PLIST_FILES= bin/ftff bin/ftwhich bin/whichman
PLIST_FILES= bin/ftff bin/ftwhich bin/whichman \
man/man1/ftff.1.gz man/man1/ftwhich.1.gz \
man/man1/whichman.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/man:||g' ${WRKSRC}/whichman.c
do-install:
.for name in ftff ftwhich whichman
${INSTALL_PROGRAM} ${WRKSRC}/${name} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man1/${name}.1 ${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${name} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man1/${name}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.endfor
.include <bsd.port.mk>