blob: f0f188eca350f1c1c903433c93c844bd33c71f5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= jtans
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_appli-${PORTVERSION}
EXTRACT_SUFX= .jar
MAINTAINER= ports@FreeBSD.org
COMMENT= Ancient puzzle
LICENSE= GPLv2 # or later; got from website
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= .
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
SUB_FILES= jtans.sh
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jtans.sh ${STAGEDIR}${PREFIX}/bin/jtans
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/jtans_appli-1.0.jar ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
|