aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/wtf/Makefile13
-rw-r--r--games/wtf/distinfo4
2 files changed, 8 insertions, 9 deletions
diff --git a/games/wtf/Makefile b/games/wtf/Makefile
index 672e9e25809f..17572e53b3a1 100644
--- a/games/wtf/Makefile
+++ b/games/wtf/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= wtf
-PORTVERSION= 20150518
+PORTVERSION= 20150822
CATEGORIES= games
MASTER_SITES= SF/bsdwtf
@@ -16,8 +16,6 @@ OFFENSIVE_DESC= Include offensive acronyms
NO_BUILD= yes
NO_ARCH= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/misc|${DATADIR}|g' ${WRKSRC}/wtf*
@@ -26,11 +24,12 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/wtf.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/acronyms ${STAGEDIR}${DATADIR}
-.if ${PORT_OPTIONS:MOFFENSIVE}
+ ${INSTALL_DATA} ${WRKSRC}/acronyms.comp ${STAGEDIR}${DATADIR}
+
+do-install-OFFENSIVE-on:
${INSTALL_DATA} ${WRKSRC}/acronyms-o.real ${STAGEDIR}${DATADIR}/acronyms-o
-.else
+
+do-install-OFFENSIVE-off:
${INSTALL_DATA} ${WRKSRC}/acronyms-o.fake ${STAGEDIR}${DATADIR}/acronyms-o
-.endif
- ${INSTALL_DATA} ${WRKSRC}/acronyms.comp ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
diff --git a/games/wtf/distinfo b/games/wtf/distinfo
index 93b2119b3693..4118c02caedc 100644
--- a/games/wtf/distinfo
+++ b/games/wtf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (wtf-20150518.tar.gz) = e9a443b5f1fb78afa52db9ba42a7a8335cdbe04f3de48e5ee47949d2f42cb4bc
-SIZE (wtf-20150518.tar.gz) = 24085
+SHA256 (wtf-20150822.tar.gz) = ae423cd35c58bc9f307f47fa9c4e4cec2a50ac73739b012104badc5e8259d2fc
+SIZE (wtf-20150822.tar.gz) = 24126