blob: 48358d06ac11ca777dde90bf67a1253c91b91825 (
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
|
# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= jchessboard
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= JChessBoard-${PORTVERSION}
MAINTAINER= jgh@FreeBSD.org
COMMENT= Chess game and PGN viewer/editor written in Java
LICENSE= GPLv2
USES= tar:tgz
USE_ANT= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_LOCALE= en_US.ISO8859-1
NO_ARCH= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/${JARFILE}
SUB_FILES= ${PORTNAME}
SUB_LIST= JARFILE=${JARFILE} \
PORTNAME=${PORTNAME}
PORTDOCS= *
JARFILE= JChessBoard.jar
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|