Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2014 15:36:19 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342172 - head/games/barrage
Message-ID:  <201402011536.s11FaJVu033067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402011536.s11FaJVu033067>