2013-07-22 16:34:22 +02:00
|
|
|
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
2011-04-10 22:27:34 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qiviewer
|
2011-09-16 23:17:33 +02:00
|
|
|
PORTVERSION= 0.5.0
|
2015-07-27 21:01:06 +02:00
|
|
|
PORTREVISION= 3
|
2011-04-10 22:27:34 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
|
2013-07-22 16:34:22 +02:00
|
|
|
MAINTAINER= vg@FreeBSD.org
|
2011-04-10 22:27:34 +02:00
|
|
|
COMMENT= Fast and lightweight image viewer
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2015-07-27 21:01:06 +02:00
|
|
|
LICENSE_FILE= ${WRKDIR}/${PORTNAME}/COPYING
|
2011-04-10 22:27:34 +02:00
|
|
|
|
2015-07-27 21:01:06 +02:00
|
|
|
USES= desktop-file-utils qmake tar:bzip2
|
|
|
|
USE_QT4= corelib gui imageformats_run linguisttools_build \
|
2013-05-13 22:32:02 +02:00
|
|
|
moc_build rcc_build uic_build
|
2011-04-10 22:27:34 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/qiviewer \
|
|
|
|
share/applications/qiviewer.desktop \
|
2011-09-16 23:17:33 +02:00
|
|
|
share/qiviewer/locale/el.qm \
|
2011-04-10 22:27:34 +02:00
|
|
|
share/qiviewer/locale/es_AR.qm \
|
|
|
|
share/qiviewer/locale/es_ES.qm
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
|
|
|
|
2013-02-20 18:35:15 +01:00
|
|
|
OPTIONS_DEFINE= WEBP
|
|
|
|
WEBP_DESC= Support for WebP image format (experimental)
|
2013-11-22 13:55:00 +01:00
|
|
|
WEBP_QMAKE_ON= CONFIG+=enable-webp
|
2011-04-10 22:27:34 +02:00
|
|
|
|
|
|
|
post-configure:
|
2015-07-27 21:01:06 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|g' \
|
2011-04-10 22:27:34 +02:00
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
2013-02-20 18:35:15 +01:00
|
|
|
.include <bsd.port.mk>
|