opnsense-ports/misc/whichman/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

28 lines
770 B
Makefile

# Created by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
# $FreeBSD$
PORTNAME= whichman
PORTVERSION= 2.4
CATEGORIES= misc
MASTER_SITES= http://main.linuxfocus.org/~guido.socher/ \
http://main.linuxfocus.org/~guido/
MAINTAINER= ports@FreeBSD.org
COMMENT= Approximate matching utilities to search for manpages and files
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/ftff bin/ftwhich bin/whichman \
man/man1/ftff.1.gz man/man1/ftwhich.1.gz \
man/man1/whichman.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|/usr/man:||g' ${WRKSRC}/whichman.c
do-install:
.for name in ftff ftwhich whichman
${INSTALL_PROGRAM} ${WRKSRC}/${name} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man1/${name}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.endfor
.include <bsd.port.mk>