Split the designer from qt2 proper,

since it has quite different dependencies.
This commit is contained in:
espie 2001-03-21 23:57:53 +00:00
parent e7d1c82b2e
commit 56413d0274
6 changed files with 104 additions and 0 deletions

77
x11/qt2-designer/Makefile Normal file
View File

@ -0,0 +1,77 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/03/21 23:57:53 espie Exp $
COMMENT= designer for qt2
VERSION= 3.0
DISTNAME= qt-designer-2.${VERSION}
CATEGORIES= x11
NEED_VERSION= 1.361
MASTER_SITES= ftp://ftp.troll.no/qt/source/
DISTFILES= qt-x11-2.${VERSION}.tar.gz
EXTRACT_ONLY=
BUILD_DEPENDS= /nonexistent::x11/qt2:configure
HOMEPAGE= http://www.trolltech.com/qt/
MAINTAINER= Marc Espie <espie@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_ONLY=
WRKDIST= ${WRKDIR}/qt2-tools
post-extract:
mkdir -p ${WRKDIST}/lib ${WRKDIST}/bin
lndir `cd ${PORTSDIR} && cd x11/qt2 && ${MAKE} show VARNAME=WRKDIST`/tools ${WRKDIST}
USE_X11= Yes
USE_GMAKE= Yes
MAKE_ENV= QTDIR="${WRKDIST}" EXTRA_SAMPLES="${EXTRA_SAMPLES}" \
SYS_CXX="${CXX}" SYS_CXXFLAGS="${CXXFLAGS}" \
LD_LIBRARY_PATH="${WRKDIST}/lib" KDEDIR=${LOCALBASE}
MAKE_FLAGS= SYSCONF_CXXFLAGS_QT=-I${LOCALBASE}/include/X11/qt2 \
SYSCONF_LFLAGS_QT=-L${LOCALBASE}/lib/qt2 \
SYSCONF_MOC=${LOCALBASE}/bin/moc2
LIB_DEPENDS= jpeg.62.::graphics/jpeg \
png.1.::graphics/png \
mng.1.::graphics/libmng \
qt.2::x11/qt2 \
kdecore.::x11/kde/libs2
TRUEDIR= ${TRUEPREFIX}/lib/qt2
QT_LIBDIR= ${PREFIX}/lib/qt2
QT_MANDIR= ${QT_LIBDIR}/man
QT_EXAMPLES= ${QT_LIBDIR}/examples
QT_TUTORIAL= ${QT_LIBDIR}/tutorial
QT_DOC= ${PREFIX}/share/doc/qt2
do-install:
${INSTALL_MAN_DIR} ${QT_MANDIR}/man1
${INSTALL_DATA_DIR} ${QT_LIBDIR}/bin
${INSTALL_DATA_DIR} ${QT_LIBDIR}/tools/designer/templates
@if [ -f ${WRKBUILD}/lib/libqutil.a ]; then \
${INSTALL_DATA} ${WRKBUILD}/lib/libqutil.a ${QT_LIBDIR}; \
fi
@if [ -f ${WRKBUILD}/lib/libqutil.so.1.0 ]; then \
${INSTALL_DATA} ${WRKBUILD}/lib/libqutil.so.1.0 ${QT_LIBDIR}; \
fi
echo "#! /bin/sh" >${WRKDIR}/designer
echo "QTDIR=${TRUEDIR} exec ${TRUEDIR}/bin/designer" \
>>${WRKDIR}/designer
${INSTALL_DATA} ${WRKBUILD}/designer/templates/* \
${QT_LIBDIR}/tools/designer/templates
${INSTALL_SCRIPT} ${WRKDIR}/designer ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/bin/designer ${QT_LIBDIR}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/bin/uic ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/designer/uic/uic.1 ${QT_MANDIR}/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (qt-x11-2.3.0.tar.gz) = f4993d952b9380a5009735aa1b7b9c03
RMD160 (qt-x11-2.3.0.tar.gz) = 978255a707403270e971f0bac0db8e51a423cb15
SHA1 (qt-x11-2.3.0.tar.gz) = 6ab5ff4f648bbe20c957f9124fc4e025385112ce

View File

@ -0,0 +1,6 @@
The Qt toolkit features an interface designer.
This interface designer is bundled apart, because of
dependency issues.
Namely, it can handle kde applications, but it depends on kde being
installed for that... and kde needs qt2 to build.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.no-shared,v 1.1.1.1 2001/03/21 23:57:54 espie Exp $
lib/qt2/libqutil.a

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/03/21 23:57:53 espie Exp $
lib/qt2/libqutil.so.1.0
DYNLIBDIR(%D/lib/qt2)

View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/21 23:57:53 espie Exp $
bin/designer
bin/uic
lib/qt2/bin/designer
lib/qt2/man/man1/uic.1
lib/qt2/tools/designer/templates/Configuration_Dialog.ui
lib/qt2/tools/designer/templates/Dialog_with_Buttons_(Bottom).ui
lib/qt2/tools/designer/templates/Dialog_with_Buttons_(Right).ui
lib/qt2/tools/designer/templates/Tab-Dialog.ui
%%SHARED%%
@dirrm lib/qt2/tools/designer/templates
@dirrm lib/qt2/tools/designer
@dirrm lib/qt2/tools