2006-01-13 14:18:49 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.59 2006/01/13 19:18:50 espie Exp $
|
2002-03-04 11:13:04 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.33 1999/02/27 03:09:57 andreas Exp $
|
2002-03-30 13:13:31 -05:00
|
|
|
|
2003-04-10 14:08:56 -04:00
|
|
|
COMMENT= "C++ X11 GUI toolkit"
|
|
|
|
COMMENT-examples= "examples and tutorial for qt3"
|
|
|
|
COMMENT-html= "off-line html documentation for qt3"
|
|
|
|
COMMENT-postgresql= "PostgresSQL plugin for qt3"
|
|
|
|
COMMENT-mysql= "MySQL plugin for qt3"
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2005-04-09 17:24:12 -04:00
|
|
|
PKGNAME= qt3-${VERSION}
|
2006-01-13 14:18:49 -05:00
|
|
|
PKGNAME-mysql= qt3-mysql-${VERSION}p1
|
|
|
|
PKGNAME-postgresql= qt3-postgresql-${VERSION}p1
|
2005-09-19 06:24:56 -04:00
|
|
|
PKGNAME-examples= qt3-examples-${VERSION}
|
2006-01-13 14:18:49 -05:00
|
|
|
FULLPKGNAME= qt3-mt-${VERSION}p3${PKGDEBUG}
|
2005-09-19 06:24:56 -04:00
|
|
|
FULLPKGNAME-html= qt3-html-${VERSION}
|
2006-01-13 14:18:49 -05:00
|
|
|
SHARED_LIBS= qt-mt 30.0 \
|
|
|
|
qui 2.0 \
|
|
|
|
qui-mt 2.0
|
2005-12-28 11:50:58 -05:00
|
|
|
|
|
|
|
# note that qui-mt is a `false' library, just a link to qui.
|
|
|
|
|
2006-01-02 11:59:37 -05:00
|
|
|
# XXX be sure to update the qt3.port.mk version after a qt bump.
|
2005-12-28 11:50:58 -05:00
|
|
|
QT_PLUGINS= plugins-${LIBqt-mt_VERSION:R}
|
|
|
|
|
2004-01-07 20:12:59 -05:00
|
|
|
|
2005-09-19 06:24:56 -04:00
|
|
|
VERSION= 3.5
|
2002-03-04 11:13:04 -05:00
|
|
|
DISTNAME= qt-x11-free-3.${VERSION}
|
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ftp://ftp.troll.no/qt/source/
|
|
|
|
|
2005-12-27 13:04:32 -05:00
|
|
|
MASTER_SITES0= http://freedesktop.org/~daisuke/
|
|
|
|
|
|
|
|
PATCHFILES= qt-x11-immodule-unified-qt3.3.5-20051018.diff.bz2:0
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKDIST} && /bin/sh ./make-symlinks.sh
|
|
|
|
|
2002-03-04 11:13:04 -05:00
|
|
|
HOMEPAGE= http://www.trolltech.com/qt/
|
|
|
|
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
2004-10-30 05:12:35 -04:00
|
|
|
FLAVORS=debug
|
2002-10-26 07:45:52 -04:00
|
|
|
|
2004-10-30 05:12:35 -04:00
|
|
|
PSEUDO_FLAVORS= no_mysql no_postgresql no_examples mt
|
|
|
|
FLAVOR?=
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2003-10-08 13:13:14 -04:00
|
|
|
# GPL/QPL
|
2002-03-04 11:13:04 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-19 08:09:45 -05:00
|
|
|
myWANTLIB= GL GLU ICE SM X11 Xcursor Xext Xft Xi Xinerama Xmu \
|
|
|
|
Xrandr Xrender fontconfig freetype jpeg lcms m z
|
2002-03-04 11:13:04 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
MAKE_ENV= QTDIR="${WRKDIST}" EXTRA_SAMPLES="${EXTRA_SAMPLES}" \
|
|
|
|
SYS_CXX="${CXX}" SYS_CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
LD_LIBRARY_PATH="${WRKDIST}/lib"
|
|
|
|
|
|
|
|
# For qsettings to write its setup
|
2004-01-07 20:12:59 -05:00
|
|
|
PORTHOME= ${WRKDIST}
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2005-12-28 11:50:58 -05:00
|
|
|
MAKE_FLAGS= DESIGNER_SUBDIR=dummy \
|
|
|
|
LIBqt-mt_VERSION=$(LIBqt-mt_VERSION) \
|
|
|
|
LIBqui_VERSION=$(LIBqui_VERSION)
|
|
|
|
FAKE_FLAGS= $(MAKE_FLAGS) DESTDIR=${WRKINST}
|
|
|
|
|
2002-03-04 11:13:04 -05:00
|
|
|
CONFIGURE_STYLE= simple
|
2004-01-07 20:12:59 -05:00
|
|
|
CONFIGURE_ARGS= -qt-gif -system-libmng -system-libpng -system-libjpeg -system-zlib \
|
|
|
|
-qt-imgfmt-mng -qt-imgfmt-png -qt-imgfmt-jpeg -sm -no-g++-exceptions \
|
|
|
|
-v -stl -xrender -xft -fast \
|
2002-03-30 13:13:31 -05:00
|
|
|
-no-sql-odbc \
|
2003-04-05 09:45:19 -05:00
|
|
|
-tablet \
|
|
|
|
-xinerama \
|
2005-02-03 15:05:56 -05:00
|
|
|
-cups \
|
2005-12-27 13:04:32 -05:00
|
|
|
-inputmethod \
|
2002-05-27 10:49:30 -04:00
|
|
|
-I${LOCALBASE}/include/libpng \
|
2002-03-04 11:13:04 -05:00
|
|
|
-I${X11BASE}/include/freetype2 \
|
2002-03-05 07:40:52 -05:00
|
|
|
-I${LOCALBASE}/include \
|
2002-03-04 11:13:04 -05:00
|
|
|
-L${WRKSRC}/lib \
|
2002-03-05 07:40:52 -05:00
|
|
|
-L${LOCALBASE}/lib
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2004-10-30 05:12:35 -04:00
|
|
|
MULTI_PACKAGES+=-html
|
2003-01-06 01:22:52 -05:00
|
|
|
|
2004-01-22 16:03:59 -05:00
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
|
|
CONFIGURE_ARGS+=-debug
|
|
|
|
PKGDEBUG=-debug
|
|
|
|
.else
|
|
|
|
PKGDEBUG=
|
|
|
|
.endif
|
|
|
|
|
2002-10-26 07:45:52 -04:00
|
|
|
CONFIGURE_ARGS+=-thread
|
2004-01-22 16:03:59 -05:00
|
|
|
|
2004-10-30 05:12:35 -04:00
|
|
|
.if !${FLAVOR:L:Mdebug} && !${FLAVOR:L:Mno_examples}
|
2004-01-22 16:03:59 -05:00
|
|
|
MULTI_PACKAGES+= -examples
|
|
|
|
.else
|
2003-04-05 09:45:19 -05:00
|
|
|
ALL_TARGET=sub-src sub-tools
|
2002-10-26 07:45:52 -04:00
|
|
|
.endif
|
|
|
|
|
2002-03-04 11:13:04 -05:00
|
|
|
# This is needed to find plugins
|
|
|
|
CONFIGURE_ARGS+= -prefix ${QT_LIBDIR}
|
2003-01-06 20:23:20 -05:00
|
|
|
CONFIGURE_ARGS+= -plugindir ${QT_PLUGINSDIR}
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2003-01-06 20:23:20 -05:00
|
|
|
CONFIGURE_ENV= QTDIR="${WRKSRC}"
|
2002-03-04 11:13:04 -05:00
|
|
|
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
LIB_DEPENDS=
|
|
|
|
BUILD_DEPENDS=::graphics/jpeg
|
2005-02-03 15:05:56 -05:00
|
|
|
BUILD_DEPENDS=::print/cups
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2002-03-29 20:02:49 -05:00
|
|
|
e=
|
|
|
|
.if ${FLAVOR:L:Mno_mysql}
|
|
|
|
e:=$e,no_mysql
|
|
|
|
.endif
|
|
|
|
.if ${FLAVOR:L:Mno_postgresql}
|
|
|
|
e:=$e,no_postgresql
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(FLAVOR:L:Mno_mysql)
|
2002-03-04 11:13:04 -05:00
|
|
|
CONFIGURE_ARGS+=-no-sql-mysql
|
|
|
|
.else
|
|
|
|
MULTI_PACKAGES+= -mysql
|
|
|
|
. if !defined(PACKAGING) || ${SUBPACKAGE} == "-mysql"
|
|
|
|
LIB_DEPENDS+=mysqlclient::databases/mysql
|
|
|
|
. endif
|
|
|
|
CONFIGURE_ARGS+= -I${LOCALBASE}/include/mysql -L${LOCALBASE}/lib/mysql \
|
|
|
|
-plugin-sql-mysql
|
|
|
|
.endif
|
|
|
|
|
2002-03-29 20:02:49 -05:00
|
|
|
.if !empty(FLAVOR:L:Mno_postgresql)
|
2002-03-04 11:13:04 -05:00
|
|
|
CONFIGURE_ARGS+=-no-sql-psql
|
|
|
|
.else
|
|
|
|
MULTI_PACKAGES+= -postgresql
|
|
|
|
. if !defined(PACKAGING) || ${SUBPACKAGE} == "-postgresql"
|
2004-07-27 23:15:37 -04:00
|
|
|
LIB_DEPENDS+=pq.2:postgresql-client-*:databases/postgresql
|
|
|
|
BUILD_DEPENDS+=::databases/postgresql,-server
|
2002-03-04 11:13:04 -05:00
|
|
|
. endif
|
|
|
|
CONFIGURE_ARGS+= -I${LOCALBASE}/include/postgresql \
|
2002-12-18 00:19:45 -05:00
|
|
|
-I${LOCALBASE}/include/postgresql/server \
|
2002-03-27 07:36:35 -05:00
|
|
|
-L${LOCALBASE}/lib \
|
2002-03-04 11:13:04 -05:00
|
|
|
-I${LOCALBASE}/include -plugin-sql-psql
|
|
|
|
.endif
|
|
|
|
|
2004-12-19 08:09:45 -05:00
|
|
|
.if ${SUBPACKAGE} == "-examples" || ${SUBPACKAGE} == ""
|
|
|
|
myWANTLIB+= pthread stdc++ c
|
|
|
|
.endif
|
|
|
|
|
2004-10-30 05:12:35 -04:00
|
|
|
.if !defined(PACKAGING) || ${SUBPACKAGE} != "-html"
|
2002-03-04 11:13:04 -05:00
|
|
|
LIB_DEPENDS+= png.2::graphics/png \
|
|
|
|
mng.1::graphics/libmng
|
2004-12-19 08:09:45 -05:00
|
|
|
WANTLIB= ${myWANTLIB}
|
2002-03-04 11:13:04 -05:00
|
|
|
.endif
|
2003-01-06 01:22:52 -05:00
|
|
|
|
2004-10-30 05:12:35 -04:00
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} != "-html" && ${SUBPACKAGE} != ""
|
|
|
|
LIB_DEPENDS+= qt-mt.3::x11/qt3$e
|
2002-03-04 11:13:04 -05:00
|
|
|
.endif
|
|
|
|
|
2004-02-04 02:39:18 -05:00
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-html"
|
|
|
|
PKG_ARCH= *
|
|
|
|
.endif
|
|
|
|
|
2002-03-04 11:13:04 -05:00
|
|
|
QT_INCDIR= ${PREFIX}/include/X11/qt3
|
|
|
|
TRUEDIR= ${TRUEPREFIX}/lib/qt3
|
|
|
|
QT_LIBDIR= ${PREFIX}/lib/qt3
|
|
|
|
QT_MANDIR= ${QT_LIBDIR}/man
|
|
|
|
QT_EXAMPLES= ${QT_LIBDIR}/examples
|
|
|
|
QT_TUTORIAL= ${QT_LIBDIR}/tutorial
|
|
|
|
QT_DOC= ${PREFIX}/share/doc/qt3
|
2005-12-28 11:50:58 -05:00
|
|
|
QT_PLUGINSDIR= ${QT_LIBDIR}/${QT_PLUGINS}
|
2004-10-30 05:12:35 -04:00
|
|
|
QT_BINDIR= ${QT_LIBDIR}/bin
|
2002-03-04 11:13:04 -05:00
|
|
|
|
|
|
|
# for manpages in MESSAGE
|
2005-12-28 11:50:58 -05:00
|
|
|
SUBST_VARS= QT_LIBDIR QT_DOC QT_PLUGINS
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2004-01-07 20:12:59 -05:00
|
|
|
DOCS= FAQ LICENSE.GPL README README-QT.TXT \
|
2005-12-27 13:04:32 -05:00
|
|
|
changes-3* \
|
|
|
|
README.immodule changes.immodule
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2002-10-26 07:45:52 -04:00
|
|
|
VMEM_WARNING= Yes
|
2002-10-29 14:48:57 -05:00
|
|
|
NO_REGRESS= Yes
|
2002-10-26 07:45:52 -04:00
|
|
|
|
2002-12-30 21:09:51 -05:00
|
|
|
PROGRAMS3=designer findtr moc qt20fix qtrename140 uic
|
|
|
|
PROGRAMS=assistant linguist lrelease lupdate qm2ts qmake qtconfig
|
2002-10-26 07:45:52 -04:00
|
|
|
|
2004-10-30 05:12:35 -04:00
|
|
|
.if !${FLAVOR:L:Mdebug}
|
2002-03-04 11:13:04 -05:00
|
|
|
post-configure:
|
|
|
|
@cd ${WRKSRC} && cp -R examples examples-src
|
2005-09-17 20:52:40 -04:00
|
|
|
@find ${WRKSRC}/examples-src -name '*.orig' |xargs rm -f
|
|
|
|
@find ${WRKSRC}/examples-src -name '.moc' |xargs rm -rf
|
|
|
|
@find ${WRKSRC}/examples-src -name '.obj' |xargs rm -rf
|
2002-03-04 11:13:04 -05:00
|
|
|
@cd ${WRKSRC} && cp -R tutorial tutorial-src
|
2005-09-17 20:52:40 -04:00
|
|
|
@find ${WRKSRC}/tutorial-src -name '*.orig' |xargs rm -f
|
|
|
|
@find ${WRKSRC}/tutorial-src -name '.moc' |xargs rm -rf
|
|
|
|
@find ${WRKSRC}/tutorial-src -name '.obj' |xargs rm -rf
|
2002-03-04 11:13:04 -05:00
|
|
|
|
2003-01-06 01:22:52 -05:00
|
|
|
pre-install:
|
2002-03-04 11:13:04 -05:00
|
|
|
${INSTALL_DATA_DIR} ${QT_EXAMPLES}
|
|
|
|
${INSTALL_DATA_DIR} ${QT_TUTORIAL}
|
|
|
|
# examples
|
|
|
|
cp -R ${WRKSRC}/examples-src/* ${QT_EXAMPLES}
|
|
|
|
@cd ${WRKSRC}/examples; for i in *; do \
|
|
|
|
if [ -x $$i/$$i ]; then \
|
|
|
|
${INSTALL_PROGRAM} $$i/$$i ${QT_EXAMPLES}/$$i; \
|
|
|
|
fi; done
|
|
|
|
@if [ -x ${WRKSRC}/examples/overlay_x11/overlayrubber ]; then \
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/examples/overlay_x11/overlayrubber \
|
|
|
|
${QT_EXAMPLES}/overlay_x11/overlayrubber; \
|
|
|
|
fi
|
|
|
|
cp -R ${WRKSRC}/tutorial-src/* ${QT_TUTORIAL}
|
|
|
|
@cd ${WRKSRC}/tutorial; for i in *; do \
|
|
|
|
if [ -x $$i/$$i ]; then \
|
|
|
|
${INSTALL_PROGRAM} $$i/$$i ${QT_TUTORIAL}/$$i; \
|
|
|
|
fi; done
|
2003-04-05 09:45:19 -05:00
|
|
|
.else
|
|
|
|
|
|
|
|
post-patch:
|
2004-07-22 19:03:08 -04:00
|
|
|
@rm -rf ${WRKSRC}/examples
|
|
|
|
@rm -rf ${WRKSRC}/tutorial
|
2003-04-05 09:45:19 -05:00
|
|
|
|
2003-01-06 01:22:52 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${QT_INCDIR}
|
|
|
|
${INSTALL_MAN_DIR} ${QT_MANDIR}/man1
|
|
|
|
${INSTALL_MAN_DIR} ${QT_MANDIR}/man3
|
|
|
|
${INSTALL_DATA_DIR} ${QT_DOC}/html
|
|
|
|
# includes
|
|
|
|
${INSTALL_DATA_DIR} ${QT_INCDIR}/private
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.h ${QT_INCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/private/*.h ${QT_INCDIR}/private
|
|
|
|
${INSTALL_DATA_DIR} ${QT_BINDIR} ${QT_PLUGINSDIR}
|
2002-03-04 11:13:04 -05:00
|
|
|
# documentation
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/lrelease.1 ${QT_MANDIR}/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/lupdate.1 ${QT_MANDIR}/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/moc.1 ${QT_MANDIR}/man1/moc3.1
|
2002-12-29 11:13:28 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/uic.1 ${QT_MANDIR}/man1/uic3.1
|
2002-03-04 11:13:04 -05:00
|
|
|
@for i in ${WRKSRC}/doc/man/man3/*; do \
|
|
|
|
j=$${i%qt}; \
|
|
|
|
sed -e 's,\.3qt,\.3,g' <$$i >$$j && \
|
|
|
|
${INSTALL_MAN} $$j ${QT_MANDIR}/man3; \
|
|
|
|
done
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${QT_DOC}
|
|
|
|
cp -R ${WRKSRC}/doc/html/* ${QT_DOC}/html
|
2003-01-06 01:22:52 -05:00
|
|
|
cp -R ${WRKSRC}/mkspecs ${QT_LIBDIR}/mkspecs
|
|
|
|
# libraries
|
2005-12-28 11:50:58 -05:00
|
|
|
@if [ -f ${WRKBUILD}/lib/libqt-mt.a ]; then \
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/lib/libqt-mt.a ${PREFIX}/lib/qt3; \
|
2003-01-06 01:22:52 -05:00
|
|
|
fi
|
2005-12-28 11:50:58 -05:00
|
|
|
@if [ -f ${WRKBUILD}/lib/libqt-mt.so.$(LIBqt-mt_VERSION) ]; then \
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/lib/libqt-mt.so.$(LIBqt-mt_VERSION) ${PREFIX}/lib/qt3; \
|
|
|
|
ln -sf qt3/libqt-mt.so.$(LIBqt-mt_VERSION) ${PREFIX}/lib; \
|
2003-01-06 01:22:52 -05:00
|
|
|
fi
|
2005-12-28 11:50:58 -05:00
|
|
|
@if [ -f ${WRKBUILD}/lib/libqui.a ]; then \
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/lib/libqui.a ${PREFIX}/lib/qt3; \
|
|
|
|
fi
|
|
|
|
@if [ -f ${WRKBUILD}/lib/libqui.so.$(LIBqui_VERSION) ]; then \
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/lib/libqui.so.$(LIBqui_VERSION) ${PREFIX}/lib/qt3; \
|
|
|
|
ln -sf qt3/libqui.so.$(LIBqui_VERSION) ${PREFIX}/lib; \
|
|
|
|
fi
|
|
|
|
@${INSTALL_DATA} ${WRKBUILD}/lib/libeditor.a ${PREFIX}/lib/qt3
|
|
|
|
@${INSTALL_DATA} ${WRKBUILD}/lib/libdesignercore.a ${PREFIX}/lib/qt3
|
|
|
|
@${INSTALL_DATA} ${WRKBUILD}/lib/libqassistantclient.a ${PREFIX}/lib/qt3
|
2003-01-06 01:22:52 -05:00
|
|
|
.for p in ${PROGRAMS3}
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/bin/$p ${QT_BINDIR}/$p
|
2004-10-30 05:12:35 -04:00
|
|
|
@ln -sf ${TRUEPREFIX}/lib/qt3/bin/$p ${PREFIX}/bin/$p3
|
2003-01-06 01:22:52 -05:00
|
|
|
.endfor
|
|
|
|
.for p in ${PROGRAMS}
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/bin/$p ${QT_BINDIR}/$p
|
2004-10-30 05:12:35 -04:00
|
|
|
@ln -sf ${TRUEPREFIX}/lib/qt3/bin/$p ${PREFIX}/bin/$p
|
2003-01-06 01:22:52 -05:00
|
|
|
.endfor
|
2002-03-04 11:13:04 -05:00
|
|
|
# plugins
|
2004-01-07 20:12:59 -05:00
|
|
|
${INSTALL_DATA_DIR} ${QT_PLUGINSDIR}/designer \
|
2005-12-27 13:04:32 -05:00
|
|
|
${QT_PLUGINSDIR}/sqldrivers ${QT_PLUGINSDIR}/styles \
|
|
|
|
${QT_PLUGINSDIR}/inputmethods
|
|
|
|
|
2003-01-06 01:22:52 -05:00
|
|
|
.if empty(FLAVOR:L:Mno_postgresql)
|
2002-03-04 11:13:04 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/sqldrivers/libqsqlpsql.so \
|
|
|
|
${QT_PLUGINSDIR}/sqldrivers
|
2003-01-06 01:22:52 -05:00
|
|
|
.endif
|
|
|
|
.if empty(FLAVOR:L:Mno_mysql)
|
2002-03-04 11:13:04 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/sqldrivers/libqsqlmysql.so \
|
|
|
|
${QT_PLUGINSDIR}/sqldrivers
|
2003-01-06 01:22:52 -05:00
|
|
|
.endif
|
2002-03-04 11:13:04 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/designer/libwizards.so \
|
|
|
|
${QT_PLUGINSDIR}/designer
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/designer/libcppeditor.so \
|
|
|
|
${QT_PLUGINSDIR}/designer
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/designer/libdlgplugin.so \
|
|
|
|
${QT_PLUGINSDIR}/designer
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/designer/librcplugin.so \
|
|
|
|
${QT_PLUGINSDIR}/designer
|
2005-12-27 13:04:32 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/inputmethods/libqimsw-multi.so \
|
|
|
|
${QT_PLUGINSDIR}/inputmethods
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/inputmethods/libqimsw-none.so \
|
|
|
|
${QT_PLUGINSDIR}/inputmethods
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/inputmethods/libqsimple.so \
|
|
|
|
${QT_PLUGINSDIR}/inputmethods
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/plugins/inputmethods/libqxim.so \
|
|
|
|
${QT_PLUGINSDIR}/inputmethods
|
2004-10-30 05:12:35 -04:00
|
|
|
# compatibility transition
|
|
|
|
.for p in ${PROGRAMS}
|
|
|
|
cd ${PREFIX}/bin && ln -sf $p $p-mt
|
2004-10-26 18:59:24 -04:00
|
|
|
. endfor
|
2004-10-30 05:12:35 -04:00
|
|
|
.for p in ${PROGRAMS3}
|
|
|
|
cd ${PREFIX}/bin && ln -sf $p3 $p3-mt
|
|
|
|
.endfor
|
2005-12-28 11:50:58 -05:00
|
|
|
cd ${PREFIX}/lib && ln -sf libqui.so.$(LIBqui_VERSION) libqui-mt.so.$(LIBqui_VERSION)
|
|
|
|
cd ${PREFIX}/lib/qt3 && ln -sf libqui.so.$(LIBqui_VERSION) libqui-mt.so.$(LIBqui_VERSION)
|
2004-10-30 05:12:35 -04:00
|
|
|
# links for qtdir
|
|
|
|
cd ${PREFIX}/lib/qt3 && ln -sf . lib
|
|
|
|
cd ${PREFIX}/lib/qt3 && ln -sf ../../include/X11/qt3 include
|
|
|
|
# fix for qmake
|
2004-10-31 03:49:40 -05:00
|
|
|
sed -e s,${WRKDIST},${PREFIX}/lib/qt3, <${WRKBUILD}/.qmake.cache >${WRKBUILD}/mogrified.cache
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/mogrified.cache ${PREFIX}/lib/qt3/.qmake.cache
|
2003-01-06 01:22:52 -05:00
|
|
|
|
2002-03-04 11:13:04 -05:00
|
|
|
.include <bsd.port.mk>
|