freebsd-ports/games/jchessboard/Makefile
Jung-uk Kim 07ddba7d65 Fix build with JDK7 and later.
Reported by:	exp-run (PR190511)
2014-06-06 00:44:58 +00:00

44 lines
952 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= jchessboard
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= JChessBoard-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= jgh@FreeBSD.org
COMMENT= Chess game and PGN viewer/editor written in Java
LICENSE= GPLv2
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/${JARFILE}
PLIST_DIRS= %%DATADIR%%
SUB_FILES= ${PORTNAME}
SUB_LIST+= JARFILE=${JARFILE} \
PORTNAME=${PORTNAME}
PORTDOCS= *
JARFILE= JChessBoard.jar
MAKE_ENV= LANG=en_US.ISO8859-1
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>