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

PORTNAME=	grande
PORTVERSION=	0.6
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	http://kxl.orz.hm/download/
DISTNAME=	${PORTNAME}-KXL-${PORTVERSION}

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

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

NO_CDROM=	Possible copyright infringement

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>
OpenPOWER on IntegriCloud