summaryrefslogtreecommitdiffstats
path: root/games/wtf/Makefile
blob: 09585d66aa513ba33d28fb15de335d9657745366 (plain)
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
# Created by: Maxime Henrion <mux@FreeBSD.org>
# $FreeBSD$

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

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

NO_BUILD=	yes
NO_ARCH=	yes

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

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud