freebsd-ports/games/jchessboard/Makefile
Edwin Groothuis a3607c150c [NEW PORT] games/jchessboard - Chess game and PGN viewer/editor written in Java
JChessBoard is a chess game and PGN viewer/editor written
	in Java that can be connected to another JChessBoard via a
	direct TCP/IP connection. No Internet Chess Server is
	required for playing.

	WWW: http://jchessboard.sourceforge.net/

PR:		ports/89507
Submitted by:	"Alejandro Pulver" <alejandro@varnet.biz>
2005-11-25 03:32:45 +00:00

40 lines
902 B
Makefile

# New ports collection makefile for: jchessboard
# Date created: 24 November 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= jchessboard
PORTVERSION= 1.5
CATEGORIES= games java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= JChessBoard-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= alejandro@varnet.biz
COMMENT= Chess game and PGN viewer/editor written in Java
USE_JAVA= yes
JAVA_VERSION= 1.3+
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>