diff options
author | adamw <adamw@FreeBSD.org> | 2015-04-25 04:37:56 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2015-04-25 04:37:56 +0800 |
commit | 47a57b5463d6ad781747d1b0767709cbad08b49d (patch) | |
tree | 6e798770d095109b8a80411858eb22abaa494fa3 /games/wtf | |
parent | 85442e0bb0e1ec910cdd5baa3da13048e103e913 (diff) | |
download | freebsd-ports-gnome-47a57b5463d6ad781747d1b0767709cbad08b49d.tar.gz freebsd-ports-gnome-47a57b5463d6ad781747d1b0767709cbad08b49d.tar.zst freebsd-ports-gnome-47a57b5463d6ad781747d1b0767709cbad08b49d.zip |
Update to 20150424.
Introduce an OPTION that controls whether to install offensive (explicit)
acronyms. It is enabled by default, but the actual wtf(6) app will not
provide offensive answers without the -o switch.
PR: 199613
Submitted by: maintainer (Nikolai Lifanov)
Diffstat (limited to 'games/wtf')
-rw-r--r-- | games/wtf/Makefile | 13 | ||||
-rw-r--r-- | games/wtf/distinfo | 4 | ||||
-rw-r--r-- | games/wtf/pkg-plist | 1 |
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 |