freebsd-ports/games/wtf/Makefile
Nikolai Lifanov 724ebbe5dd update games/wtf to 20161212
Reviewed by:	matthew
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D8786
2016-12-14 14:45:37 +00:00

38 lines
956 B
Makefile

# Created by: Maxime Henrion <mux@FreeBSD.org>
# $FreeBSD$
PORTNAME= wtf
PORTVERSION= 20161212
CATEGORIES= games
MASTER_SITES= SF/bsdwtf
MAINTAINER= lifanov@FreeBSD.org
COMMENT= Translates common Internet acronyms
LICENSE= PD
OPTIONS_DEFINE= OFFENSIVE
OPTIONS_DEFAULT=OFFENSIVE
OFFENSIVE_DESC= Include offensive 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}
do-install-OFFENSIVE-on:
${INSTALL_DATA} ${WRKSRC}/acronyms-o.real ${STAGEDIR}${DATADIR}/acronyms-o
do-install-OFFENSIVE-off:
${INSTALL_DATA} ${WRKSRC}/acronyms-o.fake ${STAGEDIR}${DATADIR}/acronyms-o
.include <bsd.port.mk>