Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy. Only kdeutils was left out of this mega-update.
However, it should return soon. :-)
The massive reduction in patches is mostly the result of using perl
regex replacement. This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.
QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile. It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images. GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries. Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.
I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others. Over 150 hours of hard
work, testing, etc. were put into this update. Another couple hundred of
hours were spent by CPUs trying to compile this behemoth. :->
Special thanks to: Physics Computer Network @ Purdue staff, especially
C. Stephen Gunn <csg@physics.purdue.edu>, for giving
me access to an extremely fast machine for doing
test builds (it performed 12 full builds of the
entire suite in the last 7 days).
PR: 18838
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Approved by: imura, asami
2000-07-28 22:44:58 -04:00
|
|
|
# New ports collection makefile for: qt22
|
1999-08-30 03:13:00 -04:00
|
|
|
# Date created: 17 Jul 1999
|
2000-03-06 13:24:03 -05:00
|
|
|
# Whom: imura@kml.cs.titech.ac.jp
|
1996-07-30 20:20:49 -04:00
|
|
|
#
|
1999-08-30 03:13:00 -04:00
|
|
|
# $FreeBSD$
|
1996-07-30 20:20:49 -04:00
|
|
|
#
|
|
|
|
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
PORTNAME?= qt
|
2001-07-02 22:47:10 -04:00
|
|
|
PORTVERSION?= 2.3.1
|
2001-12-03 22:47:18 -05:00
|
|
|
PORTREVISION= 1
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
CATEGORIES?= x11-toolkits
|
2001-07-04 05:07:11 -04:00
|
|
|
MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \
|
|
|
|
ftp://ftp.chg.ru/pub/X11/qt/source/
|
2000-10-24 23:33:54 -04:00
|
|
|
DISTNAME= qt-x11-${PORTVERSION}
|
2001-09-10 16:22:28 -04:00
|
|
|
DIST_SUBDIR= KDE
|
1996-07-30 20:20:49 -04:00
|
|
|
|
2001-08-31 22:45:38 -04:00
|
|
|
MAINTAINER?= kde@FreeBSD.org
|
1998-04-27 22:07:56 -04:00
|
|
|
|
2001-03-10 00:52:33 -05:00
|
|
|
LIB_DEPENDS= mng.1:${PORTSDIR}/graphics/libmng \
|
2001-09-10 23:32:41 -04:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy. Only kdeutils was left out of this mega-update.
However, it should return soon. :-)
The massive reduction in patches is mostly the result of using perl
regex replacement. This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.
QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile. It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images. GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries. Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.
I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others. Over 150 hours of hard
work, testing, etc. were put into this update. Another couple hundred of
hours were spent by CPUs trying to compile this behemoth. :->
Special thanks to: Physics Computer Network @ Purdue staff, especially
C. Stephen Gunn <csg@physics.purdue.edu>, for giving
me access to an extremely fast machine for doing
test builds (it performed 12 full builds of the
entire suite in the last 7 days).
PR: 18838
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Approved by: imura, asami
2000-07-28 22:44:58 -04:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
2002-02-18 21:15:42 -05:00
|
|
|
|
2000-09-12 03:50:45 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
USE_MESA= yes
|
1996-07-30 20:20:49 -04:00
|
|
|
USE_GMAKE= yes
|
1998-08-05 05:31:52 -04:00
|
|
|
USE_X_PREFIX= yes
|
2000-03-06 13:24:03 -05:00
|
|
|
USE_NEWGCC= yes
|
1999-08-30 03:13:00 -04:00
|
|
|
HAS_CONFIGURE= yes
|
2001-12-05 22:24:00 -05:00
|
|
|
# YES, THIS PORT HAS ANTIALIASING SUPPORT IF YOUR XFREE86 SUPPORTS IT!
|
|
|
|
# JUST BECAUSE -xft IS NOT LISTED BELOW DOESN'T MEAN IT'S NOT THERE!
|
2000-11-04 06:59:36 -05:00
|
|
|
CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \
|
2001-07-05 15:09:55 -04:00
|
|
|
-system-libmng -thread -no-opengl -no-g++-exceptions \
|
|
|
|
-I${LOCALBASE}/include -L${LOCALBASE}/lib
|
2001-06-22 04:46:34 -04:00
|
|
|
|
|
|
|
.if defined(QT_DEBUG)
|
|
|
|
CONFIGURE_ARGS+= -debug
|
|
|
|
.endif
|
|
|
|
|
2002-01-29 07:14:18 -05:00
|
|
|
CONFIGURE_ENV= ${ECHO_CMD} yes | QTDIR=${WRKSRC}
|
2001-01-21 14:36:08 -05:00
|
|
|
.if defined(MAKE_JOBS)
|
|
|
|
MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}"
|
|
|
|
.endif
|
2002-01-01 14:35:41 -05:00
|
|
|
MAKE_ENV+= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib
|
1996-07-30 20:20:49 -04:00
|
|
|
|
2000-09-16 21:57:06 -04:00
|
|
|
CONFIG= ${WRKSRC}/configs/freebsd-g++-${STATIC}
|
1999-01-07 05:58:33 -05:00
|
|
|
|
2000-03-06 13:24:03 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
.if (${PORTNAME} == "qt")
|
2001-02-22 09:15:37 -05:00
|
|
|
.include "files/manpages"
|
1999-01-07 05:58:33 -05:00
|
|
|
.endif
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
.endif
|
1999-01-07 05:58:33 -05:00
|
|
|
|
2000-09-16 21:57:06 -04:00
|
|
|
.if defined(WANT_STATIC)
|
|
|
|
STATIC=static
|
|
|
|
CONFIGURE_ARGS+=-static
|
2001-03-26 21:19:55 -05:00
|
|
|
PLIST_SUB+= SHARED="@comment " STATIC=""
|
2000-09-16 21:57:06 -04:00
|
|
|
.else
|
|
|
|
STATIC=shared
|
|
|
|
INSTALLS_SHLIB=yes
|
2001-03-26 21:19:55 -05:00
|
|
|
PLIST_SUB+= SHARED="" STATIC="@comment "
|
2000-09-16 21:57:06 -04:00
|
|
|
.endif
|
|
|
|
|
2001-03-10 12:06:18 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-02-19 11:51:06 -05:00
|
|
|
.if ${OSVERSION} >= 500029
|
|
|
|
NO_QT_OBJPRELINK= yes
|
|
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "i386" && !defined(NO_QT_OBJPRELINK)
|
|
|
|
BUILD_DEPENDS= objprelink:${PORTSDIR}/devel/objprelink
|
|
|
|
.endif
|
|
|
|
|
2002-02-09 23:25:47 -05:00
|
|
|
.if ${MACHINE_ARCH} == "alpha" && !defined(NO_ALPHA_UNOPTIMIZATION)
|
2001-03-10 12:06:18 -05:00
|
|
|
CFLAGS+= -O0
|
|
|
|
.endif
|
|
|
|
|
Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy. Only kdeutils was left out of this mega-update.
However, it should return soon. :-)
The massive reduction in patches is mostly the result of using perl
regex replacement. This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.
QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile. It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images. GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries. Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.
I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others. Over 150 hours of hard
work, testing, etc. were put into this update. Another couple hundred of
hours were spent by CPUs trying to compile this behemoth. :->
Special thanks to: Physics Computer Network @ Purdue staff, especially
C. Stephen Gunn <csg@physics.purdue.edu>, for giving
me access to an extremely fast machine for doing
test builds (it performed 12 full builds of the
entire suite in the last 7 days).
PR: 18838
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Approved by: imura, asami
2000-07-28 22:44:58 -04:00
|
|
|
pre-fetch:
|
|
|
|
.if exists(${X11BASE}/lib/libqt2.so.3)
|
2000-09-16 21:57:06 -04:00
|
|
|
.if !defined(WANT_STATIC)
|
Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy. Only kdeutils was left out of this mega-update.
However, it should return soon. :-)
The massive reduction in patches is mostly the result of using perl
regex replacement. This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.
QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile. It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images. GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries. Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.
I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others. Over 150 hours of hard
work, testing, etc. were put into this update. Another couple hundred of
hours were spent by CPUs trying to compile this behemoth. :->
Special thanks to: Physics Computer Network @ Purdue staff, especially
C. Stephen Gunn <csg@physics.purdue.edu>, for giving
me access to an extremely fast machine for doing
test builds (it performed 12 full builds of the
entire suite in the last 7 days).
PR: 18838
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Approved by: imura, asami
2000-07-28 22:44:58 -04:00
|
|
|
@${ECHO} "An older version of QT2 is installed. To avoid clobbering"
|
|
|
|
@${ECHO} "that installation, deinstall it and then install this port."
|
|
|
|
@${ECHO} "Note that this port contains beta-quality source code and"
|
|
|
|
@${ECHO} "must be used only wherever absolutely needed, such as for"
|
2000-10-24 23:33:54 -04:00
|
|
|
@${ECHO} "KDE 2.0 and later."
|
Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy. Only kdeutils was left out of this mega-update.
However, it should return soon. :-)
The massive reduction in patches is mostly the result of using perl
regex replacement. This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.
QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile. It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images. GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries. Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.
I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others. Over 150 hours of hard
work, testing, etc. were put into this update. Another couple hundred of
hours were spent by CPUs trying to compile this behemoth. :->
Special thanks to: Physics Computer Network @ Purdue staff, especially
C. Stephen Gunn <csg@physics.purdue.edu>, for giving
me access to an extremely fast machine for doing
test builds (it performed 12 full builds of the
entire suite in the last 7 days).
PR: 18838
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Approved by: imura, asami
2000-07-28 22:44:58 -04:00
|
|
|
@${FALSE}
|
|
|
|
.endif
|
2000-09-16 21:57:06 -04:00
|
|
|
.endif
|
Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy. Only kdeutils was left out of this mega-update.
However, it should return soon. :-)
The massive reduction in patches is mostly the result of using perl
regex replacement. This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.
QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile. It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images. GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries. Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.
I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others. Over 150 hours of hard
work, testing, etc. were put into this update. Another couple hundred of
hours were spent by CPUs trying to compile this behemoth. :->
Special thanks to: Physics Computer Network @ Purdue staff, especially
C. Stephen Gunn <csg@physics.purdue.edu>, for giving
me access to an extremely fast machine for doing
test builds (it performed 12 full builds of the
entire suite in the last 7 days).
PR: 18838
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Approved by: imura, asami
2000-07-28 22:44:58 -04:00
|
|
|
|
2001-12-03 22:47:18 -05:00
|
|
|
qt-pre-configure:
|
|
|
|
@true
|
|
|
|
|
2002-01-04 22:16:03 -05:00
|
|
|
post-patch:
|
|
|
|
.if ${MACHINE_ARCH} == "i386" && !defined(NO_QT_OBJPRELINK)
|
|
|
|
.if !exists(${WRKDIR}/.${PKGNAME}.objprelink_patched)
|
|
|
|
@echo "Doing special objprelink patching..."
|
|
|
|
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/objprelink.patch
|
|
|
|
${TOUCH} ${WRKDIR}/.${PKGNAME}.objprelink_patched
|
|
|
|
.else
|
|
|
|
@echo "Already did the objprelink patching, skipping..."
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2001-12-03 22:47:18 -05:00
|
|
|
pre-configure: qt-pre-configure
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \
|
2002-02-09 23:25:47 -05:00
|
|
|
s,/usr/X11R6,${X11BASE},g;s,-O2,${CFLAGS},g; \
|
|
|
|
s,-fno-exceptions,-fno-exceptions ${CXXFLAGS} -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_,g" ${CONFIG}
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
${PERL} -pi -e "s,VER_MAJ = 2,VER_MAJ = 4,g; \
|
|
|
|
s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in
|
2000-09-12 03:50:45 -04:00
|
|
|
${PERL} -pi -e "s@TARGET\t= moc@TARGET = moc2@g" ${WRKSRC}/src/moc/Makefile.in
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
${PERL} -pi -e "s,rm -f bin/moc,rm -f bin/moc2,g; \
|
|
|
|
s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g; \
|
|
|
|
s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \
|
|
|
|
${WRKSRC}/Makefile
|
2001-12-03 22:47:18 -05:00
|
|
|
.if (${PORTNAME} == "qt")
|
|
|
|
${PERL} -pi -e "s@\$$(MAKE) designer@@g; s@uic \\\@uic@g; \
|
|
|
|
s@\t\tdesigner@@g" ${WRKSRC}/tools/designer/Makefile.in
|
|
|
|
.endif
|
2000-03-06 13:24:03 -05:00
|
|
|
|
|
|
|
post-configure:
|
2000-09-16 21:57:06 -04:00
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks)
|
1996-11-13 07:41:39 -05:00
|
|
|
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 17:15:59 -05:00
|
|
|
# Add hack to bring in support for GL. The last line is necessary to ensure that
|
|
|
|
# one can rebuild with the same tree and get the same results.
|
|
|
|
do-build:
|
|
|
|
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
|
|
|
.if !defined(WANT_STATIC)
|
|
|
|
(cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} opengl/qgl.o opengl/qgl_x11.o opengl/moc_qgl.o)
|
|
|
|
${MV} ${WRKSRC}/lib/libqt2.so.4 ${WRKSRC}/lib/libqt2-real.so.4
|
|
|
|
${PERL} -pi.orig -e "s@ xml/qdom.o@xml/qdom.o opengl/qgl.o opengl/qgl_x11.o opengl/moc_qgl.o@g; \
|
2001-03-29 11:35:19 -05:00
|
|
|
s@SYSCONF_LIBS_OPENGL =@SYSCONF_LIBS_OPENGL= ${PTHREAD_LIBS} -lGL -lGLU -lXmu@g" ${WRKSRC}/src/Makefile
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 17:15:59 -05:00
|
|
|
(cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} all)
|
|
|
|
${CP} ${WRKSRC}/lib/libqt2.so.4 ${WRKSRC}/lib/libqtgl.so.4
|
|
|
|
${CP} ${WRKSRC}/lib/libqt2-real.so.4 ${WRKSRC}/lib/libqt2.so.4
|
|
|
|
${CP} ${WRKSRC}/src/Makefile.orig ${WRKSRC}/src/Makefile
|
|
|
|
.endif
|
|
|
|
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
# XXX: This target looks like crap now.
|
1996-07-30 20:20:49 -04:00
|
|
|
do-install:
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
.if (${PORTNAME} == "qt")
|
2000-03-06 13:24:03 -05:00
|
|
|
${MKDIR} ${PREFIX}/include/qt2
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
.for BIN in moc2 uic
|
2000-08-29 19:44:32 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${BIN} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
.for SCRIPT in findtr qt20fix qtrename140
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/${SCRIPT} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2
|
2001-01-23 22:48:41 -05:00
|
|
|
.if !defined(WANT_STATIC)
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 17:15:59 -05:00
|
|
|
.for LIB in qt2 qt2-mt qtgl
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${LIB}.so.4 ${PREFIX}/lib
|
|
|
|
${LN} -sf ${PREFIX}/lib/lib${LIB}.so.4 ${PREFIX}/lib/lib${LIB}.so
|
|
|
|
.endfor
|
2000-11-20 07:18:17 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib
|
|
|
|
${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so
|
2001-01-23 22:48:41 -05:00
|
|
|
.else
|
2000-08-29 19:44:32 -04:00
|
|
|
.for LIB in qt2 qutil
|
2000-11-20 07:18:17 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib
|
2000-08-29 19:44:32 -04:00
|
|
|
.endfor
|
2000-11-20 07:18:17 -05:00
|
|
|
.endif
|
1999-08-30 03:13:00 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
2001-02-03 23:43:14 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/qt2/html
|
|
|
|
.for FILE in ANNOUNCE FAQ PORTING README README.QT
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/doc/qt2
|
|
|
|
.endfor
|
|
|
|
.for SUFFIX in g1n html png
|
|
|
|
(for FILE in ${WRKSRC}/doc/html/*.${SUFFIX}; do \
|
|
|
|
${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/qt2/html; done)
|
|
|
|
.endfor
|
|
|
|
.for FILE in index titleindex propertyindex whatsthis
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/${FILE} ${PREFIX}/share/doc/qt2/html
|
|
|
|
.endfor
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man3/q* ${PREFIX}/man/man3
|
|
|
|
.endif
|
1999-08-30 03:13:00 -04:00
|
|
|
.endif
|
1996-07-30 20:20:49 -04:00
|
|
|
|
2001-03-10 12:06:18 -05:00
|
|
|
.include <bsd.port.post.mk>
|