2002-06-23 08:38:08 +00:00
|
|
|
|
# New ports collection makefile for: xrick
|
|
|
|
|
# Date created: 15 March 2002
|
|
|
|
|
# Whom: David Sieb<65>rger <drs@rucus.ru.ac.za>
|
|
|
|
|
#
|
|
|
|
|
# $FreeBSD$
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
PORTNAME= xrick
|
2003-04-02 05:09:34 +00:00
|
|
|
|
PORTVERSION= 021212
|
2004-03-16 04:23:56 +00:00
|
|
|
|
PORTREVISION= 2
|
2002-06-23 08:38:08 +00:00
|
|
|
|
CATEGORIES= games
|
|
|
|
|
MASTER_SITES= http://www.bigorno.net/xrick/
|
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
|
|
MAINTAINER= drs@rucus.ru.ac.za
|
2003-02-21 12:06:51 +00:00
|
|
|
|
COMMENT= A clone of Rick Dangerous
|
2002-06-23 08:38:08 +00:00
|
|
|
|
|
2004-01-20 21:18:12 +00:00
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
2002-06-23 08:38:08 +00:00
|
|
|
|
|
2003-07-30 20:42:41 +00:00
|
|
|
|
RESTRICTED= Copyright status of the graphics and sounds is uncertain
|
2002-06-23 08:38:08 +00:00
|
|
|
|
USE_GMAKE= yes
|
2003-04-02 05:09:34 +00:00
|
|
|
|
USE_REINPLACE= yes
|
2004-03-08 01:01:31 +00:00
|
|
|
|
USE_SDL= sdl
|
2002-06-23 08:38:08 +00:00
|
|
|
|
|
|
|
|
|
MAN6= xrick.6
|
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
|
2003-04-02 05:09:34 +00:00
|
|
|
|
post-patch:
|
|
|
|
|
@${REINPLACE_CMD} -e 's|sysarg_args_data = NULL|sysarg_args_data = "${PREFIX}/share/xrick/data.zip"|' ${WRKSRC}/src/sysarg.c
|
|
|
|
|
|
2002-06-23 08:38:08 +00:00
|
|
|
|
do-install:
|
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xrick ${PREFIX}/bin
|
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xrick.6.gz ${PREFIX}/man/man6/xrick.6.gz
|
2003-04-02 05:09:34 +00:00
|
|
|
|
${MKDIR} ${PREFIX}/share/xrick
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data.zip ${PREFIX}/share/xrick/data.zip
|
2002-06-23 08:38:08 +00:00
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|