summaryrefslogtreecommitdiff
path: root/graphics/qiviewer
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-11-03 06:03:13 +0000
committerryoon <ryoon@pkgsrc.org>2011-11-03 06:03:13 +0000
commit24656c541d0edb5c9c5144fd8fde99532d11580a (patch)
tree327b29c0e54c43c9bbedebba954bbadb9a9234fd /graphics/qiviewer
parentaea718e5c8a9039a9be59a27161e1794db1ad4d6 (diff)
downloadpkgsrc-24656c541d0edb5c9c5144fd8fde99532d11580a.tar.gz
Import qiviewer-0.5.0 as graphics/qiviewer from wip/qiviewer
This program has been written with help of Qt library, to be a lightweight image viewer, similar to eog or viewnior for Gnome.
Diffstat (limited to 'graphics/qiviewer')
-rw-r--r--graphics/qiviewer/DESCR2
-rw-r--r--graphics/qiviewer/Makefile35
-rw-r--r--graphics/qiviewer/PLIST6
-rw-r--r--graphics/qiviewer/distinfo5
4 files changed, 48 insertions, 0 deletions
diff --git a/graphics/qiviewer/DESCR b/graphics/qiviewer/DESCR
new file mode 100644
index 00000000000..a724d9359c4
--- /dev/null
+++ b/graphics/qiviewer/DESCR
@@ -0,0 +1,2 @@
+This program has been written with help of Qt library, to be a
+lightweight image viewer, similar to eog or viewnior for Gnome.
diff --git a/graphics/qiviewer/Makefile b/graphics/qiviewer/Makefile
new file mode 100644
index 00000000000..53f019468b1
--- /dev/null
+++ b/graphics/qiviewer/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/11/03 06:03:13 ryoon Exp $
+#
+
+DISTNAME= qiviewer-0.5.0
+CATEGORIES= graphics
+MASTER_SITES= http://qiviewer.googlecode.com/files/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://code.google.com/p/qiviewer/
+COMMENT= Qt image viewer, designed to be fast and lightweight
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/qiviewer/src
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+
+do-configure:
+ (cd ${WRKSRC} && \
+ ${QTDIR}/bin/qmake \
+ PREFIX=${DESTDIR}${PREFIX} \
+ CONFIG+=enable-webp)
+
+SUBST_CLASSES+= fix-target
+SUBST_STAGE.fix-target= post-configure
+SUBST_MESSAGE.fix-target= Replace QMAKE_TARGET with TARGET
+SUBST_FILES.fix-target+= Makefile
+SUBST_SED.fix-target+= -e 's/(QMAKE_TARGET)/{TARGET}/'
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/qiviewer/PLIST b/graphics/qiviewer/PLIST
new file mode 100644
index 00000000000..6e58ca27365
--- /dev/null
+++ b/graphics/qiviewer/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/11/03 06:03:13 ryoon Exp $
+bin/qiviewer
+share/applications/qiviewer.desktop
+share/qiviewer/locale/el.qm
+share/qiviewer/locale/es_AR.qm
+share/qiviewer/locale/es_ES.qm
diff --git a/graphics/qiviewer/distinfo b/graphics/qiviewer/distinfo
new file mode 100644
index 00000000000..9bf2ae3a8de
--- /dev/null
+++ b/graphics/qiviewer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/11/03 06:03:13 ryoon Exp $
+
+SHA1 (qiviewer-0.5.0.tar.bz2) = a9f0124c572bf56d893f0bb9a5f892eb17ec4ba8
+RMD160 (qiviewer-0.5.0.tar.bz2) = 3b2c4b08721afe66a86f3b875b6ed0733679ced0
+Size (qiviewer-0.5.0.tar.bz2) = 177201 bytes