Date: Tue, 24 Dec 2013 16:48:19 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337373 - head/games/impossible_mission_puzzle Message-ID: <201312241648.rBOGmJKv078628@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Tue Dec 24 16:48:19 2013 New Revision: 337373 URL: http://svnweb.freebsd.org/changeset/ports/337373 Log: - Change Makefile header - Change master sites - Change Desktop entry file - Support STAGEDIR Approved by: pawel / wg (mentors, implicit) Modified: head/games/impossible_mission_puzzle/Makefile Modified: head/games/impossible_mission_puzzle/Makefile ============================================================================== --- head/games/impossible_mission_puzzle/Makefile Tue Dec 24 16:34:46 2013 (r337372) +++ head/games/impossible_mission_puzzle/Makefile Tue Dec 24 16:48:19 2013 (r337373) @@ -1,3 +1,4 @@ +# Created by: Rusmir Dusko <nemysis@FreeBSD.org> # $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 <bsd.port.options.mk> +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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312241648.rBOGmJKv078628>