# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD: tags/RELEASE_11_1_0/x11-toolkits/linux-c7-qt-x11/Makefile 432937 2017-01-31 16:54:21Z tijl $

PORTNAME=	qt
PORTVERSION=	4.8.5
PORTREVISION=	3
CATEGORIES=	x11-toolkits linux
PKGNAMESUFFIX=	-x11
LIB_DISTNAMES=	${LINUXNAME}-${DISTVERSIONFULL}

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	Cross-platform application and UI framework (Linux CentOS ${LINUX_DIST_VER})

CONFLICTS=	linux-c6-qt47-x11-[0-9]*

DATADIR=	${PREFIX}/usr/share/${PORTNAME}4
DESCR=		${.CURDIR}/../../devel/${PORTNAME}4/pkg-descr
LINUXNAME=	${PORTNAME}${PKGNAMESUFFIX}
RPMVERSION=	13.el7
USES=		linux:c7
USE_LDCONFIG=	yes
USE_LINUX=	alsalib dri fontconfig jpeg openssl png qt tiff xorglibs
USE_LINUX_RPM=	yes

post-patch:
	@${RM} -r ${WRKSRC}/usr/share/icons

.include <bsd.port.mk>
