1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- Switch to USES=tar

- Add NO_ARCH
- Drop unneeded PLIST_DIRS

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-01-10 00:06:36 +00:00
parent e800171b67
commit a18cbef584
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405657

View File

@ -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}