Index: head/games/blockout/Makefile =================================================================== --- head/games/blockout/Makefile (revision 438593) +++ head/games/blockout/Makefile (revision 438594) @@ -1,46 +1,54 @@ # Created by: Stas Timokhin # $FreeBSD$ PORTNAME= blockout PORTVERSION= 2.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/BlockOut%20${PORTVERSION}/ \ http://www.stasyan.com/devel/distfiles/ DISTFILES= bl25-src${EXTRACT_SUFX} bl25-linux-x86${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= BlockOut II is an adaptation of the original Blockout DOS game LICENSE= GPLv2+ LIB_DEPENDS= libasound.so:audio/alsa-lib ONLY_FOR_ARCHS= i386 amd64 USE_SDL= mixer sdl USES= gmake dos2unix DOS2UNIX_FILES= ${WRKSRC}/ImageLib/src/gif/gif.h \ ${WRKSRC}/ImageLib/src/gif/gif.cpp ${WRKSRC}/BlockOut/*.cpp USE_GL= gl glu WRKSRC= ${WRKDIR}/BL_SRC BUILD_WRKSRC= ${WRKSRC}/BlockOut OPTIONS_DEFINE= DOCS +DESKTOP_ENTRIES="BlockOut" \ + "" \ + "${PREFIX}/share/pixmaps/block_icon.ico" \ + "${PORTNAME}" \ + "" \ + "" + post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/BlockOut/Utils.cpp pre-build: cd ${WRKSRC}/ImageLib/src && ${DO_MAKE_BUILD} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/BlockOut/blockout ${STAGEDIR}${PREFIX}/bin cd ${WRKDIR}/blockout && ${COPYTREE_SHARE} "images sounds" ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/BlockOut/block_icon.ico ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} .include Index: head/games/blockout/pkg-plist =================================================================== --- head/games/blockout/pkg-plist (revision 438593) +++ head/games/blockout/pkg-plist (revision 438594) @@ -1,35 +1,36 @@ bin/blockout +share/pixmaps/block_icon.ico %%DATADIR%%/images/background.png %%DATADIR%%/images/background2.png %%DATADIR%%/images/background3.png %%DATADIR%%/images/font.png %%DATADIR%%/images/gameover.png %%DATADIR%%/images/gameovera.png %%DATADIR%%/images/marble.png %%DATADIR%%/images/marbleg.png %%DATADIR%%/images/menuback.png %%DATADIR%%/images/menucredits.png %%DATADIR%%/images/menufont.png %%DATADIR%%/images/menufont2.png %%DATADIR%%/images/menupit.png %%DATADIR%%/images/online.png %%DATADIR%%/images/onlinea.png %%DATADIR%%/images/spark.png %%DATADIR%%/images/sparka.png %%DATADIR%%/images/sprites.png %%DATADIR%%/images/spritesa.png %%DATADIR%%/images/star_crystal_grid.png %%DATADIR%%/sounds/blub.wav %%DATADIR%%/sounds/empty.wav %%DATADIR%%/sounds/empty2.wav %%DATADIR%%/sounds/hit.wav %%DATADIR%%/sounds/level.wav %%DATADIR%%/sounds/level2.wav %%DATADIR%%/sounds/line.wav %%DATADIR%%/sounds/line2.wav %%DATADIR%%/sounds/music.ogg %%DATADIR%%/sounds/tchh.wav %%DATADIR%%/sounds/welldone.wav %%DATADIR%%/sounds/welldone2.wav %%DATADIR%%/sounds/wozz.wav %%PORTDOCS%%%%DOCSDIR%%/README.txt