aboutsummaryrefslogtreecommitdiff
path: root/games/wtf
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2015-04-24 20:37:56 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2015-04-24 20:37:56 +0000
commit924782e86910000ca0e44579e2cc0aac12117460 (patch)
tree6e798770d095109b8a80411858eb22abaa494fa3 /games/wtf
parentdf8df03187fca000f17c82f5b5a1f9a0bc3e2d7f (diff)
downloadports-924782e86910000ca0e44579e2cc0aac12117460.tar.gz
ports-924782e86910000ca0e44579e2cc0aac12117460.zip
Notes
Diffstat (limited to 'games/wtf')
-rw-r--r--games/wtf/Makefile13
-rw-r--r--games/wtf/distinfo4
-rw-r--r--games/wtf/pkg-plist1
3 files changed, 15 insertions, 3 deletions
diff --git a/games/wtf/Makefile b/games/wtf/Makefile
index c1131ccc2c73..58bb0b663622 100644
--- a/games/wtf/Makefile
+++ b/games/wtf/Makefile
@@ -2,16 +2,22 @@
# $FreeBSD$
PORTNAME= wtf
-PORTVERSION= 20150416
+PORTVERSION= 20150424
CATEGORIES= games
MASTER_SITES= SF/bsdwtf
MAINTAINER= lifanov@mail.lifanov.com
COMMENT= Translates common Internet acronyms
+OPTIONS_DEFINE= OFFENSIVE
+OPTIONS_DEFAULT=OFFENSIVE
+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*
@@ -20,6 +26,11 @@ 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-o.real ${STAGEDIR}${DATADIR}/acronyms-o
+.else
+ ${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 c5558407456b..da09a96d2360 100644
--- a/games/wtf/distinfo
+++ b/games/wtf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (wtf-20150416.tar.gz) = 6393408831fa96812c49f798cb7e35762302a50868188dffb9f6104fc3794e5e
-SIZE (wtf-20150416.tar.gz) = 23762
+SHA256 (wtf-20150424.tar.gz) = 5b6d29f58aa2f2c3d0859c63fdaabca35dc54366c3e1b04287e1d228b06be7eb
+SIZE (wtf-20150424.tar.gz) = 24168
diff --git a/games/wtf/pkg-plist b/games/wtf/pkg-plist
index 052dbb268bf7..ffc6165d4c95 100644
--- a/games/wtf/pkg-plist
+++ b/games/wtf/pkg-plist
@@ -1,4 +1,5 @@
bin/wtf
man/man6/wtf.6.gz
%%DATADIR%%/acronyms
+%%DATADIR%%/acronyms-o
%%DATADIR%%/acronyms.comp