Update misc/kde4-l10n-lv to version 4.12.4
[dports.git] / misc / whichman / Makefile
1 # Created by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
2 # $FreeBSD$
3
4 PORTNAME=       whichman
5 PORTVERSION=    2.4
6 CATEGORIES=     misc
7 MASTER_SITES=   http://main.linuxfocus.org/~guido.socher/ \
8                 http://main.linuxfocus.org/~guido/
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Approximate matching utilities to search for manpages and files
12
13 MAKE_ARGS=      CC="${CC}" CFLAGS="${CFLAGS}"
14
15 PLIST_FILES=    bin/ftff bin/ftwhich bin/whichman \
16                 man/man1/ftff.1.gz man/man1/ftwhich.1.gz \
17                 man/man1/whichman.1.gz
18
19 post-patch:
20         @${REINPLACE_CMD} -e 's|/usr/man:||g' ${WRKSRC}/whichman.c
21
22 do-install:
23 .for name in ftff ftwhich whichman
24         ${INSTALL_PROGRAM} ${WRKSRC}/${name} ${STAGEDIR}${PREFIX}/bin
25         ${INSTALL_MAN} ${WRKSRC}/man1/${name}.1 ${STAGEDIR}${MANPREFIX}/man/man1
26 .endfor
27
28 .include <bsd.port.mk>