aboutsummaryrefslogtreecommitdiff
path: root/games/grande/Makefile
blob: 722bdd51002fb522f9773b441ca5bb7222c76515 (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
# New ports collection makefile for:   grande
# Date created:        20 Feb 2002
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	grande
PORTVERSION=	0.6
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://kxl.hn.org/download/
DISTNAME=	${PORTNAME}-KXL-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Zanac type game

BUILD_DEPENDS=	${X11BASE}/lib/libKXL-1.1.7.so:${PORTSDIR}/devel/kxl
RUN_DEPENDS=	${X11BASE}/lib/libKXL-1.1.7.so:${PORTSDIR}/devel/kxl

NO_CDROM=	Possible copyright infringement

USE_X_PREFIX=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
		AUTOHEADER="${TRUE}"

post-patch:
	@${REINPLACE_CMD} -e \
		's|^inst_path=.*$$|inst_path="$${datadir}/grande"|g ; \
		 s|^score_path=.*$$|score_path="$${datadir}/grande/score"|g' \
			${WRKSRC}/configure

pre-install:
	@${MKDIR} ${DATADIR}/score

.include <bsd.port.mk>