summaryrefslogtreecommitdiffstats
path: root/graphics/gqview
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gqview')
-rw-r--r--graphics/gqview/Makefile57
-rw-r--r--graphics/gqview/distinfo3
-rw-r--r--graphics/gqview/files/patch-Makefile.in12
-rw-r--r--graphics/gqview/pkg-descr6
-rw-r--r--graphics/gqview/pkg-plist31
5 files changed, 109 insertions, 0 deletions
diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile
new file mode 100644
index 000000000..3f0918c0f
--- /dev/null
+++ b/graphics/gqview/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: gqview
+# Date Created: 27 Oct 1998
+# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gqview
+PORTVERSION= 2.0.1
+PORTREVISION= 2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= Another gtk2-based graphic file viewer
+
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehier gtk20
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+MAN1= gqview.1
+
+CONFLICTS= gqview-devel-[0-9]*
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= README html
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$prefix/share/doc/gqview-$$VERSION|${DOCSDIR}|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|$$(datadir)/doc/gqview-$$(VERSION)/html|${DOCSDIR}/html|g' \
+ ${WRKSRC}/doc/Makefile.in
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
+ ${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/gqview/distinfo b/graphics/gqview/distinfo
new file mode 100644
index 000000000..019b9fb2c
--- /dev/null
+++ b/graphics/gqview/distinfo
@@ -0,0 +1,3 @@
+MD5 (gqview-2.0.1.tar.gz) = acd8f1dad2b04389c1936adac1512e32
+SHA256 (gqview-2.0.1.tar.gz) = 47e69381cd5a34aec524713275c4cf4ff97c014d65ec73378595ae2f5e142652
+SIZE (gqview-2.0.1.tar.gz) = 1326999
diff --git a/graphics/gqview/files/patch-Makefile.in b/graphics/gqview/files/patch-Makefile.in
new file mode 100644
index 000000000..d7ecd3d0d
--- /dev/null
+++ b/graphics/gqview/files/patch-Makefile.in
@@ -0,0 +1,12 @@
+--- Makefile.in.orig Sun Feb 27 00:36:49 2005
++++ Makefile.in Sun Feb 27 00:37:19 2005
+@@ -664,8 +664,7 @@
+
+ info-am:
+
+-install-data-am: install-desktopDATA install-iconDATA install-man \
+- install-readmeDATA
++install-data-am: install-man
+
+ install-exec-am:
+
diff --git a/graphics/gqview/pkg-descr b/graphics/gqview/pkg-descr
new file mode 100644
index 000000000..50961072f
--- /dev/null
+++ b/graphics/gqview/pkg-descr
@@ -0,0 +1,6 @@
+Another gtk2-based graphic file viewer.
+
+WWW: http://gqview.sourceforge.net/
+
+-Vanilla
+vanilla@FreeBSD.ORG
diff --git a/graphics/gqview/pkg-plist b/graphics/gqview/pkg-plist
new file mode 100644
index 000000000..102d5d7f8
--- /dev/null
+++ b/graphics/gqview/pkg-plist
@@ -0,0 +1,31 @@
+bin/gqview
+%%NLS%%share/locale/ar/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/id/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/no/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/th/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gqview.mo
+share/gnome/apps/Graphics/gqview.desktop
+share/gnome/pixmaps/gqview.png