aboutsummaryrefslogtreecommitdiffstats
path: root/games/cgoban2/Makefile
blob: e3e3be4de39c1ba97084eb3cb6d092dfb1006718 (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
# New ports collection makefile for:   cgoban2
# Date created:     30 October 2003
# Whom:         smazanek@steffen-mazanek.de
#
# $FreeBSD$
#

PORTNAME=   cgoban2
PORTVERSION=    2.5.6
CATEGORIES= games
MASTER_SITES=   http://kgs.kiseido.com/
DISTNAME=   cgoban-unix-${PORTVERSION}

MAINTAINER= smazanek@steffen-mazanek.de
COMMENT=    Internet Go Server client and game editor

BROKEN=     "Unfetchable"
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2004-06-18

WRKSRC=     ${WRKDIR}/cgoban
INSTALLDIR= ${PREFIX}/share/java/cgoban2

USE_JAVA=   1.3+
NO_BUILD=   yes

post-patch:
    ${SED} -e 's|_DIR=.|_DIR=${INSTALLDIR}| ; s|^java|javavm|'\
        < ${WRKSRC}/cgoban.sh.in > ${WRKSRC}/cgoban2

do-install:
    ${MKDIR} ${INSTALLDIR}
    ${INSTALL_DATA} ${WRKSRC}/cgoban.jar ${INSTALLDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/cgoban2 ${PREFIX}/bin/cgoban2

.include <bsd.port.mk>