aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-25 03:32:45 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-25 03:32:45 +0000
commita3607c150c3c6fec234bbde4f8e071ed408327db (patch)
tree28e2735b927b54f14ebb13323bdba7fb492dca12 /games
parentc170f04e0fda919dac1289f98bd6c5e9bce66577 (diff)
downloadports-a3607c150c3c6fec234bbde4f8e071ed408327db.tar.gz
ports-a3607c150c3c6fec234bbde4f8e071ed408327db.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/jchessboard/Makefile40
-rw-r--r--games/jchessboard/distinfo3
-rw-r--r--games/jchessboard/pkg-descr5
4 files changed, 49 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index ba82b58ae394..b0584dc49d75 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -285,6 +285,7 @@
SUBDIR += interlogic
SUBDIR += ishido
SUBDIR += ivan
+ SUBDIR += jchessboard
SUBDIR += jetpack
SUBDIR += jfduke3d
SUBDIR += jfk
diff --git a/games/jchessboard/Makefile b/games/jchessboard/Makefile
new file mode 100644
index 000000000000..123af3f26adc
--- /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 000000000000..b96f4597fb0e
--- /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 000000000000..cacd64472b04
--- /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/