2013-09-20 19:36:33 +02:00
|
|
|
|
# Created by: David Sieb<65>rger <drs@rucus.ru.ac.za>
|
2002-06-23 10:38:08 +02:00
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
|
|
PORTNAME= xrick
|
2003-04-02 07:09:34 +02:00
|
|
|
|
PORTVERSION= 021212
|
2014-12-08 17:48:38 +01:00
|
|
|
|
PORTREVISION= 10
|
2002-06-23 10:38:08 +02:00
|
|
|
|
CATEGORIES= games
|
|
|
|
|
MASTER_SITES= http://www.bigorno.net/xrick/
|
|
|
|
|
|
2014-02-18 19:17:46 +01:00
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-04-12 22:04:19 +02:00
|
|
|
|
COMMENT= Clone of Rick Dangerous
|
2002-06-23 10:38:08 +02:00
|
|
|
|
|
2003-07-30 22:42:41 +02:00
|
|
|
|
RESTRICTED= Copyright status of the graphics and sounds is uncertain
|
2015-06-22 20:33:20 +02:00
|
|
|
|
USES= gmake jpeg tar:tgz
|
2004-03-08 02:01:31 +01:00
|
|
|
|
USE_SDL= sdl
|
2002-06-23 10:38:08 +02:00
|
|
|
|
|
2014-04-12 22:04:19 +02:00
|
|
|
|
PLIST_FILES= bin/xrick man/man6/xrick.6.gz share/xrick/data.zip
|
2014-12-22 22:38:23 +01:00
|
|
|
|
PLIST_DIRS= share/xrick
|
2002-06-23 10:38:08 +02:00
|
|
|
|
|
2003-04-02 07:09:34 +02:00
|
|
|
|
post-patch:
|
|
|
|
|
@${REINPLACE_CMD} -e 's|sysarg_args_data = NULL|sysarg_args_data = "${PREFIX}/share/xrick/data.zip"|' ${WRKSRC}/src/sysarg.c
|
2014-04-12 22:04:19 +02:00
|
|
|
|
@${REINPLACE_CMD} 's|gcc|${CC}|; s|-g||; s|-O2|${CFLAGS}|' \
|
|
|
|
|
${WRKSRC}/Makefile
|
2003-04-02 07:09:34 +02:00
|
|
|
|
|
2002-06-23 10:38:08 +02:00
|
|
|
|
do-install:
|
2014-04-12 22:04:19 +02:00
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xrick ${STAGEDIR}${PREFIX}/bin
|
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xrick.6.gz ${STAGEDIR}${PREFIX}/man/man6
|
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/xrick
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data.zip ${STAGEDIR}${PREFIX}/share/xrick
|
2002-06-23 10:38:08 +02:00
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|