5898d7df5c
- Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval)
38 lines
852 B
Makefile
38 lines
852 B
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qiviewer
|
|
PORTVERSION= 0.5.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= vg@FreeBSD.org
|
|
COMMENT= Fast and lightweight image viewer
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= qmake
|
|
USE_BZIP2= yes
|
|
USE_QT4= gui xml dbus imageformats_run linguist_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
|
|
PLIST_DIRS= share/qiviewer/locale \
|
|
share/qiviewer
|
|
|
|
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>
|