aboutsummaryrefslogtreecommitdiff
path: root/games/sarien/Makefile
blob: d80df013917a41b7c6f76026560c24e3b5f4b13f (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
# Created by: Radim Kolar
# $FreeBSD$

PORTNAME=	sarien
PORTVERSION=	0.7.0
PORTREVISION=	3
CATEGORIES=	games
MASTER_SITES=	SF

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

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/doc/COPYING

GNU_CONFIGURE=	yes
USES=		gmake
USE_XORG=	x11
MAKE_JOBS_UNSAFE=	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_PROGRAM} ${WRKSRC}/bin/sarien ${STAGEDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/etc/sarien.cfg ${STAGEDIR}${PREFIX}/etc/sarien.conf

.include <bsd.port.mk>