From 43dc908053c21cee0de0494e5924d5802f8a8687 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Thu, 3 Apr 2003 05:32:58 +0000 Subject: add jtans 1.0 A (not so) ancient puzzle --- games/jtans/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 games/jtans/Makefile (limited to 'games/jtans/Makefile') 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 -- cgit v1.2.3