aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-08-07 17:11:41 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-08-07 17:11:41 +0000
commite44789791d5cd0408a8060b986e0e382c800b0b0 (patch)
treeb84df80151915fa2f308a75b65548a4e7326d13c /devel
parentadd7e9f258087ed73bc223023eac8fda3aaeb9ce (diff)
downloadports-e44789791d5cd0408a8060b986e0e382c800b0b0.tar.gz
ports-e44789791d5cd0408a8060b986e0e382c800b0b0.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/qtscriptgenerator/Makefile51
-rw-r--r--devel/qtscriptgenerator/distinfo3
-rw-r--r--devel/qtscriptgenerator/files/patch-qtscript_masterinclude.h56
-rw-r--r--devel/qtscriptgenerator/pkg-descr10
-rw-r--r--devel/qtscriptgenerator/pkg-plist45
6 files changed, 166 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index eb42e9524eea..a0f56715c496 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2556,6 +2556,7 @@
SUBDIR += qt4-scripttools
SUBDIR += qt4-uic
SUBDIR += qt4-uic3
+ SUBDIR += qtscriptgenerator
SUBDIR += quilt
SUBDIR += radrails
SUBDIR += ragel
diff --git a/devel/qtscriptgenerator/Makefile b/devel/qtscriptgenerator/Makefile
new file mode 100644
index 000000000000..f6d06ddf302d
--- /dev/null
+++ b/devel/qtscriptgenerator/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: qtscriptgenerator
+# Date Created: 13 Apr 2009
+# Whom: Mina R Waheeb <syncer@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= qtscriptgenerator
+PORTVERSION= 0.1.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+DISTNAME= ${PORTNAME}-src-${PORTVERSION}
+
+MAINTAINER= syncer@gmail.com
+COMMENT= Qt Script Generator is a tool that generates Qt bindings for Qt Script
+
+USE_GMAKE= yes
+USE_QT_VER= 4
+QT_COMPONENTS= corelib designer doc help help-tools gui iconengines \
+ imageformats inputmethods linguist network opengl \
+ phonon pixeltool porting qdbusviewer \
+ qt3support qtestlib qvfb script scripttools \
+ sql svg webkit xml xmlpatterns xmlpatterns-tool \
+ qmake_build moc_build rcc_build uic_build
+HAS_CONFIGURE= yes
+USE_LDCONFIG= yes
+INSTALL_QT_PLUGINS_DIR= ${PREFIX}/lib/qt4/plugins/
+
+do-configure:
+ @cd ${WRKSRC}/generator/ && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} -unix PREFIX=${PREFIX} generator.pro
+
+do-build:
+ @echo "---> Building generator"
+ @cd ${WRKSRC}/generator && ${GMAKE} && ${SETENV} ${CONFIGURE_ENV} \
+ ./generator --include-paths=${PREFIX}/include/:${PREFIX}/include/qt4/
+ @echo "---> Building generated files"
+ @cd ${WRKSRC}/qtbindings && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} -unix PREFIX=${PREFIX} INCLUDEPATH+=${PREFIX}/include/qt4/phonon \
+ LIBS+=-L${PREFIX}/lib qtbindings.pro && ${GMAKE}
+
+do-install:
+ ${MKDIR} ${INSTALL_QT_PLUGINS_DIR}/script
+ cd ${WRKSRC}/plugins/script/ && ${COPYTREE_SHARE} \* ${INSTALL_QT_PLUGINS_DIR}/script
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= does not build on 6.X
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/qtscriptgenerator/distinfo b/devel/qtscriptgenerator/distinfo
new file mode 100644
index 000000000000..81c030b6c89a
--- /dev/null
+++ b/devel/qtscriptgenerator/distinfo
@@ -0,0 +1,3 @@
+MD5 (qtscriptgenerator-src-0.1.0.tar.gz) = ca4046ad4bda36cd4e21649d4b98886d
+SHA256 (qtscriptgenerator-src-0.1.0.tar.gz) = 462ec57a65cf61228070a442299a5ecd189f80325f8246e5f98e0b8b06941f41
+SIZE (qtscriptgenerator-src-0.1.0.tar.gz) = 374223
diff --git a/devel/qtscriptgenerator/files/patch-qtscript_masterinclude.h b/devel/qtscriptgenerator/files/patch-qtscript_masterinclude.h
new file mode 100644
index 000000000000..ddbdbbcd6b42
--- /dev/null
+++ b/devel/qtscriptgenerator/files/patch-qtscript_masterinclude.h
@@ -0,0 +1,56 @@
+--- generator/qtscript_masterinclude.h.orig 2009-02-20 11:42:24.000000000 +0000
++++ generator/qtscript_masterinclude.h 2009-04-13 08:32:00.000000000 +0000
+@@ -31,18 +31,42 @@
+
+ #include <QtUiTools/QtUiTools>
+
+-#ifndef QT_NO_XMLPATTERNS
+-# include <QtXmlPatterns/QtXmlPatterns>
+-#endif
+-
+-#ifndef QT_NO_WEBKIT
+-# include <QtWebKit/QtWebKit>
+-#endif
+-
+-#ifndef QT_NO_PHONON
+-# include <phonon/phonon>
+-#endif
++#include <QtXmlPatterns/QtXmlPatterns>
+
++#include <QtWebKit/QtWebKit>
++
++#include "phonon/abstractaudiooutput.h"
++#include "phonon/abstractmediastream.h"
++#include "phonon/abstractvideooutput.h"
++#include "phonon/addoninterface.h"
++#include "phonon/audiooutput.h"
++#include "phonon/audiooutputinterface.h"
++#include "phonon/backendcapabilities.h"
++#include "phonon/backendinterface.h"
++#include "phonon/effect.h"
++#include "phonon/effectinterface.h"
++#include "phonon/effectparameter.h"
++#include "phonon/effectwidget.h"
++#include "phonon/mediacontroller.h"
++#include "phonon/medianode.h"
++#include "phonon/mediaobject.h"
++#include "phonon/mediaobjectinterface.h"
++#include "phonon/mediasource.h"
++#include "phonon/objectdescription.h"
++#include "phonon/objectdescriptionmodel.h"
++#include "phonon/path.h"
++#include "phonon/phonondefs.h"
++#include "phonon/phononnamespace.h"
++#include "phonon/platformplugin.h"
++#include "phonon/seekslider.h"
++#include "phonon/streaminterface.h"
++#include "phonon/videoplayer.h"
++#include "phonon/videowidget.h"
++#include "phonon/videowidgetinterface.h"
++#include "phonon/volumefadereffect.h"
++#include "phonon/volumefaderinterface.h"
++#include "phonon/volumeslider.h"
++
+ #include "../qtbindings/qtscript_core/qtscriptconcurrent.h"
+
+ #ifndef QT_NO_OPENGL
diff --git a/devel/qtscriptgenerator/pkg-descr b/devel/qtscriptgenerator/pkg-descr
new file mode 100644
index 000000000000..254f751d26c6
--- /dev/null
+++ b/devel/qtscriptgenerator/pkg-descr
@@ -0,0 +1,10 @@
+Qt Script Generator is a tool that generates Qt bindings for Qt Script.
+With the generated bindings you get access to substantial portions
+of the Qt API from within Qt Script.
+
+Qt is a cross-platform application framework for desktop and embedded
+development. It includes an intuitive API and a rich C++ class
+library, integrated tools for GUI development and internationalization,
+and support for Java? and C++ development.
+
+WWW: http://qtscriptgenerator.googlecode.com
diff --git a/devel/qtscriptgenerator/pkg-plist b/devel/qtscriptgenerator/pkg-plist
new file mode 100644
index 000000000000..bf64fd19d3d1
--- /dev/null
+++ b/devel/qtscriptgenerator/pkg-plist
@@ -0,0 +1,45 @@
+lib/qt4/plugins/script/libqtscript_core.so
+lib/qt4/plugins/script/libqtscript_core.so.1
+lib/qt4/plugins/script/libqtscript_core.so.1.0
+lib/qt4/plugins/script/libqtscript_core.so.1.0.0
+lib/qt4/plugins/script/libqtscript_gui.so
+lib/qt4/plugins/script/libqtscript_gui.so.1
+lib/qt4/plugins/script/libqtscript_gui.so.1.0
+lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
+lib/qt4/plugins/script/libqtscript_network.so
+lib/qt4/plugins/script/libqtscript_network.so.1
+lib/qt4/plugins/script/libqtscript_network.so.1.0
+lib/qt4/plugins/script/libqtscript_network.so.1.0.0
+lib/qt4/plugins/script/libqtscript_opengl.so
+lib/qt4/plugins/script/libqtscript_opengl.so.1
+lib/qt4/plugins/script/libqtscript_opengl.so.1.0
+lib/qt4/plugins/script/libqtscript_opengl.so.1.0.0
+lib/qt4/plugins/script/libqtscript_phonon.so
+lib/qt4/plugins/script/libqtscript_phonon.so.1
+lib/qt4/plugins/script/libqtscript_phonon.so.1.0
+lib/qt4/plugins/script/libqtscript_phonon.so.1.0.0
+lib/qt4/plugins/script/libqtscript_sql.so
+lib/qt4/plugins/script/libqtscript_sql.so.1
+lib/qt4/plugins/script/libqtscript_sql.so.1.0
+lib/qt4/plugins/script/libqtscript_sql.so.1.0.0
+lib/qt4/plugins/script/libqtscript_svg.so
+lib/qt4/plugins/script/libqtscript_svg.so.1
+lib/qt4/plugins/script/libqtscript_svg.so.1.0
+lib/qt4/plugins/script/libqtscript_svg.so.1.0.0
+lib/qt4/plugins/script/libqtscript_uitools.so
+lib/qt4/plugins/script/libqtscript_uitools.so.1
+lib/qt4/plugins/script/libqtscript_uitools.so.1.0
+lib/qt4/plugins/script/libqtscript_uitools.so.1.0.0
+lib/qt4/plugins/script/libqtscript_webkit.so
+lib/qt4/plugins/script/libqtscript_webkit.so.1
+lib/qt4/plugins/script/libqtscript_webkit.so.1.0
+lib/qt4/plugins/script/libqtscript_webkit.so.1.0.0
+lib/qt4/plugins/script/libqtscript_xml.so
+lib/qt4/plugins/script/libqtscript_xml.so.1
+lib/qt4/plugins/script/libqtscript_xml.so.1.0
+lib/qt4/plugins/script/libqtscript_xml.so.1.0.0
+lib/qt4/plugins/script/libqtscript_xmlpatterns.so
+lib/qt4/plugins/script/libqtscript_xmlpatterns.so.1
+lib/qt4/plugins/script/libqtscript_xmlpatterns.so.1.0
+lib/qt4/plugins/script/libqtscript_xmlpatterns.so.1.0.0
+@dirrm lib/qt4/plugins/script/