mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
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)
This commit is contained in:
parent
df8df03187
commit
924782e869
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384685
@ -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>
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/wtf
|
||||
man/man6/wtf.6.gz
|
||||
%%DATADIR%%/acronyms
|
||||
%%DATADIR%%/acronyms-o
|
||||
%%DATADIR%%/acronyms.comp
|
||||
|
Loading…
Reference in New Issue
Block a user