diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2007-07-16 10:12:15 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2007-07-16 10:12:15 +0000 |
commit | 8bd00266dc1b89a8a7a9d6170d1d895ef285c905 (patch) | |
tree | 78e6b0d3b242b999541f0e267c681933f7c9bc9d /devel/qt4-script | |
parent | d35a45eeb49c097657f16ba58ccbdf86bc3a59b4 (diff) | |
download | ports-8bd00266dc1b89a8a7a9d6170d1d895ef285c905.tar.gz ports-8bd00266dc1b89a8a7a9d6170d1d895ef285c905.zip |
Notes
Diffstat (limited to 'devel/qt4-script')
-rw-r--r-- | devel/qt4-script/Makefile | 68 | ||||
-rw-r--r-- | devel/qt4-script/distinfo | 3 | ||||
-rw-r--r-- | devel/qt4-script/pkg-descr | 12 | ||||
-rw-r--r-- | devel/qt4-script/pkg-plist | 32 |
4 files changed, 115 insertions, 0 deletions
diff --git a/devel/qt4-script/Makefile b/devel/qt4-script/Makefile new file mode 100644 index 000000000000..28f1e68bc5c2 --- /dev/null +++ b/devel/qt4-script/Makefile @@ -0,0 +1,68 @@ +# -*-mode: makefile-*- +# New ports collection makefile for: qt40 +# Date created: Wed Jun 29 11:49:42 CEST 2005 +# Whom: lofi@freebsd.org +# +# $FreeBSD$ +# + +PORTNAME= script +PORTVERSION= ${QT4_VERSION} +PORTREVISION=0 +CATEGORIES?= devel +MASTER_SITES= ${MASTER_SITE_QT} +PKGNAMEPREFIX= qt4- +DISTNAME= qt-x11-opensource-src-${PORTVERSION} +DIST_SUBDIR= KDE + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt script + +USE_QT_VER= 4 +QT_COMPONENTS= qmake moc corelib +QT_NONSTANDARD= yes +QT_DIST= yes + +HAS_CONFIGURE= yes +USE_LDCONFIG= 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 +EXTRACT_AFTER_ARGS=| ${TAR} -xf - \ + --exclude '${DISTNAME}/mkspecs' --exclude '${DISTNAME}/qmake' \ + --exclude '${DISTNAME}/demos' --exclude '${DISTNAME}/examples' \ + --exclude '${DISTNAME}/src/gui' --exclude '${DISTNAME}/src/network' \ + --exclude '${DISTNAME}/src/opengl' --exclude '${DISTNAME}/src/qt3support' \ + --exclude '${DISTNAME}/src/sql' --exclude '${DISTNAME}/src/xml' \ + --exclude '${DISTNAME}/src/tools/moc' --exclude '${DISTNAME}/src/tools/rcc' \ + --exclude '${DISTNAME}/src/tools/uic' --exclude '${DISTNAME}/src/tools/uic3' \ + --exclude '${DISTNAME}/tools/assistant' --exclude '${DISTNAME}/tools/designer' \ + --exclude '${DISTNAME}/tools/linguist' --exclude '${DISTNAME}/tools/porting' \ + --exclude '${DISTNAME}/tools/qtconfig' --exclude '${DISTNAME}/tools/qvfb' +WRKSRC= ${WRKDIR}/${DISTNAME}/src/${PORTNAME} +CONFIGURE_WRKSRC=${WRKSRC}/../../ +PATCH_WRKSRC=${WRKSRC}/../../ + +.include <bsd.port.pre.mk> + +pre-configure: + ${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC} + ${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/lib|g' \ + -e 's|flat_headers.path.*|flat_headers.path=${PREFIX}/include/Qt|g' \ + -e 's|targ_headers.path.*|targ_headers.path=${PREFIX}/include/$$$$TARGET|g' \ + ${WRKSRC}/${PORTNAME}.pro ${WRKSRC}/../qt_install.pri + ${MKDIR} ${WRKSRC}/../../mkspecs + ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake + ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc + +post-configure: + ${REINPLACE_CMD} -e 's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ + -e 's|.*$$(QMAKE).*||g' -e 's|(test -z.*||g' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \ + -E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \ + -E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \ + ${WRKSRC}/../../lib/pkgconfig/*Qt* + +.include <bsd.port.post.mk> diff --git a/devel/qt4-script/distinfo b/devel/qt4-script/distinfo new file mode 100644 index 000000000000..8fb631a2787d --- /dev/null +++ b/devel/qt4-script/distinfo @@ -0,0 +1,3 @@ +MD5 (KDE/qt-x11-opensource-src-4.3.0.tar.gz) = 8012acea71b35c18247bd92c4721589d +SHA256 (KDE/qt-x11-opensource-src-4.3.0.tar.gz) = abc37774d327a9b1d1d35e223f014c7e92168cd6c7baf66156badca68f8f1440 +SIZE (KDE/qt-x11-opensource-src-4.3.0.tar.gz) = 41955515 diff --git a/devel/qt4-script/pkg-descr b/devel/qt4-script/pkg-descr new file mode 100644 index 000000000000..efc79b9aaf24 --- /dev/null +++ b/devel/qt4-script/pkg-descr @@ -0,0 +1,12 @@ +Qt is a C++ toolkit for application development. It lets application +developers target all major operating systems with a single application +source code. + +Qt provides a platform-independent API to all central platform functionality: +GUI, database access, networking, file handling, etc. The Qt library +encapsulates the different APIs of different operating systems, providing +the application programmer with a single, common API for all operating systems. +The native C APIs are encapsulated in a set of well-designed, fully +object-oriented C++ classes. + +WWW: http://www.trolltech.com/products/qt/index.html diff --git a/devel/qt4-script/pkg-plist b/devel/qt4-script/pkg-plist new file mode 100644 index 000000000000..9b91d242407b --- /dev/null +++ b/devel/qt4-script/pkg-plist @@ -0,0 +1,32 @@ +include/Qt/QtScript +include/Qt/qscriptable.h +include/Qt/qscriptcontext.h +include/Qt/qscriptengine.h +include/Qt/qscriptextensioninterface.h +include/Qt/qscriptextensionplugin.h +include/Qt/qscriptvalue.h +include/Qt/qscriptvalueiterator.h +include/QtScript/QScriptContext +include/QtScript/QScriptEngine +include/QtScript/QScriptExtensionInterface +include/QtScript/QScriptExtensionPlugin +include/QtScript/QScriptValue +include/QtScript/QScriptValueIterator +include/QtScript/QScriptValueList +include/QtScript/QScriptable +include/QtScript/QtScript +include/QtScript/qscriptable.h +include/QtScript/qscriptcontext.h +include/QtScript/qscriptengine.h +include/QtScript/qscriptextensioninterface.h +include/QtScript/qscriptextensionplugin.h +include/QtScript/qscriptvalue.h +include/QtScript/qscriptvalueiterator.h +lib/libQtScript.la +lib/libQtScript.prl +lib/libQtScript.so +lib/libQtScript.so.4 +lib/libQtScript.so.4.3 +lib/libQtScript.so.4.3.0 +libdata/pkgconfig/QtScript.pc +@dirrm include/QtScript |