summaryrefslogtreecommitdiff
path: root/games/jtans/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-03 05:32:58 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-03 05:32:58 +0000
commit43dc908053c21cee0de0494e5924d5802f8a8687 (patch)
treec6d17dddd0e7f9713ecacb2dfbb8debef638fed6 /games/jtans/Makefile
parentadd p5-Curses-Application 0.2 (diff)
add jtans 1.0
A (not so) ancient puzzle
Notes
Notes: svn path=/head/; revision=78030
Diffstat (limited to 'games/jtans/Makefile')
-rw-r--r--games/jtans/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/games/jtans/Makefile b/games/jtans/Makefile
new file mode 100644
index 000000000000..d716fc921f9e
--- /dev/null
+++ b/games/jtans/Makefile
@@ -0,0 +1,35 @@
+# ex:ts=8
+# Ports collection makefile for: jtans
+# Date created: Apr 3, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= jtans
+PORTVERSION= 1.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_appli-${PORTVERSION}
+EXTRACT_SUFX= .jar
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A (not so) ancient puzzle
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= # empty
+EXTRACT_AFTER_ARGS= .
+USE_JAVA= 1.3+
+NO_BUILD= yes
+
+post-patch:
+ @${SED} 's,%%DATADIR%%,${DATADIR},' ${FILESDIR}/jtans > ${WRKSRC}/jtans
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/jtans ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/jtans_appli-1.0.jar ${DATADIR}
+
+.include <bsd.port.mk>