aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2013-12-03 00:39:13 +0800
committernaddy <naddy@FreeBSD.org>2013-12-03 00:39:13 +0800
commit6335063e3536ec35c6677ac2e11c7a7561e34145 (patch)
tree73b1630edce33e7696c53f17af5432fe35f4c77b
parent71af10ab4cc7b3fb1e66633c11324403a9bb0692 (diff)
downloadfreebsd-ports-gnome-6335063e3536ec35c6677ac2e11c7a7561e34145.tar.gz
freebsd-ports-gnome-6335063e3536ec35c6677ac2e11c7a7561e34145.tar.zst
freebsd-ports-gnome-6335063e3536ec35c6677ac2e11c7a7561e34145.zip
* update to 0.2.4: fixes a bug in handling large images in 1:1 view
* convert to staging * generally clean up the port Approved by: maintainer timeout (4 weeks)
-rw-r--r--graphics/gpicview/Makefile30
-rw-r--r--graphics/gpicview/distinfo4
-rw-r--r--graphics/gpicview/pkg-plist2
3 files changed, 11 insertions, 25 deletions
diff --git a/graphics/gpicview/Makefile b/graphics/gpicview/Makefile
index c2d1ae07e3bf..69cf289e1a86 100644
--- a/graphics/gpicview/Makefile
+++ b/graphics/gpicview/Makefile
@@ -2,41 +2,27 @@
# $FreeBSD$
PORTNAME= gpicview
-PORTVERSION= 0.2.3
+PORTVERSION= 0.2.4
CATEGORIES= graphics
MASTER_SITES= SF/lxde/GPicView%20%28image%20Viewer%29/GpicView%20${PORTVERSION}/
MAINTAINER= jmohacsi@bsd.hu
-COMMENT= Simple and Fast Image Viewer for X
+COMMENT= Simple and fast image viewer for X11
LICENSE= GPLv2
USES= desktop-file-utils gmake pkgconfig
USE_GNOME= gtk20
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_ICONS= yes
-PORTDOCS= AUTHORS
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS_DEFINE= DOCS NLS
+OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-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
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>
diff --git a/graphics/gpicview/distinfo b/graphics/gpicview/distinfo
index e73898f3c752..1f09fe29c99e 100644
--- a/graphics/gpicview/distinfo
+++ b/graphics/gpicview/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gpicview-0.2.3.tar.gz) = 58dcdf9e1f29c38c9c5716215981c62c054282a765c57d9f7713232800f3bb99
-SIZE (gpicview-0.2.3.tar.gz) = 478447
+SHA256 (gpicview-0.2.4.tar.gz) = 99beb7df6765b386cd3f65b3ff77e9a25027a009db432f02bd60be8558f06ceb
+SIZE (gpicview-0.2.4.tar.gz) = 488510
diff --git a/graphics/gpicview/pkg-plist b/graphics/gpicview/pkg-plist
index e165eb1b6751..73cc73ee9646 100644
--- a/graphics/gpicview/pkg-plist
+++ b/graphics/gpicview/pkg-plist
@@ -5,6 +5,7 @@ share/applications/gpicview.desktop
%%DATADIR%%/pixmaps/object-rotate-left.png
%%DATADIR%%/pixmaps/object-rotate-right.png
%%DATADIR%%/ui/pref-dlg.ui
+share/icons/hicolor/48x48/apps/gpicview.png
%%NLS%%share/locale/af/LC_MESSAGES/gpicview.mo
%%NLS%%share/locale/ar/LC_MESSAGES/gpicview.mo
%%NLS%%share/locale/bg/LC_MESSAGES/gpicview.mo
@@ -54,7 +55,6 @@ 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
-share/pixmaps/gpicview.png
%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ur_PK
%%NLS%%@dirrmtry share/locale/frp/LC_MESSAGES