From 73ec8f535246323718c83fe7c750b948c25572d0 Mon Sep 17 00:00:00 2001 From: nemysis Date: Tue, 24 Dec 2013 08:20:21 +0000 Subject: - Bump PORTREVISION - Change master sites and icon - Support STAGEDIR - Add DOCS Option - Add Desktop entry file - Simplify Makefile - Add patches, fix bad C++ code Approved by: pawel / wg (mentors, implicit) --- games/icbm3d/Makefile | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'games/icbm3d/Makefile') diff --git a/games/icbm3d/Makefile b/games/icbm3d/Makefile index 9759b99d1377..e58773b68e09 100644 --- a/games/icbm3d/Makefile +++ b/games/icbm3d/Makefile @@ -3,43 +3,40 @@ PORTNAME= icbm3d PORTVERSION= 0.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/icbm3d/ \ ftp://ftp.billsgames.com/unix/x/icbm3d/ \ - http://www.newbreedsoftware.com/images/prodicons/:icons + SF/nemysisfreebsdp/games/${PORTNAME}/:icons DISTFILES= ${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX} \ - ${PORTNAME}.gif:icons + ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= nemysis@FreeBSD.org COMMENT= Inter-Continental Ballistic Missiles, 3D -WRKSRC= ${WRKDIR}/icbm3d +WRKSRC= ${WRKDIR}/${PORTNAME} USE_XORG= x11 MAKEFILE= makefile ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}.gif + share/pixmaps/${PORTNAME}.png PORTDOCS= README.txt -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS -do-install: -# Executable - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +DESKTOP_ENTRIES="ICBM3D" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" -# Pixmaps - ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.gif ${PREFIX}/share/pixmaps/ +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ -# Documentation -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include -- cgit