Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Nov 2012 22:57:56 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ak@FreeBSD.org
Subject:   ports/173429: [MAINTAINER] games/impossible_mission_puzzle: Changed Master site, Distfiles, Desktop entries, removed all notes
Message-ID:  <20121106215806.0F7C0CDF@hub.freebsd.org>
Resent-Message-ID: <201211062200.qA6M00Gv056824@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173429
>Category:       ports
>Synopsis:       [MAINTAINER] games/impossible_mission_puzzle: Changed Master site, Distfiles, Desktop entries, removed all notes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 06 22:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Makefile changed:
+MASTER_SITES=
+DISTFILES=
+DIST_SUBDIR=	${PORTNAME}
+EXTRACT_ONLY=	puzzle-${DISTVERSION}.tgz
+PLIST_FILES=
+DESKTOP_ENTRIES=


Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

>Fix:

--- impossible_mission_puzzle-1.0.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/impossible_mission_puzzle/Makefile ./Makefile
--- /usr/ports/games/impossible_mission_puzzle/Makefile	2012-08-25 08:25:11.000000000 +0200
+++ ./Makefile	2012-11-06 22:52:16.000000000 +0100
@@ -7,10 +7,14 @@
 
 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@gmx.ch
 COMMENT=	This is a puzzle from the old C64 Impossible Mission game
@@ -22,10 +26,14 @@
 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 +41,12 @@
 	`${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>
diff -ruN --exclude=CVS /usr/ports/games/impossible_mission_puzzle/distinfo ./distinfo
--- /usr/ports/games/impossible_mission_puzzle/distinfo	2012-05-19 12:23:04.000000000 +0200
+++ ./distinfo	2012-11-06 22:44:04.000000000 +0100
@@ -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
--- impossible_mission_puzzle-1.0.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121106215806.0F7C0CDF>