aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/linux-c6-qt47-x11/Makefile
blob: cb1d810de32a04075c03191601752ba5e09477d4 (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
# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
# $FreeBSD$

PORTNAME=   qt47-x11
PORTVERSION=    4.7.2
CATEGORIES= x11-toolkits linux
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= xmj
DIST_SUBDIR=    rpm/${LINUX_RPM_ARCH}/centos/c5

MAINTAINER= emulation@FreeBSD.org
COMMENT=    RPM of QT4 (Linux CentOS 5)

ONLY_FOR_ARCHS= i386 amd64
SRC_DISTFILES:=     # unretrievable.

USE_LINUX=  c6
USE_LDCONFIG=   yes
LINUX_DIST_VER= 5

OPTIONS_DEFINE= NVIDIA_GL
NVIDIA_GL_DESC= Use GL driver from nvidia-driver
NVIDIA_GL_RUN_DEPENDS=  ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver

USE_LINUX_APPS= fontconfig png  xorglibs png alsalib  jpeg tiff qt47
USE_LINUX_RPM=  yes
RPMVERSION= 1_18.el5
LINUX_RPM_ARCH= i386

.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MNVIDIA_GL}
USE_LINUX_APPS+=    dri
.endif


DESCR=  ${.CURDIR}/../../devel/qt4/pkg-descr

post-patch:
    ${RM} -f ${WRKDIR}/usr/share/qt47/translations/qt_help_*.qm

.include <bsd.port.mk>