summaryrefslogtreecommitdiff
path: root/games/wtf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/wtf/Makefile')
-rw-r--r--games/wtf/Makefile34
1 files changed, 34 insertions, 0 deletions
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>