Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2013 20:46:48 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323002 - head/graphics/gpicview
Message-ID:  <201307142046.r6EKkm6P098524@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Jul 14 20:46:48 2013
New Revision: 323002
URL: http://svnweb.freebsd.org/changeset/ports/323002

Log:
  - Update to 0.2.3
  - Remove leading article from COMMENT
  - Add license (GPLv2)
  - Add desktop dependency
  - Add DOCS NLS Option
  - Trim WWW
  - Trim pkg-plist
  
  PR:		ports/179825
  Submitted by:	nemysis <nemysis@gmx.ch>
  Approved by:	maintainer timeout

Modified:
  head/graphics/gpicview/Makefile
  head/graphics/gpicview/distinfo   (contents, props changed)
  head/graphics/gpicview/pkg-descr   (contents, props changed)
  head/graphics/gpicview/pkg-plist   (contents, props changed)

Modified: head/graphics/gpicview/Makefile
==============================================================================
--- head/graphics/gpicview/Makefile	Sun Jul 14 20:38:13 2013	(r323001)
+++ head/graphics/gpicview/Makefile	Sun Jul 14 20:46:48 2013	(r323002)
@@ -2,28 +2,40 @@
 # $FreeBSD$
 
 PORTNAME=	gpicview
-PORTVERSION=	0.2.1
-PORTREVISION=	4
+PORTVERSION=	0.2.3
 CATEGORIES=	graphics
-MASTER_SITES=	SF/lxde/GPicView%20%28image%20Viewer%29/GPicView%20${PORTVERSION}
+MASTER_SITES=	SF/lxde/GPicView%20%28image%20Viewer%29/GpicView%20${PORTVERSION}/
 
 MAINTAINER=	jmohacsi@bsd.hu
-COMMENT=	A Simple and Fast Image Viewer for X
+COMMENT=	Simple and Fast Image Viewer for X
 
+LICENSE=	GPLv2
+
+USES=		desktop-file-utils gmake
 USE_GNOME=	gtk20
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
+PORTDOCS=	AUTHORS
+
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+
+NLS_USES=	gettext
+
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
+post-patch:
+.if ! ${PORT_OPTIONS:MNLS}
+	@${REINPLACE_CMD} -e 's|src po|src|' \
+		${WRKSRC}/Makefile.in
+.endif
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/graphics/gpicview/distinfo
==============================================================================
--- head/graphics/gpicview/distinfo	Sun Jul 14 20:38:13 2013	(r323001)
+++ head/graphics/gpicview/distinfo	Sun Jul 14 20:46:48 2013	(r323002)
@@ -1,2 +1,2 @@
-SHA256 (gpicview-0.2.1.tar.gz) = 4c85ef5affba0812b22426217871cc18366fa570e195dc43a5e0f17fbc005639
-SIZE (gpicview-0.2.1.tar.gz) = 422527
+SHA256 (gpicview-0.2.3.tar.gz) = 58dcdf9e1f29c38c9c5716215981c62c054282a765c57d9f7713232800f3bb99
+SIZE (gpicview-0.2.3.tar.gz) = 478447

Modified: head/graphics/gpicview/pkg-descr
==============================================================================
--- head/graphics/gpicview/pkg-descr	Sun Jul 14 20:38:13 2013	(r323001)
+++ head/graphics/gpicview/pkg-descr	Sun Jul 14 20:46:48 2013	(r323002)
@@ -9,4 +9,4 @@ Features:
     * Open source, licensed under GNU GPL
 
 
-WWW:	http://lxde.sourceforge.net/gpicview/
+WWW: http://lxde.sourceforge.net/gpicview/

Modified: head/graphics/gpicview/pkg-plist
==============================================================================
--- head/graphics/gpicview/pkg-plist	Sun Jul 14 20:38:13 2013	(r323001)
+++ head/graphics/gpicview/pkg-plist	Sun Jul 14 20:46:48 2013	(r323002)
@@ -1,17 +1,30 @@
 bin/gpicview
 share/applications/gpicview.desktop
+%%DATADIR%%/pixmaps/object-flip-horizontal.png
+%%DATADIR%%/pixmaps/object-flip-vertical.png
+%%DATADIR%%/pixmaps/object-rotate-left.png
+%%DATADIR%%/pixmaps/object-rotate-right.png
+%%DATADIR%%/ui/pref-dlg.ui
 %%NLS%%share/locale/af/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/ar/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/bn/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/bn_IN/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/da/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/de/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/es/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/es_VE/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/et/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/eu/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/fa/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/frp/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/gl/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/he/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/hr/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/hu/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/id/LC_MESSAGES/gpicview.mo
@@ -31,7 +44,9 @@ share/applications/gpicview.desktop
 %%NLS%%share/locale/ru/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/sk/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/sl/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/gpicview.mo
+%%NLS%%share/locale/th/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/uk/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/ur/LC_MESSAGES/gpicview.mo
@@ -39,15 +54,14 @@ share/applications/gpicview.desktop
 %%NLS%%share/locale/vi/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/gpicview.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/gpicview.mo
-%%DATADIR%%/pixmaps/object-rotate-right.png
-%%DATADIR%%/pixmaps/object-rotate-left.png
-%%DATADIR%%/pixmaps/object-flip-horizontal.png
-%%DATADIR%%/pixmaps/object-flip-vertical.png
-%%DATADIR%%/ui/pref-dlg.ui
 share/pixmaps/gpicview.png
-@dirrm %%DATADIR%%/pixmaps
-@dirrm %%DATADIR%%/ui
-@dirrmtry share/applications
-@dirrm %%DATADIR%%
 %%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
 %%NLS%%@dirrmtry share/locale/ur_PK
+%%NLS%%@dirrmtry share/locale/frp/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/frp
+%%NLS%%@dirrmtry share/locale/es_VE/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/es_VE
+@dirrm %%DATADIR%%/ui
+@dirrm %%DATADIR%%/pixmaps
+@dirrm %%DATADIR%%
+@dirrmtry share/applications



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