aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/wtf/Makefile34
-rw-r--r--games/wtf/distinfo1
-rw-r--r--games/wtf/pkg-comment1
-rw-r--r--games/wtf/pkg-descr3
-rw-r--r--games/wtf/pkg-plist3
6 files changed, 43 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 988cae905db3..734a50810dfd 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -277,6 +277,7 @@
SUBDIR += wmtimebomb
SUBDIR += wolfpack
SUBDIR += wordplay
+ SUBDIR += wtf
SUBDIR += x3eyes
SUBDIR += xabacus
SUBDIR += xasteroids
diff --git a/games/wtf/Makefile b/games/wtf/Makefile
new file mode 100644
index 000000000000..0a8564e8407e
--- /dev/null
+++ b/games/wtf/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# New ports collection makefile for: wtf
+# Date created: 29 December 2001
+# Whom: Maxime Henrion <mux@sneakerz.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wtf
+PORTVERSION= 20011229
+CATEGORIES= games
+MASTER_SITES= http://www.sneakerz.org/~mux/wtf/
+
+MAINTAINER= mux@sneakerz.org
+
+NO_BUILD= yes
+
+MAN6= wtf.6
+
+post-patch:
+ @${MV} ${WRKSRC}/wtf ${WRKSRC}/wtf.orig
+ @${SED} -e s#/usr/local/share/misc#${DATADIR}# \
+ ${WRKSRC}/wtf.orig > ${WRKSRC}/wtf
+ @${MV} ${WRKSRC}/wtf.6 ${WRKSRC}/wtf.6.orig
+ @${SED} -e s#/usr/share/misc#${DATADIR}# < \
+ ${WRKSRC}/wtf.6.orig > ${WRKSRC}/wtf.6
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/wtf ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/wtf.6 ${PREFIX}/man/man6
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/acronyms ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/games/wtf/distinfo b/games/wtf/distinfo
new file mode 100644
index 000000000000..d24da9a6aa8b
--- /dev/null
+++ b/games/wtf/distinfo
@@ -0,0 +1 @@
+MD5 (wtf-20011229.tar.gz) = c19152b47b0550babc4259f1dd3ae05d
diff --git a/games/wtf/pkg-comment b/games/wtf/pkg-comment
new file mode 100644
index 000000000000..5bae616aa90c
--- /dev/null
+++ b/games/wtf/pkg-comment
@@ -0,0 +1 @@
+Translates common Internet acronyms
diff --git a/games/wtf/pkg-descr b/games/wtf/pkg-descr
new file mode 100644
index 000000000000..9bf50896baa2
--- /dev/null
+++ b/games/wtf/pkg-descr
@@ -0,0 +1,3 @@
+Wtf is little shell script taken from NetBSD's CVS repository which
+translates acronyms. These acronyms are kept in a file located at
+${PREFIX}/share/misc/acronyms.
diff --git a/games/wtf/pkg-plist b/games/wtf/pkg-plist
new file mode 100644
index 000000000000..8c5b1ca4b02e
--- /dev/null
+++ b/games/wtf/pkg-plist
@@ -0,0 +1,3 @@
+bin/wtf
+share/wtf/acronyms
+@dirrm share/wtf