summaryrefslogtreecommitdiff
path: root/games/vor/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-10 23:16:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-10 23:16:02 +0000
commitb4c545310bf35ca9823231859978d4ff275a621e (patch)
tree4705307de464f3b7320c6850a5c12e211a72d343 /games/vor/Makefile
parent- Fix plist (diff)
Variations on Rockdodger (VoR) is a fork of Paul Holt's little gem Rock
Dodger, which has now accumulated enough differences to be worth releasing on its own. The premise is simple: dodge the rocks until you die. No shields, no weapons, no bonus lives, just pure rockdodgin' fun for your spare moments. VoR has ray-traced rocks, a free-scrolling screen, and "real" physics for your ship. Warning: this game is, if anything, harder than the original. It is intended to be a quickie game to kill a few spare moments here and there, not an epic space adventure. PR: ports/85818 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
Notes
Notes: svn path=/head/; revision=142404
Diffstat (limited to 'games/vor/Makefile')
-rw-r--r--games/vor/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/games/vor/Makefile b/games/vor/Makefile
new file mode 100644
index 000000000000..0950d9518e7d
--- /dev/null
+++ b/games/vor/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: vor
+# Date created: 07 Sep 2005
+# Whom: Dmitry Marakasov <amdmi3@mail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vor
+PORTVERSION= 0.3
+CATEGORIES= games
+MASTER_SITES= http://qualdan.com/vor/
+
+MAINTAINER= amdmi3@mail.ru
+COMMENT= Dodge the rocks until you die
+
+BUILD_DEPENDS= ${LOCALBASE}/include/argp.h:${PORTSDIR}/devel/argp-standalone
+
+USE_SDL= mixer image sdl
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+post-patch:
+.for file in main.c shape.h sound.h
+ @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/${file}
+.endfor
+.for file in shape.h score.c score.h debug.c
+ @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/${file}
+.endfor
+ @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|^\(my_objects.*\)$$|\1 ${LOCALBASE}/lib/libargp.a|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/share/vor|${PREFIX}/share/vor|g' ${WRKSRC}/config.h
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/vor ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}
+ ${MKDIR} ${DATADIR}/banners
+ ${MKDIR} ${DATADIR}/fonts
+ ${MKDIR} ${DATADIR}/icons
+ ${MKDIR} ${DATADIR}/indicators
+ ${MKDIR} ${DATADIR}/music
+ ${MKDIR} ${DATADIR}/sounds
+ ${MKDIR} ${DATADIR}/sprites
+ ${INSTALL_DATA} ${WRKSRC}/data/banners/* ${DATADIR}/banners/
+ ${INSTALL_DATA} ${WRKSRC}/data/fonts/* ${DATADIR}/fonts/
+ ${INSTALL_DATA} ${WRKSRC}/data/icons/* ${DATADIR}/icons/
+ ${INSTALL_DATA} ${WRKSRC}/data/indicators/* ${DATADIR}/indicators/
+ ${INSTALL_DATA} ${WRKSRC}/data/music/* ${DATADIR}/music/
+ ${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${DATADIR}/sounds/
+ ${INSTALL_DATA} ${WRKSRC}/data/sprites/* ${DATADIR}/sprites/
+
+.include <bsd.port.mk>