2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
2007-03-06 10:07:23 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jin
|
|
|
|
PORTVERSION= 2.14.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2007-03-06 10:07:23 +01:00
|
|
|
CATEGORIES= games java
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2007-03-06 10:07:23 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
|
|
|
|
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Graphical client for chess servers
|
2007-03-06 10:07:23 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_JAVA= yes
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2007-03-06 10:07:23 +01:00
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
SUB_LIST= JINJAR=${JINJAR}
|
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
JINJAR= ${PORTNAME}.jar
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
FIND_DIRS= . -type d
|
|
|
|
FIND_DATA= . -type f
|
|
|
|
RM_FILES= ${PORTNAME} README changelog.txt gpl.txt
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
.for f in ${RM_FILES}
|
|
|
|
@${RM} ${WRKSRC}/${f}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
2014-06-15 16:34:38 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
@cd ${WRKSRC} && ${FIND} ${FIND_DIRS} -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} ";"
|
|
|
|
@cd ${WRKSRC} && ${FIND} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} ";"
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2007-03-06 10:07:23 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|