diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-10-01 06:55:34 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-10-01 06:55:34 +0800 |
commit | 9f5f61f6c9720b0721088fcc5a8bc8a2686ee8c7 (patch) | |
tree | 4140436ffe4cde559cfe091526cdf902c296fdca /games | |
parent | 9f5cb07663910d169cdeaf43368086576f5f2bc4 (diff) | |
download | freebsd-ports-gnome-9f5f61f6c9720b0721088fcc5a8bc8a2686ee8c7.tar.gz freebsd-ports-gnome-9f5f61f6c9720b0721088fcc5a8bc8a2686ee8c7.tar.zst freebsd-ports-gnome-9f5f61f6c9720b0721088fcc5a8bc8a2686ee8c7.zip |
- Switch to upstream versioning scheme (this is not really an update)
- Add LICENSE
- Add missing glu dependency
- Install documentation
- Cosmetic fixes
Diffstat (limited to 'games')
-rw-r--r-- | games/tomatoes/Makefile | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/games/tomatoes/Makefile b/games/tomatoes/Makefile index 48eeb36b2f8c..14938874ed7f 100644 --- a/games/tomatoes/Makefile +++ b/games/tomatoes/Makefile @@ -2,22 +2,23 @@ # $FreeBSD$ PORTNAME= tomatoes -PORTVERSION= 1.5 -PORTREVISION= 16 +PORTVERSION= 1.55 CATEGORIES= games MASTER_SITES= SF -DISTFILES= ${PORTNAME}-linux-src-${PORTVERSION}5${EXTRACT_SUFX} \ - ${PORTNAME}-linux-${PORTVERSION}${EXTRACT_SUFX} +DISTFILES= ${PORTNAME}-linux-src-${PORTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}-linux-${DATAVERSION}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tomato-smashing, Q-Bert style -WRKSRC= ${WRKDIR}/tomatoes-${PORTVERSION}5 -TDATA= ${WRKDIR}/tomatoes-${PORTVERSION} +LICENSE= ZLIB + +DATAVERSION= 1.5 +DATA_WRKSRC= ${WRKDIR}/tomatoes-${DATAVERSION} USES= tar:bzip2 gmake USE_SDL= mixer image -USE_GL= gl +USE_GL= gl glu MAKEFILE= makefile MAKE_ARGS= CC="${CXX}" \ MPKDIR="${DATADIR}/" \ @@ -27,26 +28,34 @@ MAKE_ARGS= CC="${CXX}" \ CFLAGS="${CXXFLAGS} ${SDL_CFLAGS}" \ LDFLAGS="${SDL_LDFLAGS}" -PLIST_FILES= bin/${PORTNAME} -PORTDATA= * - SDL_CFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include SDL_LDFLAGS= `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer \ -L${LOCALBASE}/lib -lGL -lGLU +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.png +PORTDATA= * +PORTDOCS= * + DESKTOP_ENTRIES="Tomatoes" \ - "${COMMENT}" \ - "${DATADIR}/icon.png" \ + "" \ + "${PORTNAME}" \ "${PORTNAME}" \ "Game;ArcadeGame;" \ false +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DATADIR}/music - ${INSTALL_DATA} ${TDATA}/config.cfg ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${TDATA}/tomatoes.mpk ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/icon.png ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${TDATA}/music/IHaveNoTomatoes.it ${STAGEDIR}${DATADIR}/music + ${INSTALL_DATA} ${WRKSRC}/icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + @${MKDIR} ${STAGEDIR}${DATADIR}/music + ${INSTALL_DATA} ${DATA_WRKSRC}/config.cfg ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${DATA_WRKSRC}/tomatoes.mpk ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${DATA_WRKSRC}/music/IHaveNoTomatoes.it ${STAGEDIR}${DATADIR}/music + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DATA_WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |