- Update to 1.5.6

- Switch to USES=localbase
- Switch to options helpers
- Add desktop entry
This commit is contained in:
Dmitry Marakasov 2016-11-14 09:39:21 +00:00
parent c5dfcfc323
commit 173469dbc4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426095
3 changed files with 25 additions and 16 deletions

View File

@ -2,33 +2,41 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= bumprace PORTNAME= bumprace
PORTVERSION= 1.5.3 PORTVERSION= 1.5.6
PORTREVISION= 10
CATEGORIES= games CATEGORIES= games
MASTER_SITES= http://user.cs.tu-berlin.de/~karlb/bumprace/ \ MASTER_SITES= https://bitbucket.org/karlb/bumprace/get/ \
http://mirror.amdmi3.ru/distfiles/ http://mirror.amdmi3.ru/distfiles/${DIST_SUBDIR}/
DISTNAME= ${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= amdmi3@FreeBSD.org MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple arcade racing game COMMENT= Simple arcade racing game
WRKSRC= ${WRKDIR}/karlb-bumprace-047c7a593bcc
USES= gmake jpeg localbase tar:bz2
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USES= gmake
USE_SDL= sdl mixer image USE_SDL= sdl mixer image
CPPFLAGS+= -I${LOCALBASE}/include PLIST_FILES= bin/${PORTNAME} \
LDFLAGS+= -L${LOCALBASE}/lib share/pixmaps/${PORTNAME}.png
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= * PORTDOCS= *
PORTDATA= * PORTDATA= *
DESKTOP_ENTRIES="BumpRace" \
"" \
"${PORTNAME}" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
""
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
post-install: 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} ${INSTALL_DATA} ${WRKSRC}/FAQ ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (bumprace-1.5.3.tar.gz) = 000fe3fe517546c84a9173b37bafa511be1662d758559035a20372c141ed1b3e TIMESTAMP = 1478894629
SIZE (bumprace-1.5.3.tar.gz) = 906459 SHA256 (bumprace/1.5.6.tar.bz2) = 7ec7924982196a0c19a801cb32843ff0b0c76084a9712b1a8ba38002bae3b665
SIZE (bumprace/1.5.6.tar.bz2) = 1013191

View File

@ -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 must acquire bonuses and avoid traps and enemy fire in a race against
the clock. the clock.
WWW: http://www.linux-games.com/bumprace/index.html WWW: http://www.linux-games.com/bumprace/