2003-04-03 05:32:58 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: jtans
|
|
|
|
# Date created: Apr 3, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jtans
|
|
|
|
PORTVERSION= 1.0
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2003-04-03 05:32:58 +00:00
|
|
|
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
|
|
|
|
|
2005-02-01 20:39:21 +00:00
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
|
2005-03-26 07:08:21 +00:00
|
|
|
BROKEN= Size mismatch
|
|
|
|
|
2003-04-03 05:32:58 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
EXTRACT_CMD= ${CP}
|
|
|
|
EXTRACT_BEFORE_ARGS= # empty
|
|
|
|
EXTRACT_AFTER_ARGS= .
|
2005-02-01 20:39:21 +00:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.3+
|
2003-04-03 05:32:58 +00:00
|
|
|
NO_BUILD= yes
|
2005-02-01 20:39:21 +00:00
|
|
|
SUB_FILES= jtans.sh
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
2003-04-03 05:32:58 +00:00
|
|
|
|
|
|
|
do-install:
|
2005-02-01 20:39:21 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jtans.sh ${PREFIX}/bin/jtans
|
2003-04-03 05:32:58 +00:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jtans_appli-1.0.jar ${DATADIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|