2007-02-05 21:56:24 +01:00
|
|
|
# -*-mode: makefile-*-
|
|
|
|
# New ports collection makefile for: qt40
|
|
|
|
# Date created: Wed Jun 29 11:49:42 CEST 2005
|
|
|
|
# Whom: lofi@freebsd.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= accessible
|
2007-07-16 12:12:15 +02:00
|
|
|
PORTVERSION= ${QT4_VERSION}
|
2008-08-05 01:30:38 +02:00
|
|
|
PORTREVISION=0
|
2007-02-06 13:49:19 +01:00
|
|
|
CATEGORIES?= accessibility
|
2007-02-05 21:56:24 +01:00
|
|
|
PKGNAMEPREFIX= qt4-
|
|
|
|
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
|
|
COMMENT= Qt accessibility widgets
|
|
|
|
|
2007-07-16 12:12:15 +02:00
|
|
|
USE_QT_VER= 4
|
2007-08-03 00:37:40 +02:00
|
|
|
QT_COMPONENTS= qmake_build moc_build qt3support corelib gui network sql xml
|
2007-07-16 12:12:15 +02:00
|
|
|
QT_NONSTANDARD= yes
|
|
|
|
QT_DIST= yes
|
2009-08-04 22:11:41 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2008-08-05 01:30:38 +02:00
|
|
|
|
2007-02-05 21:56:24 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
|
|
|
ALL_TARGET= first
|
|
|
|
CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
|
|
|
|
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
|
|
|
|
PATH=${WRKSRC}/bin:$$PATH
|
2008-08-05 01:30:38 +02:00
|
|
|
|
|
|
|
DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
|
|
|
|
src/dbus src/opengl src/phonon \
|
|
|
|
src/script src/svg src/testlib \
|
|
|
|
src/tools src/xmlpatterns src/3rdparty/clucene \
|
|
|
|
src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
|
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf -
|
|
|
|
.for dne in ${DO_NOT_EXTRACT}
|
|
|
|
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
|
|
|
|
.endfor
|
|
|
|
|
2007-02-05 21:56:24 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src/plugins/${PORTNAME}
|
|
|
|
CONFIGURE_WRKSRC=${WRKSRC}/../../..
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
|
|
|
|
${MKDIR} ${WRKSRC}/../../../mkspecs
|
|
|
|
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../bin/qmake
|
2007-04-19 19:08:04 +02:00
|
|
|
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../bin/moc
|
2007-02-05 21:56:24 +01:00
|
|
|
|
2007-08-03 00:37:40 +02:00
|
|
|
.include <bsd.port.mk>
|