aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-01-10 08:06:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-01-10 08:06:36 +0800
commit848162614b09c7a8dfa031de2cd85eea2efb5b52 (patch)
tree21846f89fe9f5075ed41361f167ef5611567ca42 /games
parent15095beeecc51c93e111bb7b1195c25a440c1545 (diff)
downloadfreebsd-ports-gnome-848162614b09c7a8dfa031de2cd85eea2efb5b52.tar.gz
freebsd-ports-gnome-848162614b09c7a8dfa031de2cd85eea2efb5b52.tar.zst
freebsd-ports-gnome-848162614b09c7a8dfa031de2cd85eea2efb5b52.zip
- Switch to USES=tar
- Add NO_ARCH - Drop unneeded PLIST_DIRS Approved by: portmgr blanket
Diffstat (limited to 'games')
-rw-r--r--games/jchessboard/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/jchessboard/Makefile b/games/jchessboard/Makefile
index ca530bb39303..e30f4f4b6b0c 100644
--- a/games/jchessboard/Makefile
+++ b/games/jchessboard/Makefile
@@ -7,24 +7,24 @@ 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
+USES= tar:tgz
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
+NO_ARCH= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/${JARFILE}
-PLIST_DIRS= %%DATADIR%%
SUB_FILES= ${PORTNAME}
-SUB_LIST+= JARFILE=${JARFILE} \
+SUB_LIST= JARFILE=${JARFILE} \
PORTNAME=${PORTNAME}
PORTDOCS= *
@@ -32,8 +32,6 @@ 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}