summaryrefslogtreecommitdiff
path: root/games/vor/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-04 19:43:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-04 19:43:26 +0000
commit3941c0065b98232ee14795f0c888c9bd89f860ca (patch)
tree4c555bfd2381a8dedc1f7792e049c7e510d3ff53 /games/vor/Makefile
parent- Update to 0.840 (diff)
* Update to 0.5.3
* Remove FreeBSD 4.x support PR: 113193 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=192738
Diffstat (limited to 'games/vor/Makefile')
-rw-r--r--games/vor/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/games/vor/Makefile b/games/vor/Makefile
index 8d9d0030c108..9a561a378e2b 100644
--- a/games/vor/Makefile
+++ b/games/vor/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= vor
-PORTVERSION= 0.5.2
-PORTREVISION= 1
+PORTVERSION= 0.5.3
CATEGORIES= games
MASTER_SITES= http://qualdan.com/vor/ \
http://www.amdmi3.ru/distfiles/
@@ -23,17 +22,11 @@ USE_GMAKE= yes
PORTDOCS= README
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/sound.c
@${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|${DATADIR}|' ${WRKSRC}/Makefile
-.if (${OSVERSION} < 500000)
- @${REINPLACE_CMD} -e 's|UINT32_MAX|0xffffffffU|' ${WRKSRC}/mt.c
- @${REINPLACE_CMD} -e 's|INT32_MIN|(-0x7fffffff-1)|' ${WRKSRC}/mt.c
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vor ${PREFIX}/bin
@@ -49,4 +42,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>