svn commit: r384685 - head/games/wtf
Adam Weinberger
adamw at FreeBSD.org
Fri Apr 24 20:37:58 UTC 2015
Author: adamw
Date: Fri Apr 24 20:37:56 2015
New Revision: 384685
URL: https://svnweb.freebsd.org/changeset/ports/384685
Log:
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)
Modified:
head/games/wtf/Makefile
head/games/wtf/distinfo
head/games/wtf/pkg-plist
Modified: head/games/wtf/Makefile
==============================================================================
--- head/games/wtf/Makefile Fri Apr 24 20:23:21 2015 (r384684)
+++ head/games/wtf/Makefile Fri Apr 24 20:37:56 2015 (r384685)
@@ -2,16 +2,22 @@
# $FreeBSD$
PORTNAME= wtf
-PORTVERSION= 20150416
+PORTVERSION= 20150424
CATEGORIES= games
MASTER_SITES= SF/bsdwtf
MAINTAINER= lifanov at 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>
Modified: head/games/wtf/distinfo
==============================================================================
--- head/games/wtf/distinfo Fri Apr 24 20:23:21 2015 (r384684)
+++ head/games/wtf/distinfo Fri Apr 24 20:37:56 2015 (r384685)
@@ -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
Modified: head/games/wtf/pkg-plist
==============================================================================
--- head/games/wtf/pkg-plist Fri Apr 24 20:23:21 2015 (r384684)
+++ head/games/wtf/pkg-plist Fri Apr 24 20:37:56 2015 (r384685)
@@ -1,4 +1,5 @@
bin/wtf
man/man6/wtf.6.gz
%%DATADIR%%/acronyms
+%%DATADIR%%/acronyms-o
%%DATADIR%%/acronyms.comp
More information about the svn-ports-all
mailing list