summaryrefslogtreecommitdiffstats
path: root/graphics/gqview
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 05:43:01 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 05:43:01 +0800
commit7ebb2ad33127efd5f766d34b1b8ac9e27671f076 (patch)
tree1e49ae91bcb39f2dcf9732091607cf91fe60889b /graphics/gqview
parente717d019b9d3bf8acf590338ff7abf9aa8002829 (diff)
downloadmarcuscom-ports-7ebb2ad33127efd5f766d34b1b8ac9e27671f076.tar
marcuscom-ports-7ebb2ad33127efd5f766d34b1b8ac9e27671f076.tar.gz
marcuscom-ports-7ebb2ad33127efd5f766d34b1b8ac9e27671f076.tar.bz2
marcuscom-ports-7ebb2ad33127efd5f766d34b1b8ac9e27671f076.tar.lz
marcuscom-ports-7ebb2ad33127efd5f766d34b1b8ac9e27671f076.tar.xz
marcuscom-ports-7ebb2ad33127efd5f766d34b1b8ac9e27671f076.tar.zst
marcuscom-ports-7ebb2ad33127efd5f766d34b1b8ac9e27671f076.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9259 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/gqview')
-rw-r--r--graphics/gqview/Makefile56
-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-plist36
5 files changed, 113 insertions, 0 deletions
diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile
new file mode 100644
index 000000000..e2d8e4d42
--- /dev/null
+++ b/graphics/gqview/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: gqview
+# Date Created: 27 Oct 1998
+# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gqview
+PORTVERSION= 2.0.4
+PORTREVISION= 2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= lme@FreeBSD.org
+COMMENT= Another gtk2-based graphic file viewer
+
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+
+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/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..520b96f56
--- /dev/null
+++ b/graphics/gqview/distinfo
@@ -0,0 +1,3 @@
+MD5 (gqview-2.0.4.tar.gz) = 7196deab04db94cec2167637cddc02f9
+SHA256 (gqview-2.0.4.tar.gz) = 97e3b7ce5f17a315c56d6eefd7b3a60b40cc3d18858ca194c7e7262acce383cb
+SIZE (gqview-2.0.4.tar.gz) = 1545847
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..2ad19f880
--- /dev/null
+++ b/graphics/gqview/pkg-plist
@@ -0,0 +1,36 @@
+bin/gqview
+%%NLS%%share/locale/ar/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/be/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/ca/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/eo/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/eu/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/ko/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/pixmaps/gqview.png