aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 17:56:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 17:56:28 +0800
commit9809212116a70f5a05b7f35b1329d03734108185 (patch)
tree1dad10cd9241f49d0cf35889fce1180c6577b44f /games
parent4b53f98c78e8a6d6c21c68972e8ae9e0a26b5a89 (diff)
downloadfreebsd-ports-gnome-9809212116a70f5a05b7f35b1329d03734108185.tar.gz
freebsd-ports-gnome-9809212116a70f5a05b7f35b1329d03734108185.tar.zst
freebsd-ports-gnome-9809212116a70f5a05b7f35b1329d03734108185.zip
- Update to 20150821
- While here, switch to options helpers PR: 202575 Submitted by: lifanov@mail.lifanov.com (maintainer)
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