summaryrefslogtreecommitdiffstats
path: root/games/ggo/Makefile
blob: 9c4abc362fc2390d4542784140abea724d024b45 (plain)
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
# New ports collection makefile for:   gGo
# Date created:		12 February 2005
# Whom:			jonc@chen.org.nz
#
# $FreeBSD$
#

PORTNAME=	ggo
PORTVERSION=	1.0
CATEGORIES=	games java
MASTER_SITES=	http://panda-igs.joyjoy.net/java/gGo/download/ \
		http://www.pandanet.co.jp/java/gGo/download/
DISTNAME=	gGo-${PORTVERSION}

MAINTAINER=	jonc@chen.org.nz
COMMENT=	PandaNet's IGS Client, GNU Go Client and SGF Editor

RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper

DEPRECATED=	developer's focus have moved elsewhere
EXPIRATION_DATE=2007-10-03

USE_JAVA=	yes
JAVA_VERSION=	1.3+
NO_BUILD=	yes
NO_WRKSUBDIR=	yes
RESTRICTED=	Redistribution is restricted
STRIP=
SUB_FILES=	ggo.sh

post-extract:
	@cd ${WRKDIR} && ${TAR} xf gGo.ss

do-install:
	${MKDIR} ${DATADIR}
	for JAR in ${WRKDIR}/usr/local/gGo/lib/*.jar ${WRKDIR}/usr/local/gGo/lib/*.zip ; \
	do \
		${INSTALL_DATA} $${JAR} ${DATADIR}; \
	done
	${INSTALL_SCRIPT} ${WRKDIR}/ggo.sh ${PREFIX}/bin/ggo

.include <bsd.port.mk>
OpenPOWER on IntegriCloud