# Created by: Kris Moore <kmoore@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/sysutils/pcbsd-utils-qt4/Makefile 367888 2014-09-10 20:50:31Z gerald $

PORTNAME=	pcbsd-utils-qt4
PORTVERSION=	1409841477
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.pcbsd.org/~kris/software/ \
		ftp://ftp.pcbsd.org/pub/software/

MAINTAINER=	kmoore@FreeBSD.org
COMMENT=	PC-BSD Qt4 Utilities

RUN_DEPENDS=	lpreserver:${PORTSDIR}/sysutils/pcbsd-utils \
		${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
LIB_DEPENDS=	libQtSolutions_SingleApplication-head.so:${PORTSDIR}/devel/qt4-qtsolutions-singleapplication \
		libcurl.so:${PORTSDIR}/ftp/curl

MAKE_JOBS_UNSAFE=yes
ONLY_FOR_ARCHS=	amd64
USE_LDCONFIG=	yes
USE_QT4=	corelib gui network svg linguist \
		moc_build rcc_build uic_build
USES=		qmake tar:bzip2 python

WRKSRC=		${WRKDIR}/src-qt4

QMAKE_ARGS=	CONFIG+="configure"

.include <bsd.port.options.mk>

.if ${OSVERSION} < 1000000
IGNORE=		requires FreeBSD 10 or later
.endif

.include <bsd.port.mk>
