summaryrefslogtreecommitdiffstats
path: root/games/jchessboard
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-11-25 03:32:45 +0000
committeredwin <edwin@FreeBSD.org>2005-11-25 03:32:45 +0000
commitc657a157eb46563b58b420b915a41dff1d83b377 (patch)
tree724d97402365785d2b281b83f2f61777b50bce19 /games/jchessboard
parent8aff53b4c4a765e9d3c9d21e94468f65f3a6363c (diff)
downloadFreeBSD-ports-c657a157eb46563b58b420b915a41dff1d83b377.zip
FreeBSD-ports-c657a157eb46563b58b420b915a41dff1d83b377.tar.gz
[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>
Diffstat (limited to 'games/jchessboard')
-rw-r--r--games/jchessboard/Makefile40
-rw-r--r--games/jchessboard/distinfo3
-rw-r--r--games/jchessboard/pkg-descr5
3 files changed, 48 insertions, 0 deletions
diff --git a/games/jchessboard/Makefile b/games/jchessboard/Makefile
new file mode 100644
index 0000000..123af3f
--- /dev/null
+++ b/games/jchessboard/Makefile
@@ -0,0 +1,40 @@
+# 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>
diff --git a/games/jchessboard/distinfo b/games/jchessboard/distinfo
new file mode 100644
index 0000000..b96f459
--- /dev/null
+++ b/games/jchessboard/distinfo
@@ -0,0 +1,3 @@
+MD5 (JChessBoard-1.5.tgz) = 8ee68697b11f5a197813629b8cb3408c
+SHA256 (JChessBoard-1.5.tgz) = d0dae38c0119415ad188fa12249148eafecb758c6e77c23205976d45c84d202b
+SIZE (JChessBoard-1.5.tgz) = 197444
diff --git a/games/jchessboard/pkg-descr b/games/jchessboard/pkg-descr
new file mode 100644
index 0000000..cacd644
--- /dev/null
+++ b/games/jchessboard/pkg-descr
@@ -0,0 +1,5 @@
+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/
OpenPOWER on IntegriCloud