aboutsummaryrefslogtreecommitdiffstats
path: root/games/wtf/Makefile
blob: bc5120a576916a6cfe96dd5d55e17b53e1539e04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Maxime Henrion <mux@FreeBSD.org>
# $FreeBSD$

PORTNAME=   wtf
PORTVERSION=    20130605
CATEGORIES= games
MASTER_SITES=   SF/bsdwtf

MAINTAINER= lifanov@mail.lifanov.com
COMMENT=    Translates common Internet acronyms

NO_BUILD=   yes

MAN6=       wtf.6

PLIST_FILES=    bin/wtf %%DATADIR%%/acronyms %%DATADIR%%/acronyms.comp
PLIST_DIRS= %%DATADIR%%

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/share/misc|${DATADIR}|g' ${WRKSRC}/wtf*

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/wtf ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/wtf.6 ${PREFIX}/man/man6
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/acronyms ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/acronyms.comp ${DATADIR}

.include <bsd.port.mk>