Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Nov 2012 07:42:00 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/173355: [MAINTAINER] games/black-box: Makefile changed, added Desktop entries, icons
Message-ID:  <20121104064204.4ED18605@hub.freebsd.org>
Resent-Message-ID: <201211040650.qA46o06E065085@freefall.freebsd.org>

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

>Number:         173355
>Category:       ports
>Synopsis:       [MAINTAINER] games/black-box: Makefile changed, added Desktop entries, icons
>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:   Sun Nov 04 06:50: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:
+		SF/nemysisfreebsdp/:icons
+		${PORTNAME}.png:icons
+PLIST_FILES=
+DESKTOP_ENTRIES=

Changed and refined
 post-install:

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- black-box-1.4.8_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/black-box/Makefile ./Makefile
--- /usr/ports/games/black-box/Makefile	2012-08-09 07:36:06.000000000 +0200
+++ ./Makefile	2012-11-04 07:38:21.000000000 +0100
@@ -7,8 +7,13 @@
 
 PORTNAME=	black-box
 PORTVERSION=	1.4.8
+PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	http://www.linux-games.com/black-box/
+MASTER_SITES=	http://www.linux-games.com/black-box/ \
+		SF/nemysisfreebsdp/:icons
+DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Shoot in and watch where the shot leaves the box
@@ -19,19 +24,23 @@
 USE_SDL=	sdl image mixer
 MAKE_JOBS_SAFE=	yes
 
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
 
 PORTDATA=	*
 PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README
 
+DESKTOP_ENTRIES="Black-Box" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
 .include <bsd.port.options.mk>
 
 post-install:
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.  for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.  endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/black-box/distinfo ./distinfo
--- /usr/ports/games/black-box/distinfo	2012-05-15 12:01:55.000000000 +0200
+++ ./distinfo	2012-11-04 07:33:17.000000000 +0100
@@ -1,2 +1,4 @@
 SHA256 (black-box-1.4.8.tar.gz) = 9cf6a31a96e487c86973a4fe4603ed16709b6196de872d34f8df785c809b73bd
 SIZE (black-box-1.4.8.tar.gz) = 359256
+SHA256 (black-box.png) = 0d19636212b74e847600841ae66b3c769a4c999d75237192bb78455004d6be16
+SIZE (black-box.png) = 5223
--- black-box-1.4.8_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?20121104064204.4ED18605>