summaryrefslogblamecommitdiff
path: root/games/cgoban2/Makefile
blob: 84bb08f11afa31e20e1a8a73cd5787d7282d4f38 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                   
                     
                 






















                                                                   
# New ports collection makefile for:   cgoban2
# Date created:		30 October 2003
# Whom:			smazanek@steffen-mazanek.de
#
# $FreeBSD$
#

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

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

WRKSRC=		${WRKDIR}/${PORTNAME}
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>