summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/wtf/DESCR3
-rw-r--r--games/wtf/Makefile30
-rw-r--r--games/wtf/PLIST5
-rw-r--r--games/wtf/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/games/wtf/DESCR b/games/wtf/DESCR
new file mode 100644
index 00000000000..c4a7b10901a
--- /dev/null
+++ b/games/wtf/DESCR
@@ -0,0 +1,3 @@
+This is a convenient way to get the "wtf" programme and also its acronyms
+database outside of NetBSD source tree. wtf is little shell script which
+translates acronyms for you.
diff --git a/games/wtf/Makefile b/games/wtf/Makefile
new file mode 100644
index 00000000000..4e3192c9fde
--- /dev/null
+++ b/games/wtf/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2015/04/02 23:12:55 rodent Exp $
+#
+
+DISTNAME= wtf-20150206
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bsdwtf/}
+
+MAINTAINER= pho@cielonegro.org
+HOMEPAGE= http://bsdwtf.sourceforge.net/
+COMMENT= Translate common Internet acronyms
+LICENSE= public-domain
+
+NO_BUILD= yes
+
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= wtf wtf.6
+SUBST_MESSAGE.paths= Fixing absolute paths.
+SUBST_SED.paths= -e 's|/usr/share/misc/|${PREFIX}/share/wtf/|g'
+SUBST_STAGE.paths= pre-configure
+
+REPLACE_SH= wtf
+
+INSTALLATION_DIRS+= bin share/wtf ${PKGMANDIR}/man6
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/wtf ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/acronyms* ${DESTDIR}${PREFIX}/share/wtf
+ ${INSTALL_MAN} ${WRKSRC}/wtf.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/wtf/PLIST b/games/wtf/PLIST
new file mode 100644
index 00000000000..ff52fdfbc8f
--- /dev/null
+++ b/games/wtf/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/02 23:12:55 rodent Exp $
+bin/wtf
+man/man6/wtf.6
+share/wtf/acronyms
+share/wtf/acronyms.comp
diff --git a/games/wtf/distinfo b/games/wtf/distinfo
new file mode 100644
index 00000000000..27e125cab4d
--- /dev/null
+++ b/games/wtf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/02 23:12:55 rodent Exp $
+
+SHA1 (wtf-20150206.tar.gz) = 2e43ec94088fab927539e7e97be17025a8e70238
+RMD160 (wtf-20150206.tar.gz) = d5170370f5a15c2dfa2500f0bc7bac98b0adf068
+Size (wtf-20150206.tar.gz) = 23175 bytes