Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2013 23:40:53 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177005: [MAINTAINER] games/3dpong: Removed dependency graphics/netpbm, icon from SF site
Message-ID:  <20130315224057.8DB90932@hub.freebsd.org>
Resent-Message-ID: <201303152250.r2FMo0nH043559@freefall.freebsd.org>

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

>Number:         177005
>Category:       ports
>Synopsis:       [MAINTAINER] games/3dpong: Removed dependency graphics/netpbm, icon from SF site
>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:   Fri Mar 15 22:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:

Makefile change:
+		SF/nemysisfreebsdp/:icons
+		${PORTNAME}.png:icons
-BUILD_DEPENDS=	giftopnm:${PORTSDIR}/graphics/netpbm
+		"${PORTNAME}" "Game;ArcadeGame;" false
-post-build:
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps/

Added file(s):
- pkg-plist

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 is now safe with NOPORTDOCS=yes in /etc/make.conf

port test: clean

>Fix:

--- 3dpong-0.5_6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/3dpong/Makefile ./Makefile
--- /usr/ports/games/3dpong/Makefile	2013-01-24 11:57:59.000000000 +0100
+++ ./Makefile	2013-03-15 23:32:26.000000000 +0100
@@ -2,13 +2,13 @@
 
 PORTNAME=	3dpong
 PORTVERSION=	0.5
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	games
 MASTER_SITES=	ftp://ftp.tuxpaint.org/unix/x/3dpong/src/ \
 		ftp://ftp.billsgames.com/unix/x/3dpong/src/ \
-		http://www.newbreedsoftware.com/images/prodicons/:icons
+		SF/nemysisfreebsdp/:icons
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
-		${PORTNAME}.gif:icons
+		${PORTNAME}.png:icons
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
@@ -17,8 +17,6 @@
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	giftopnm:${PORTSDIR}/graphics/netpbm
-
 USE_XORG=	x11
 USE_GMAKE=	yes
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
@@ -26,35 +24,23 @@
 
 MAN6=		${PORTNAME}.6
 
-PLIST_FILES=	bin/${PORTNAME} \
-		share/pixmaps/${PORTNAME}.png \
-		share/examples/${PORTNAME}/${PORTNAME}-handball.sh \
-		share/examples/${PORTNAME}/${PORTNAME}-vs-computer.sh
-PLIST_DIRS=	share/examples/${PORTNAME}
-
-PORTDATA=	*
 PORTDOCS=	AUTHORS.txt CHANGES.txt README.txt TODO.txt
 
 DESKTOP_ENTRIES="3D Pong" "${COMMENT}" "${PORTNAME}" \
-		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+		"${PORTNAME}" "Game;ArcadeGame;" false
 
 .include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|cat sounds/|cat ${DATADIR}/|g' ${WRKSRC}/src/3dpong.c
 
-post-build:
-	@(cd ${WRKSRC} && \
-		${LOCALBASE}/bin/giftopnm ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.gif | \
-		${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png)
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
 
 	${MKDIR} ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${DATADIR}
-	${INSTALL_MAN} ${WRKSRC}/src/${MAN6} ${MAN6PREFIX}/man/man6
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+	${INSTALL_MAN} ${WRKSRC}/src/${MAN6} ${MAN6PREFIX}/man/man6/
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
 
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/games/3dpong/distinfo ./distinfo
--- /usr/ports/games/3dpong/distinfo	2013-01-14 17:55:23.000000000 +0100
+++ ./distinfo	2013-03-15 23:23:59.000000000 +0100
@@ -1,4 +1,4 @@
 SHA256 (3dpong/3dpong-0.5.tar.gz) = b1557818319f482c1e0795192f013ecf998c9f1013033b542676d1bf743a6bc5
 SIZE (3dpong/3dpong-0.5.tar.gz) = 37004
-SHA256 (3dpong/3dpong.gif) = 52524304fd79bb31740ac59a6ce249cc8461112adca0e4f3ab57ff4ab5623a1f
-SIZE (3dpong/3dpong.gif) = 321
+SHA256 (3dpong/3dpong.png) = fad29ba55c9d0c3fd3240b8b7add7350de4775a652d52e3bd8e9b4135e23941b
+SIZE (3dpong/3dpong.png) = 270
diff -ruN --exclude=CVS /usr/ports/games/3dpong/pkg-plist ./pkg-plist
--- /usr/ports/games/3dpong/pkg-plist	1970-01-01 01:00:00.000000000 +0100
+++ ./pkg-plist	2013-03-15 23:26:00.000000000 +0100
@@ -0,0 +1,9 @@
+bin/3dpong
+%%DATADIR%%/hit.au
+%%DATADIR%%/score.au
+%%DATADIR%%/wall.au
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/3dpong-handball.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/3dpong-vs-computer.sh
+share/pixmaps/3dpong.png
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+@dirrm %%DATADIR%%
--- 3dpong-0.5_6.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?20130315224057.8DB90932>