diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-qt4-qscintilla2/Makefile | 58 | ||||
-rw-r--r-- | devel/py-qt4-qscintilla2/distinfo | 3 | ||||
-rw-r--r-- | devel/py-qt4-qscintilla2/pkg-descr | 5 | ||||
-rw-r--r-- | devel/py-qt4-qscintilla2/pkg-plist | 39 |
5 files changed, 106 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 0e829849f2c9..0ac18c0fefe6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1842,6 +1842,7 @@ SUBDIR += py-qt4-dbus SUBDIR += py-qt4-designer SUBDIR += py-qt4-designerplugin + SUBDIR += py-qt4-qscintilla2 SUBDIR += py-qt4-test SUBDIR += py-rbtree SUBDIR += py-repl diff --git a/devel/py-qt4-qscintilla2/Makefile b/devel/py-qt4-qscintilla2/Makefile new file mode 100644 index 000000000000..d6b16a05304f --- /dev/null +++ b/devel/py-qt4-qscintilla2/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: py-qt4-qscintilla2 +# Date created: 2007-02-20 +# Whom: Danny Pansters <danny@ricin.com> +# +# $FreeBSD$ + +PORTNAME= qscintilla2 +PORTVERSION= 20070318 +CATEGORIES= devel +MASTER_SITES= http://www.riverbankcomputing.com/Downloads/Snapshots/QScintilla2/ \ + http://freebsd.ricin.com/ports/distfiles/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4- +DISTNAME= QScintilla-1.72-gpl-2-snapshot-${PORTVERSION} + +MAINTAINER= danny@ricin.com +COMMENT= Python bindings for QScintilla2 (PyQt4), QSci module + +LIB_DEPENDS= qscintilla2.1:${PORTSDIR}/devel/qscintilla2 +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui +RUN_DEPENDS= ${BUILD_DEPENDS} + +HAS_CONFIGURE= yes +USE_PYTHON= 2.3+ + +OPTIONS= DEBUG "Enable debugging in generated code" off \ + SIPFILES "Install the Qscintilla SIP files" on \ + TRACING "Enable tracing in generated code" off + +OPTIONSFILE= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options +SIPDIR= ${PREFIX}/share/py-sip +ARGS= -c -j 2 -p 4 -d ${PYTHONPREFIX_SITELIBDIR}/PyQt4 +WRKSRC= ${WRKDIR}/${DISTNAME}/Python + +.include <bsd.port.pre.mk> + +.if defined(WITH_DEBUG) +ARGS+= -u +.endif +.if defined(WITHOUT_SIPFILES) +ARGS+= -v /dev/null +PLIST_SUB+= SIPFILES="@comment " +PLIST_SUB+= SIPDIR="@comment " +.else +ARGS+= -v ${SIPDIR} +PLIST_SUB+= SIPFILES="" +PLIST_SUB+= SIPDIR="share/py-sip" +.endif +.if defined(WITH_TRACING) +ARGS+= -r +.endif + +do-configure: + ( cd ${WRKSRC} && ${PYTHON_CMD} configure.py ${ARGS} ) + +do-build: + ( cd ${WRKSRC} && ${MAKE} ) + +.include <bsd.port.post.mk> diff --git a/devel/py-qt4-qscintilla2/distinfo b/devel/py-qt4-qscintilla2/distinfo new file mode 100644 index 000000000000..50c7260dd6e2 --- /dev/null +++ b/devel/py-qt4-qscintilla2/distinfo @@ -0,0 +1,3 @@ +MD5 (QScintilla-1.72-gpl-2-snapshot-20070318.tar.gz) = 406bc1f4837b5b6bb67bbfb26d1dab9f +SHA256 (QScintilla-1.72-gpl-2-snapshot-20070318.tar.gz) = fae15d16faa1016344f45eb2481660a9de0f9a7724aad0733d104409f6d1ffde +SIZE (QScintilla-1.72-gpl-2-snapshot-20070318.tar.gz) = 1660332 diff --git a/devel/py-qt4-qscintilla2/pkg-descr b/devel/py-qt4-qscintilla2/pkg-descr new file mode 100644 index 000000000000..2f02c5cc6212 --- /dev/null +++ b/devel/py-qt4-qscintilla2/pkg-descr @@ -0,0 +1,5 @@ +PyQt4 is a set of Python bindings for Trolltech's Qt4 application framework. +This package provides the Qsci module for the Qscintilla2 editor component. + +WWW: http://www.riverbankcomputing.co.uk/pyqt/ + http://www.riverbankcomputing.co.uk/qscintilla/ diff --git a/devel/py-qt4-qscintilla2/pkg-plist b/devel/py-qt4-qscintilla2/pkg-plist new file mode 100644 index 000000000000..1e18c357ff34 --- /dev/null +++ b/devel/py-qt4-qscintilla2/pkg-plist @@ -0,0 +1,39 @@ +%%PYTHON_SITELIBDIR%%/PyQt4/Qsci.so +%%SIPFILES%%%%SIPDIR%%/Qsci/qsciapis.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscicommand.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscicommandset.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscidocument.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexer.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerbash.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerbatch.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexercpp.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexercsharp.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexercss.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerdiff.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerhtml.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexeridl.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerjava.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerjavascript.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerlua.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexermakefile.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerperl.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerpov.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerproperties.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerpython.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexerruby.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexersql.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscilexertex.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscimacro.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscimod3.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscimod4.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qscimodcommon.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qsciprinter.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qsciscintilla.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qsciscintillabase3.sip +%%SIPFILES%%%%SIPDIR%%/Qsci/qsciscintillabase4.sip +%%SIPFILES%%@dirrm %%SIPDIR%%/Qsci +@cwd %%LOCALBASE%% +share/qt4/qsci/api/python/QScintilla2.api +@dirrmtry share/qt4/qsci/api/python +@dirrmtry share/qt4/qsci/api +@dirrmtry share/qt4/qsci |