Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 12:40:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308238 - head/games/violetland
Message-ID:  <201212041240.qB4CeOUa084270@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec  4 12:40:23 2012
New Revision: 308238
URL: http://svnweb.freebsd.org/changeset/ports/308238

Log:
  - Update to 0.4.3
  - Install documentation
  - Use upstream .desktop file
  
  Feature safe:	yes

Modified:
  head/games/violetland/Makefile
  head/games/violetland/distinfo
  head/games/violetland/pkg-plist

Modified: head/games/violetland/Makefile
==============================================================================
--- head/games/violetland/Makefile	Tue Dec  4 12:38:53 2012	(r308237)
+++ head/games/violetland/Makefile	Tue Dec  4 12:40:23 2012	(r308238)
@@ -1,13 +1,8 @@
-# New ports collection makefile for:	violetland
-# Date created:		25 Oct 2009
-# Whom:			Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	violetland
-PORTVERSION=	0.4.1
-PORTREVISION=	2
+PORTVERSION=	0.4.3
 CATEGORIES=	games
 MASTER_SITES=	GOOGLE_CODE \
 		http://mirror.amdmi3.ru/distfiles/
@@ -28,15 +23,23 @@ CMAKE_ARGS=	-DDATA_INSTALL_DIR="${DATADI
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-v${PORTVERSION}
 
-DESKTOP_ENTRIES="Violetland" \
-		"Top-down survival shoot 'em up" \
-		"${DATADIR}/icon-light.png" \
-		"violetland" \
-		"Game;ArcadeGame;" \
-		false
+PORTDOCS=	CHANGELOG README_EN.TXT README_RU.TXT
+
+
+.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e '/set.libList/ s|)| ${LOCALBASE}/lib/libintl.so&|' \
 		${WRKSRC}/CMakeLists.txt
 
+post-install:
+	${MKDIR} ${DESKTOPDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
 .include <bsd.port.mk>

Modified: head/games/violetland/distinfo
==============================================================================
--- head/games/violetland/distinfo	Tue Dec  4 12:38:53 2012	(r308237)
+++ head/games/violetland/distinfo	Tue Dec  4 12:40:23 2012	(r308238)
@@ -1,2 +1,2 @@
-SHA256 (violetland-v0.4.1-src.zip) = dfdcc68cb1780fbe5597d672d41d28c593f1821c204b214b898664c69084d5bc
-SIZE (violetland-v0.4.1-src.zip) = 9422959
+SHA256 (violetland-v0.4.3-src.zip) = 790565a752fa10152f2c6f55676c3fa5ffbc45678822ac7d082d815b1798767e
+SIZE (violetland-v0.4.3-src.zip) = 9418609

Modified: head/games/violetland/pkg-plist
==============================================================================
--- head/games/violetland/pkg-plist	Tue Dec  4 12:38:53 2012	(r308237)
+++ head/games/violetland/pkg-plist	Tue Dec  4 12:40:23 2012	(r308238)
@@ -1,4 +1,5 @@
 bin/violetland
+share/applications/violetland.desktop
 %%DATADIR%%/README_EN.TXT
 %%DATADIR%%/README_RU.TXT
 %%DATADIR%%/fonts/archangelsk.ttf
@@ -419,3 +420,4 @@ bin/violetland
 @dirrm %%DATADIR%%/images
 @dirrm %%DATADIR%%/fonts
 @dirrm %%DATADIR%%
+@dirrmtry share/applications



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