aboutsummaryrefslogtreecommitdiff
path: root/graphics/qxv/Makefile
blob: a252733ef50b77a7e87f685a04ddb7a4654ddd4e (plain) (blame)
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
41
42
43
44
# Created by: cy
# $FreeBSD$

PORTNAME=	qxv
PORTVERSION=	0.2
PORTREVISION=	3
CATEGORIES+=	graphics
MASTER_SITES=	http://labs.freehackers.org/attachments/download/422/

MAINTAINER=	cy@FreeBSD.org
COMMENT=	A QT4 program that displays images of various formats

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
		glib-2.0.0:${PORTSDIR}/devel/glib20 \
		freetype.9:${PORTSDIR}/print/freetype2 \
		fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
		icui18n:${PORTSDIR}/devel/icu \
		intl.9:${PORTSDIR}/devel/gettext \
		pcre.3:${PORTSDIR}/devel/pcre \
		pthread-stubs.0:${PORTSDIR}/devel/libpthread-stubs \
		expat.6:${PORTSDIR}/textproc/expat2 \
		xcb.2:${PORTSDIR}/x11/xcb

USES=		iconv
USE_BZIP2=	yes
USE_XORG=	sm xrender xext x11 xau xdmcp ice
USE_QT4=	corelib gui qmake_build moc_build uic_build rcc_build
MAKE_JOBS_UNSAFE=	yes
HAS_CONFIGURE=	yes

PLIST_FILES=	bin/${PORTNAME}

do-configure:
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
	${QMAKE} PREFIX=${PREFIX} ${PORTNAME}.pro

do-install:
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
	${INSTALL_PROGRAM} ${PORTNAME} ${LOCALBASE}/bin/

.include <bsd.port.mk>