ports/173873: [PATCH] games/barrage: Added license, OptionsNG, Portdocs, take maintainership
nemysis
nemysis at gmx.ch
Fri Nov 23 20:10:00 UTC 2012
>Number: 173873
>Category: ports
>Synopsis: [PATCH] games/barrage: Added license, OptionsNG, Portdocs, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 23 20:10: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:
- Take maintainership
Makefile changed:
+LICENSE= GPLv2
-CONFIGURE_ARGS= --with-profile-path=/var/games
+PORTDOCS= AUTHORS BUGS ChangeLog README
+INSTALLS_ICONS= yes
+.include <bsd.port.options.mk>
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
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
Can't give build log, because RedPorts not works at the time.
>Fix:
--- barrage-1.0.4_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/barrage/Makefile ./Makefile
--- /usr/ports/games/barrage/Makefile 2012-11-16 09:01:41.000000000 +0100
+++ ./Makefile 2012-11-16 03:51:34.000000000 +0100
@@ -2,24 +2,40 @@
# Date created: 23 April 2003
# Whom: Kirill Ponomarew <ponomarew at oberon.net>
#
-# $FreeBSD: head/games/barrage/Makefile 300896 2012-07-14 13:54:48Z beat $
+# $FreeBSD: ports/games/barrage/Makefile,v 1.25 2012/02/18 10:17:38 mva Exp $
#
PORTNAME= barrage
PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/lgames/${PORTNAME}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= nemysis at gmx.ch
COMMENT= Destroy as many targets as possible
+LICENSE= GPLv2
+
USE_SDL= sdl mixer
-USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-profile-path=/var/games
+USE_GMAKE= yes
+
+PORTDOCS= AUTHORS BUGS ChangeLog README
+
+INSTALLS_ICONS= yes
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|barrage.png|barrage|' ${WRKSRC}/barrage.desktop
+
+post-install:
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/barrage/pkg-plist ./pkg-plist
--- /usr/ports/games/barrage/pkg-plist 2012-11-16 09:01:41.000000000 +0100
+++ ./pkg-plist 2012-11-16 03:40:53.000000000 +0100
@@ -1,5 +1,6 @@
bin/barrage
share/applications/barrage.desktop
+share/pixmaps/barrage.png
%%DATADIR%%/gfx/ammo.bmp
%%DATADIR%%/gfx/crater.bmp
%%DATADIR%%/gfx/cursors.bmp
--- barrage-1.0.4_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list