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








                                              
                 
                     


                                          
                                 





                                            












                                                                                         
# New ports collection makefile for:	sarien
# Date created:		25 May 2004
# Whom:			Radim Kolar
#
# $FreeBSD$
#

PORTNAME=	sarien
PORTVERSION=	0.7.0
PORTREVISION=	1
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

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>