summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-14 09:39:21 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-14 09:39:21 +0000
commit173469dbc4df0e9c78d2f74987242bb8ed6775d6 (patch)
treeec6e37ed58e417ea46b9fa921adf776c7e29c2da
parent- Add LICENSE (diff)
- Update to 1.5.6
- Switch to USES=localbase - Switch to options helpers - Add desktop entry
Notes
Notes: svn path=/head/; revision=426095
-rw-r--r--games/bumprace/Makefile34
-rw-r--r--games/bumprace/distinfo5
-rw-r--r--games/bumprace/pkg-descr2
3 files changed, 25 insertions, 16 deletions
diff --git a/games/bumprace/Makefile b/games/bumprace/Makefile
index 114da411eb69..fbb64eef3d37 100644
--- a/games/bumprace/Makefile
+++ b/games/bumprace/Makefile
@@ -2,33 +2,41 @@
# $FreeBSD$
PORTNAME= bumprace
-PORTVERSION= 1.5.3
-PORTREVISION= 10
+PORTVERSION= 1.5.6
CATEGORIES= games
-MASTER_SITES= http://user.cs.tu-berlin.de/~karlb/bumprace/ \
- http://mirror.amdmi3.ru/distfiles/
+MASTER_SITES= https://bitbucket.org/karlb/bumprace/get/ \
+ http://mirror.amdmi3.ru/distfiles/${DIST_SUBDIR}/
+DISTNAME= ${PORTVERSION}
+DIST_SUBDIR= ${PORTNAME}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple arcade racing game
+WRKSRC= ${WRKDIR}/karlb-bumprace-047c7a593bcc
+
+USES= gmake jpeg localbase tar:bz2
GNU_CONFIGURE= yes
-USES= gmake
USE_SDL= sdl mixer image
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
PORTDOCS= *
PORTDATA= *
-OPTIONS_DEFINE= DOCS
+DESKTOP_ENTRIES="BumpRace" \
+ "" \
+ "${PORTNAME}" \
+ "${PORTNAME}" \
+ "Game;ArcadeGame;" \
+ ""
-post-patch:
- @${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
+OPTIONS_DEFINE= DOCS
post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/macosx/icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/FAQ ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/bumprace/distinfo b/games/bumprace/distinfo
index f3752a63877a..ba5d4542a05c 100644
--- a/games/bumprace/distinfo
+++ b/games/bumprace/distinfo
@@ -1,2 +1,3 @@
-SHA256 (bumprace-1.5.3.tar.gz) = 000fe3fe517546c84a9173b37bafa511be1662d758559035a20372c141ed1b3e
-SIZE (bumprace-1.5.3.tar.gz) = 906459
+TIMESTAMP = 1478894629
+SHA256 (bumprace/1.5.6.tar.bz2) = 7ec7924982196a0c19a801cb32843ff0b0c76084a9712b1a8ba38002bae3b665
+SIZE (bumprace/1.5.6.tar.bz2) = 1013191
diff --git a/games/bumprace/pkg-descr b/games/bumprace/pkg-descr
index 0066a0366d65..8e678d595708 100644
--- a/games/bumprace/pkg-descr
+++ b/games/bumprace/pkg-descr
@@ -3,4 +3,4 @@ among 4 vehicles and race through a multi-level maze. The players
must acquire bonuses and avoid traps and enemy fire in a race against
the clock.
-WWW: http://www.linux-games.com/bumprace/index.html
+WWW: http://www.linux-games.com/bumprace/