summaryrefslogtreecommitdiff
path: root/games/xrick/Makefile
blob: 256694464726803801f28007b58994c70dd4b1de (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
# New ports collection makefile for:   xrick
# Date created:        15 March 2002
# Whom:                David Sieb�rger <drs@rucus.ru.ac.za>
#
# $FreeBSD$
#

PORTNAME=	xrick
PORTVERSION=	021212
CATEGORIES=	games
MASTER_SITES=	http://www.bigorno.net/xrick/
EXTRACT_SUFX=	.tgz

MAINTAINER=	drs@rucus.ru.ac.za
COMMENT=	A clone of Rick Dangerous

LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
		jpeg.9:${PORTSDIR}/graphics/jpeg

RESTRICTED=	Copyright status of the graphics and sounds is uncertain
USE_GMAKE=	yes
USE_REINPLACE=	yes

MAN6=		xrick.6
MANCOMPRESSED=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|sysarg_args_data = NULL|sysarg_args_data = "${PREFIX}/share/xrick/data.zip"|' ${WRKSRC}/src/sysarg.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xrick ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/xrick.6.gz ${PREFIX}/man/man6/xrick.6.gz
	${MKDIR} ${PREFIX}/share/xrick
	${INSTALL_DATA} ${WRKSRC}/data.zip ${PREFIX}/share/xrick/data.zip

.include <bsd.port.mk>