From 32d21aac022762a1395935b50edc879d9d1d657d Mon Sep 17 00:00:00 2001 From: nemysis Date: Tue, 24 Dec 2013 16:48:19 +0000 Subject: - Change Makefile header - Change master sites - Change Desktop entry file - Support STAGEDIR Approved by: pawel / wg (mentors, implicit) --- games/impossible_mission_puzzle/Makefile | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'games') diff --git a/games/impossible_mission_puzzle/Makefile b/games/impossible_mission_puzzle/Makefile index 1b44efd26787..aed289cc2884 100644 --- a/games/impossible_mission_puzzle/Makefile +++ b/games/impossible_mission_puzzle/Makefile @@ -1,3 +1,4 @@ +# Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= impossible_mission_puzzle @@ -5,7 +6,7 @@ PORTVERSION= 1.0.1 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://www.linuxmotors.com/puzzle/downloads/ \ - SF/nemysisfreebsdp/:icons + SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= puzzle-${DISTVERSION}.tgz \ ${PORTNAME}.png:icons DIST_SUBDIR= ${PORTNAME} @@ -25,23 +26,19 @@ PLIST_FILES= bin/${PORTNAME} \ PORTDOCS= README -DESKTOP_ENTRIES="Impossible Mission puzzle" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} - -NO_STAGE= yes -.include +DESKTOP_ENTRIES="Impossible Mission puzzle" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" do-build: @cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \ `${SDL_CONFIG} --cflags --libs` puzzle.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include -- cgit