summaryrefslogtreecommitdiff
path: root/games/xrick/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-04-02 05:09:34 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-04-02 05:09:34 +0000
commit7c9b83e1ec4018afeb70adbea4a7da76a92f4302 (patch)
treebe4a953492e7a8d663d4f7dd523b6185e8fbfb98 /games/xrick/Makefile
parentUpdate to 4.5.2 (diff)
Update to 021212.
PR: 50508 Submitted by: David Siebörger <drs@rucus.ru.ac.za> (maintainer)
Notes
Notes: svn path=/head/; revision=77943
Diffstat (limited to '')
-rw-r--r--games/xrick/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/games/xrick/Makefile b/games/xrick/Makefile
index 53072bf6e35b..aa26339c523d 100644
--- a/games/xrick/Makefile
+++ b/games/xrick/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xrick
-PORTVERSION= 010808
+PORTVERSION= 021212
CATEGORIES= games
MASTER_SITES= http://www.bigorno.net/xrick/
EXTRACT_SUFX= .tgz
@@ -14,18 +14,23 @@ EXTRACT_SUFX= .tgz
MAINTAINER= drs@rucus.ru.ac.za
COMMENT= A clone of Rick Dangerous
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
+LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
-WRKSRC= ${WRKDIR}/xrick
-HAS_CONFIGURE= yes
-CONFIGURE_SCRIPT= config
+NO_PACKAGE= 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>