aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-12-25 00:48:19 +0800
committernemysis <nemysis@FreeBSD.org>2013-12-25 00:48:19 +0800
commit32d21aac022762a1395935b50edc879d9d1d657d (patch)
tree2551406d956f7690115372ec5efdbe167adb97d0 /games
parent608f25f0f7cd6f995ab3b9145e49f8079d16f44f (diff)
downloadfreebsd-ports-gnome-32d21aac022762a1395935b50edc879d9d1d657d.tar.gz
freebsd-ports-gnome-32d21aac022762a1395935b50edc879d9d1d657d.tar.zst
freebsd-ports-gnome-32d21aac022762a1395935b50edc879d9d1d657d.zip
- Change Makefile header
- Change master sites - Change Desktop entry file - Support STAGEDIR Approved by: pawel / wg (mentors, implicit)
Diffstat (limited to 'games')
-rw-r--r--games/impossible_mission_puzzle/Makefile21
1 files changed, 9 insertions, 12 deletions
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 <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>