Bug 173873 - [PATCH] games/barrage: Added license, OptionsNG, Portdocs, take maintainership
Summary: [PATCH] games/barrage: Added license, OptionsNG, Portdocs, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 20:10 UTC by nemysis
Modified: 2014-02-01 15:40 UTC (History)
0 users

See Also:


Attachments
barrage-1.0.4_2.patch (1.67 KB, patch)
2012-11-23 20:10 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-11-23 20:10:00 UTC
- 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.
Comment 1 Wesley Shields freebsd_committer freebsd_triage 2012-11-29 16:35:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-08-14 10:57:49 UTC
Responsible Changed
From-To: wxs->nemysis

submitter is committer now
Comment 3 Rusmir Dusko freebsd_committer freebsd_triage 2014-02-01 15:29:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-02-01 15:36:26 UTC
Author: nemysis
Date: Sat Feb  1 15:36:19 2014
New Revision: 342172
URL: http://svnweb.freebsd.org/changeset/ports/342172
QAT: https://qat.redports.org/buildarchive/r342172/

Log:
  - Bump PORTREVISION
  - Take maintainership
  - Add license (GPLv2)
  - Remove useless CONFIGURE_ARGS, not working since Years
  - Add DOCS and Option
  - Symlink the icon
  - Change pkg-plist, remove mtree
  
  PR:		ports/173873
  Submitted by:	nemysis (self)

Modified:
  head/games/barrage/Makefile
  head/games/barrage/pkg-plist

Modified: head/games/barrage/Makefile
==============================================================================
--- head/games/barrage/Makefile	Sat Feb  1 15:33:41 2014	(r342171)
+++ head/games/barrage/Makefile	Sat Feb  1 15:36:19 2014	(r342172)
@@ -3,20 +3,33 @@
 
 PORTNAME=	barrage
 PORTVERSION=	1.0.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
-MASTER_SITES=	SF/lgames/${PORTNAME}
+MASTER_SITES=	SF/lgames/${PORTNAME}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Destroy as many targets as possible
 
-USE_SDL=	sdl mixer
+LICENSE=	GPLv2
+
 USES=		gmake
+USE_SDL=	sdl mixer
 GNU_CONFIGURE=	yes
+
 INSTALLS_ICONS=	yes
-CONFIGURE_ARGS=	--with-profile-path=/var/games
+
+PORTDOCS=	AUTHORS BUGS ChangeLog README
+
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/configure
 
+post-install:
+	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>

Modified: head/games/barrage/pkg-plist
==============================================================================
--- head/games/barrage/pkg-plist	Sat Feb  1 15:33:41 2014	(r342171)
+++ head/games/barrage/pkg-plist	Sat Feb  1 15:36:19 2014	(r342172)
@@ -26,14 +26,7 @@ share/applications/barrage.desktop
 share/icons/hicolor/16x16/apps/barrage.png
 share/icons/hicolor/32x32/apps/barrage.png
 share/icons/hicolor/48x48/apps/barrage.png
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
+share/pixmaps/barrage.png
 @dirrm %%DATADIR%%/sounds
 @dirrm %%DATADIR%%/gfx
 @dirrm %%DATADIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"