diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-04-03 05:32:58 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-04-03 05:32:58 +0000 |
commit | 43dc908053c21cee0de0494e5924d5802f8a8687 (patch) | |
tree | c6d17dddd0e7f9713ecacb2dfbb8debef638fed6 /games/jtans | |
parent | 5ea60302bfc4597bae356d5fdb64042695b95eb4 (diff) | |
download | ports-43dc908053c21cee0de0494e5924d5802f8a8687.tar.gz ports-43dc908053c21cee0de0494e5924d5802f8a8687.zip |
Notes
Diffstat (limited to 'games/jtans')
-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 |
5 files changed, 46 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> 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 |