blob: 68b2830f7046d26fff5edc4680fd3ddda0ac66bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= jin
PORTVERSION= 2.14.1
PORTREVISION= 4
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= mi@aldan.algebra.com
COMMENT= Graphical client for chess servers
WWW= https://www.jinchess.com/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/src/free/jin/legal/copyright.txt
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${JAVAJARDIR}/bsh.jar:lang/bsh
USES= dos2unix
DOS2UNIX_GLOB= *.java *.txt
USE_JAVA= yes
USE_ANT= yes
MAKE_ARGS+= -lib ${JAVAJARDIR}/bsh.jar
SUB_FILES= ${PORTNAME}
SUB_LIST= JINJAR=${JINJAR:Q}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
EXTRACT_AFTER_ARGS= --exclude 'bsh*.jar' \
--exclude os-specific/unix/jin \
--exclude jgoodies-windows.jar
JINJAR= ${PORTNAME}.jar
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-install:
${FIND} ${WRKSRC} -empty -delete
cd ${WRKSRC}/build && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
|