svn commit: r307148 - head/games/impossible_mission_puzzle
Alex Kozlov
ak at FreeBSD.org
Wed Nov 7 22:54:57 UTC 2012
Author: ak
Date: Wed Nov 7 22:54:57 2012
New Revision: 307148
URL: http://svnweb.freebsd.org/changeset/ports/307148
Log:
- Convert Makefile headers to new style
- Add DESKTOP_ENTRIES [1]
- Remove redundant comments [1]
PR: ports/173429 [1]
Submitted by: nemysis <nemysis at gmx.ch> (maintainer) [1]
Feature safe: yes
Modified:
head/games/impossible_mission_puzzle/Makefile
head/games/impossible_mission_puzzle/distinfo (contents, props changed)
Modified: head/games/impossible_mission_puzzle/Makefile
==============================================================================
--- head/games/impossible_mission_puzzle/Makefile Wed Nov 7 22:08:39 2012 (r307147)
+++ head/games/impossible_mission_puzzle/Makefile Wed Nov 7 22:54:57 2012 (r307148)
@@ -1,16 +1,15 @@
-# New Ports collection makefile for: impossible_mission_puzzle
-# Date created: 2012-04-27
-# Whom: nemysis at gmx.ch
-#
# $FreeBSD$
-#
PORTNAME= impossible_mission_puzzle
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= http://www.linuxmotors.com/puzzle/downloads/
-DISTNAME= puzzle-${PORTVERSION}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://www.linuxmotors.com/puzzle/downloads/ \
+ SF/nemysisfreebsdp/:icons
+DISTFILES= puzzle-${DISTVERSION}.tgz \
+ ${PORTNAME}.png:icons
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= puzzle-${DISTVERSION}.tgz
MAINTAINER= nemysis at gmx.ch
COMMENT= This is a puzzle from the old C64 Impossible Mission game
@@ -22,10 +21,14 @@ WRKSRC= ${WRKDIR}/puzzle-${PORTVERSION}
USE_SDL= sdl
MAKE_JOBS_SAFE= yes
-PLIST_FILES= bin/impossible_mission_puzzle
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
PORTDOCS= README
+DESKTOP_ENTRIES="Impossible Mission puzzle" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
.include <bsd.port.options.mk>
do-build:
@@ -33,13 +36,12 @@ do-build:
`${SDL_CONFIG} --cflags --libs` puzzle.c
do-install:
-# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
-# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
Modified: head/games/impossible_mission_puzzle/distinfo
==============================================================================
--- head/games/impossible_mission_puzzle/distinfo Wed Nov 7 22:08:39 2012 (r307147)
+++ head/games/impossible_mission_puzzle/distinfo Wed Nov 7 22:54:57 2012 (r307148)
@@ -1,2 +1,4 @@
-SHA256 (puzzle-1.0.1.tgz) = ea6bf4e2edc4c9ed1f5656355e5f25a9666f8060fd53849ee7822f29c6597578
-SIZE (puzzle-1.0.1.tgz) = 4414
+SHA256 (impossible_mission_puzzle/puzzle-1.0.1.tgz) = ea6bf4e2edc4c9ed1f5656355e5f25a9666f8060fd53849ee7822f29c6597578
+SIZE (impossible_mission_puzzle/puzzle-1.0.1.tgz) = 4414
+SHA256 (impossible_mission_puzzle/impossible_mission_puzzle.png) = dc6f99bdf7ab2fab500f833136ff4ea996c3584cba97d553177cd116b17b9cff
+SIZE (impossible_mission_puzzle/impossible_mission_puzzle.png) = 526324
More information about the svn-ports-all
mailing list