aboutsummaryrefslogtreecommitdiff
path: root/graphics/gpicview
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-07-14 20:46:48 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-07-14 20:46:48 +0000
commit90ef7cf2cfa8bc613d12f915137466d97fb8bef8 (patch)
tree59185cbc2f6f0334d5945cfc794daf9b95ca2ebc /graphics/gpicview
parent9ff176782f184a7b5ab58643f48cb7859d3a1299 (diff)
downloadports-90ef7cf2cfa8bc613d12f915137466d97fb8bef8.tar.gz
ports-90ef7cf2cfa8bc613d12f915137466d97fb8bef8.zip
Notes
Diffstat (limited to 'graphics/gpicview')
-rw-r--r--graphics/gpicview/Makefile34
-rw-r--r--graphics/gpicview/distinfo4
-rw-r--r--graphics/gpicview/pkg-descr2
-rw-r--r--graphics/gpicview/pkg-plist32
4 files changed, 49 insertions, 23 deletions
diff --git a/graphics/gpicview/Makefile b/graphics/gpicview/Makefile
index c2a6f2ee0dd3..edbc406bda8a 100644
--- a/graphics/gpicview/Makefile
+++ b/graphics/gpicview/Makefile
@@ -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>
diff --git a/graphics/gpicview/distinfo b/graphics/gpicview/distinfo
index b6e86cefa903..e73898f3c752 100644
--- a/graphics/gpicview/distinfo
+++ b/graphics/gpicview/distinfo
@@ -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
diff --git a/graphics/gpicview/pkg-descr b/graphics/gpicview/pkg-descr
index f02fbbad0a7b..50403373d9ba 100644
--- a/graphics/gpicview/pkg-descr
+++ b/graphics/gpicview/pkg-descr
@@ -9,4 +9,4 @@ Features:
* Open source, licensed under GNU GPL
-WWW: http://lxde.sourceforge.net/gpicview/
+WWW: http://lxde.sourceforge.net/gpicview/
diff --git a/graphics/gpicview/pkg-plist b/graphics/gpicview/pkg-plist
index 7b421014100e..2ba28cfb308a 100644
--- a/graphics/gpicview/pkg-plist
+++ b/graphics/gpicview/pkg-plist
@@ -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