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= * +DESKTOP_ENTRIES="BumpRace" \ + "" \ + "${PORTNAME}" \ + "${PORTNAME}" \ + "Game;ArcadeGame;" \ + "" + OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure - 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 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/