summaryrefslogtreecommitdiff
path: root/games/vor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/vor/Makefile')
-rw-r--r--games/vor/Makefile25
1 files changed, 9 insertions, 16 deletions
diff --git a/games/vor/Makefile b/games/vor/Makefile
index 125a3d4672ed..9724f8e29f8d 100644
--- a/games/vor/Makefile
+++ b/games/vor/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= vor
-PORTVERSION= 0.5.3
-PORTREVISION= 1
+PORTVERSION= 0.5.4
CATEGORIES= games
MASTER_SITES= http://qualdan.com/vor/ \
http://mirror.amdmi3.ru/
@@ -15,28 +14,22 @@ MASTER_SITES= http://qualdan.com/vor/ \
MAINTAINER= amdmi3@FreeBSD.org
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
+MAKE_JOBS_SAFE= yes
PORTDOCS= README
-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
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/vor ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
-.for d in *.png *.wav *.mod
- ${INSTALL_DATA} ${WRKSRC}/data/${d} ${DATADIR}/
-.endfor
+DESKTOP_ENTRIES="Variations on Rockdodger" \
+ "Dodge the rocks until you die" \
+ "${DATADIR}/icon.png" \
+ "vor" \
+ "Application;Game;" \
+ false
.if !defined(NOPORTDOCS)
+post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}