freebsd-ports/games/jchessboard/Makefile
Baptiste Daroussin 7c354b1913 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part2)
2012-12-10 13:18:28 +00:00

36 lines
772 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= jchessboard
PORTVERSION= 1.5
PORTREVISION= 2
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= JChessBoard-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Chess game and PGN viewer/editor written in Java
USE_JAVA= yes
JAVA_VERSION= 1.6+
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/${JARFILE}
PLIST_DIRS= %%DATADIR%%
JARFILE= JChessBoard.jar
do-build:
@(${ECHO_CMD} "#!${SH}"; \
${ECHO_CMD} "${JAVA} -jar ${DATADIR}/${JARFILE}") \
> ${WRKDIR}/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${DATADIR}
.include <bsd.port.mk>