2007-02-05 20:56:24 +00: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= porting
|
2007-07-16 10:12:15 +00:00
|
|
|
PORTVERSION= ${QT4_VERSION}
|
2007-02-06 12:49:19 +00:00
|
|
|
CATEGORIES?= devel
|
2007-02-05 20:56:24 +00:00
|
|
|
PKGNAMEPREFIX= qt4-
|
|
|
|
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
|
|
COMMENT= Qt utility to assist with porting Qt3 applications to Qt4
|
|
|
|
|
2007-07-16 10:12:15 +00:00
|
|
|
USE_QT_VER= 4
|
2008-08-04 23:30:38 +00:00
|
|
|
QT_COMPONENTS= qmake_build moc_build rcc_build corelib xml
|
2007-07-16 10:12:15 +00:00
|
|
|
QT_NONSTANDARD= yes
|
|
|
|
QT_DIST= yes
|
2009-08-04 20:04:38 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-02-05 20:56:24 +00: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-04 23:30:38 +00:00
|
|
|
|
|
|
|
DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \
|
2010-01-21 21:13:21 +00:00
|
|
|
src/activeqt src/dbus src/gui src/multimedia src/network \
|
|
|
|
src/opengl src/openvg src/phonon src/qt3support \
|
|
|
|
src/s60installs src/s60main src/script src/scripttools src/sql \
|
|
|
|
src/svg src/testlib src/tools src/winmain src/xmlpatterns \
|
|
|
|
src/3rdparty/clucene src/3rdparty/freetype \
|
|
|
|
src/3rdparty/libjpeg src/3rdparty/libmng src/3rdparty/libpng \
|
|
|
|
src/3rdparty/libtiff src/3rdparty/phonon src/3rdparty/webkit
|
2008-08-04 23:30:38 +00:00
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf -
|
|
|
|
.for dne in ${DO_NOT_EXTRACT}
|
|
|
|
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
|
|
|
|
.endfor
|
|
|
|
|
2010-01-21 21:13:21 +00:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/tools/${PORTNAME}
|
|
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
|
|
|
|
EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure
|
2007-02-05 20:56:24 +00:00
|
|
|
|
|
|
|
pre-configure:
|
2010-01-21 21:13:21 +00:00
|
|
|
${MKDIR} ${WRKSRC}/mkspecs
|
|
|
|
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
|
|
|
|
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc
|
|
|
|
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc
|
2007-02-05 20:56:24 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|