summaryrefslogtreecommitdiff
path: root/games/sarien/Makefile
blob: 1f695ed194b97f7288b7d483dac495f5ecf050b4 (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
# New ports collection makefile for:	sarien
# Date created:		25 May 2004
# Whom:			Radim Kolar
#
# $FreeBSD$
#

PORTNAME=	sarien
PORTVERSION=	0.7.0
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Sierra AGI games interpreter

GNU_CONFIGURE=	yes
USE_GETOPT_LONG=	yes
USE_GMAKE=	yes
USE_XLIB=	yes
USE_REINPLACE=	yes

CFLAGS+=	-I${LOCALBASE}/include

PLIST_FILES=	bin/sarien etc/sarien.conf

post-patch:
	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/src/filesys/unix/path.c

do-install:
	${INSTALL} ${WRKSRC}/bin/sarien ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/etc/sarien.cfg ${PREFIX}/etc/sarien.conf

.include <bsd.port.mk>