diff options
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/jtans/Makefile | 35 | ||||
-rw-r--r-- | games/jtans/distinfo | 1 | ||||
-rw-r--r-- | games/jtans/files/jtans | 3 | ||||
-rw-r--r-- | games/jtans/pkg-descr | 5 | ||||
-rw-r--r-- | games/jtans/pkg-plist | 2 |
6 files changed, 47 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 9384f8d0a31a..a3de5d196ea1 100644 --- a/games/Makefile +++ b/games/Makefile @@ -180,6 +180,7 @@ SUBDIR += ishido SUBDIR += jetpack SUBDIR += jfk + SUBDIR += jtans SUBDIR += jumpnbump SUBDIR += jzip SUBDIR += kdegames3 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> diff --git a/games/jtans/distinfo b/games/jtans/distinfo new file mode 100644 index 000000000000..56c251563939 --- /dev/null +++ b/games/jtans/distinfo @@ -0,0 +1 @@ +MD5 (jtans_appli-1.0.jar) = 35cd1d82f917d432c787281f39e9b243 diff --git a/games/jtans/files/jtans b/games/jtans/files/jtans new file mode 100644 index 000000000000..37023904b41a --- /dev/null +++ b/games/jtans/files/jtans @@ -0,0 +1,3 @@ +#!/bin/sh + +java -jar %%DATADIR%%/jtans_appli-1.0.jar diff --git a/games/jtans/pkg-descr b/games/jtans/pkg-descr new file mode 100644 index 000000000000..2e7ebb082767 --- /dev/null +++ b/games/jtans/pkg-descr @@ -0,0 +1,5 @@ +The Tangram is a (not so) ancient puzzle. The object is to put seven +geometric shapes together so as to form a given outline. All the pieces +must be used and are laid next to one another. + +WWW: http://jtans.sourceforge.net/ diff --git a/games/jtans/pkg-plist b/games/jtans/pkg-plist new file mode 100644 index 000000000000..2ed7b8017764 --- /dev/null +++ b/games/jtans/pkg-plist @@ -0,0 +1,2 @@ +bin/jtans +share/jtans/jtans_appli-1.0.jar |