ports/173346: [MAINTAINER] games/netwalk: Changed Makefile, added Desktop entries, removed all Notes
nemysis
nemysis at gmx.ch
Sun Nov 4 03:00:00 UTC 2012
>Number: 173346
>Category: ports
>Synopsis: [MAINTAINER] games/netwalk: Changed Makefile, added 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: Sun Nov 04 03: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:
+BUILD_DEPENDS= pamscale:${PORTSDIR}/graphics/netpbm
+post-build:
Changed and refined
post-install:
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
portlint -A
looks fine.
port test: clean
>Fix:
--- netwalk-0.4.10.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/netwalk/Makefile ./Makefile
--- /usr/ports/games/netwalk/Makefile 2012-10-03 21:51:47.000000000 +0200
+++ ./Makefile 2012-11-04 03:39:06.000000000 +0100
@@ -15,6 +15,8 @@
LICENSE= GPLv3
+BUILD_DEPENDS= pamscale:${PORTSDIR}/graphics/netpbm
+
USE_GITHUB= yes
GH_ACCOUNT= blynn
GH_PROJECT= ${PORTNAME}
@@ -43,7 +45,6 @@
.include <bsd.port.options.mk>
post-patch:
-# Fix SDL, CFLAGS, PREFIX
@${REINPLACE_CMD} \
-e 's|sdl-config|$(SDL_CONFIG)|' \
-e 's|CC=gcc|CC?=g++|' \
@@ -51,11 +52,14 @@
-e 's|PREFIX = /usr|PREFIX = ${PREFIX}|' \
${WRKSRC}/Makefile
+post-build:
+ @(cd ${WRKSRC} && \
+ ${LOCALBASE}/bin/pngtopnm ${DISTDIR}/${DIST_SUBDIR}/screenshot-0.4.8.png | \
+ ${LOCALBASE}/bin/pamscale .177 | ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png)
+
post-install:
-# Pixmaps
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/screenshot-0.4.8.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps
-# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
--- netwalk-0.4.10.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list