mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add stage support
This commit is contained in:
parent
ebedf614ba
commit
579702e0d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335861
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user