freebsd-ports/graphics/qiviewer/Makefile
Veniamin Gvozdikov 25068cafe3 - Add LICENSE_FILE.
- Use qt4-linguisttools instead of qt4-linguist for lrelease-qt4 (build
stage only).
- Remove qt4-xml and qt4-dbus from dependencies (unused); add qt4-corelib.
- Add USES=desktop-file-utils (for qiviewer.desktop)
- Mute post-configure target.
- Bump PORTREVISION (dependency list was changed).

PR:		ports/201869
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
2015-07-27 19:01:06 +00:00

36 lines
862 B
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= qiviewer
PORTVERSION= 0.5.0
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE
MAINTAINER= vg@FreeBSD.org
COMMENT= Fast and lightweight image viewer
LICENSE= GPLv2
LICENSE_FILE= ${WRKDIR}/${PORTNAME}/COPYING
USES= desktop-file-utils qmake tar:bzip2
USE_QT4= corelib gui imageformats_run linguisttools_build \
moc_build rcc_build uic_build
PLIST_FILES= bin/qiviewer \
share/applications/qiviewer.desktop \
share/qiviewer/locale/el.qm \
share/qiviewer/locale/es_AR.qm \
share/qiviewer/locale/es_ES.qm
WRKSRC= ${WRKDIR}/${PORTNAME}/src
OPTIONS_DEFINE= WEBP
WEBP_DESC= Support for WebP image format (experimental)
WEBP_QMAKE_ON= CONFIG+=enable-webp
post-configure:
@${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|g' \
${WRKSRC}/Makefile
.include <bsd.port.mk>