mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
7c354b1913
suppress any reference to JAVA_VERSION= 1.5+ (part2)
33 lines
669 B
Makefile
33 lines
669 B
Makefile
# 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= A (not so) ancient puzzle
|
|
|
|
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 ${PREFIX}/bin/jtans
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/jtans_appli-1.0.jar ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|