From d9a639ef21264f7f65d138854fc1b49a1a71caf5 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Sun, 10 Apr 2011 20:27:34 +0000 Subject: Add new port graphics/qiviewer: Fast and lightweight image viewer based on Qt4 toolkit. WWW: http://code.google.com/p/qiviewer/ PR: based on ports/156146 Submitted by: Gvozdikov Veniamin (maintainer) --- graphics/qiviewer/Makefile | 49 +++++++++++++++++++++++++++++++++++++++++++++ graphics/qiviewer/distinfo | 2 ++ graphics/qiviewer/pkg-descr | 4 ++++ 3 files changed, 55 insertions(+) create mode 100644 graphics/qiviewer/Makefile create mode 100644 graphics/qiviewer/distinfo create mode 100644 graphics/qiviewer/pkg-descr (limited to 'graphics') diff --git a/graphics/qiviewer/Makefile b/graphics/qiviewer/Makefile new file mode 100644 index 000000000000..e4174397bbb5 --- /dev/null +++ b/graphics/qiviewer/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: qiviewer +# Date created: 2011-04-02 +# Whom: Gvozdikov Veniamin +# +# $FreeBSD$ +# + +PORTNAME= qiviewer +PORTVERSION= 0.4.0 +CATEGORIES= graphics +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= g.veniamin@googlemail.com +COMMENT= Fast and lightweight image viewer + +LICENSE= GPLv2 + +USE_BZIP2= yes +USE_QT_VER= 4 +QT_COMPONENTS= gui xml dbus linguist_build qmake_build moc_build \ + rcc_build uic_build +QMAKEFLAGS+= PREFIX="${PREFIX}" + +PLIST_FILES= bin/qiviewer \ + share/applications/qiviewer.desktop \ + share/qiviewer/locale/es_AR.qm \ + share/qiviewer/locale/es_ES.qm +PLIST_DIRS= share/qiviewer/locale \ + share/qiviewer \ + share/applications + +WRKSRC= ${WRKDIR}/${PORTNAME}/src + +OPTIONS= WEBP "Support for WebP image format (experimental)" off + +.include + +.if !defined(WITHOUT_WEBP) +QMAKEFLAGS+= CONFIG+=enable-webp +.endif + +do-configure: + @cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} + +post-configure: + ${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|g' \ + ${WRKSRC}/Makefile + +.include diff --git a/graphics/qiviewer/distinfo b/graphics/qiviewer/distinfo new file mode 100644 index 000000000000..3915447c56e8 --- /dev/null +++ b/graphics/qiviewer/distinfo @@ -0,0 +1,2 @@ +SHA256 (qiviewer-0.4.0.tar.bz2) = 83d0dfee9d6caa36261c882b6f3ca9b466423b7fae1057c22ace4f953c3b951b +SIZE (qiviewer-0.4.0.tar.bz2) = 105777 diff --git a/graphics/qiviewer/pkg-descr b/graphics/qiviewer/pkg-descr new file mode 100644 index 000000000000..cd93547af07b --- /dev/null +++ b/graphics/qiviewer/pkg-descr @@ -0,0 +1,4 @@ +This program has been written with help of Qt library, to be a +lightweight image viewer, similar to eog or viewnior for Gnome. + +WWW: http://code.google.com/p/qiviewer/ -- cgit v1.2.3