summaryrefslogtreecommitdiff
path: root/graphics/qiviewer/Makefile
blob: 1c875be7a6c746f88e2af3e56d5784d337fff783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=	qiviewer
PORTVERSION=	0.5.0
PORTREVISION=	4
CATEGORIES=	graphics
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	vg@FreeBSD.org
COMMENT=	Fast and lightweight image viewer

LICENSE=	GPLv2
LICENSE_FILE=	${WRKDIR}/${PORTNAME}/COPYING

BROKEN=		Unfetchable (google code has gone away)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

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>