2011-04-10 22:27:34 +02:00
|
|
|
# New ports collection makefile for: qiviewer
|
|
|
|
# Date created: 2011-04-02
|
|
|
|
# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qiviewer
|
2011-09-16 23:17:33 +02:00
|
|
|
PORTVERSION= 0.5.0
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 1
|
2011-04-10 22:27:34 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
|
|
|
|
MAINTAINER= g.veniamin@googlemail.com
|
|
|
|
COMMENT= Fast and lightweight image viewer
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= gui xml dbus linguist_build qmake_build moc_build \
|
2011-04-10 22:27:34 +02:00
|
|
|
rcc_build uic_build
|
|
|
|
QMAKEFLAGS+= PREFIX="${PREFIX}"
|
|
|
|
|
|
|
|
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
|
|
|
|
PLIST_DIRS= share/qiviewer/locale \
|
|
|
|
share/qiviewer \
|
|
|
|
share/applications
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
|
|
|
|
|
|
|
OPTIONS= WEBP "Support for WebP image format (experimental)" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.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 <bsd.port.post.mk>
|