View | Details | Raw Unified | Return to bug 130219 | Differences between
and this patch

Collapse All | Expand All

(-)textproc/py-qt4-xmlpatterns/Makefile (+82 lines)
Line 0 Link Here
1
# New ports collection makefile for:	py-qt4-xml
2
# Date created:				2009-01-03
3
# Whom:					Dima Panv <fluffy@fluffy.khv.ru>
4
#
5
# $FreeBSD: $
6
7
PORTNAME=	xmlpatterns
8
PORTVERSION=	${PYQT4_VERSION}
9
PORTEPOCH=	1
10
11
CATEGORIES=	textproc devel python
12
MASTER_SITES=	${MASTER_SITES_PYQT4}
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}qt4-
14
DISTNAME=	${PYQT4_DISTNAME}
15
16
MAINTAINER=	${PYQT_MAINTAINER}
17
COMMENT=	Python bindings for the Qt4 toolkit, QtXmlPatterns module
18
19
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip
20
RUN_DEPENDS=	${PKGNAMEPREFIX}xml>=${PYQT4_VERSION}:${PORTSDIR}/textproc/py-qt4-xml
21
22
HAS_CONFIGURE=	yes
23
USE_PYTHON=	2.5+
24
USE_QT_VER=	4
25
QT_COMPONENTS=	xml qmake
26
27
OPTIONS=	API		"Install QtXml API for QScintilla2" on \
28
		DEBUG		"Enable debugging in generated code" off \
29
		SIPFILES	"Install the QtXml SIP files" on \
30
		TRACING		"Enable tracing in generated code" off
31
32
PATCHDIR=	${PORTSDIR}/devel/py-qt4-core/files
33
OPTIONSFILE=	${PORT_DBDIR}/py-qt4-${PORTNAME}/options
34
SIPDIR=		${PREFIX}/share/py-sip
35
CONFIGURE_ENV+=	PYQT4_COMPONENT="${PORTNAME}"
36
ARGS=		-b ${PREFIX}/bin\
37
		-d ${PYTHON_SITELIBDIR}\
38
		-q ${QT_PREFIX}/bin/qmake-qt4\
39
		--confirm-license
40
41
.include "../../devel/py-sip/files/bsd.pyqt.mk"
42
.include <bsd.port.pre.mk>
43
44
.if defined(WITH_DEBUG)
45
ARGS+=		--debug
46
.endif
47
.if defined(WITHOUT_API)
48
ARGS+=		--no-qsci-api
49
PLIST_SUB+=	API="@comment "
50
PLIST_SUB+=	APIFILE="@comment "
51
.else
52
LIB_DEPENDS+=	qscintilla2.5:${PORTSDIR}/devel/qscintilla2
53
ARGS+=		--qsci-api
54
PLIST_SUB+=	API=""
55
PLIST_SUB+=	APIFILE="share/qt4/qsci/api/python/QtXmlPatterns.api"
56
.endif
57
.if defined(WITHOUT_SIPFILES)
58
ARGS+=		--no-sip-files
59
PLIST_SUB+=	SIPFILES="@comment "
60
PLIST_SUB+=	SIPDIR="@comment "
61
.else
62
ARGS+=		--sipdir ${SIPDIR}
63
PLIST_SUB+=	SIPFILES=""
64
PLIST_SUB+=	SIPDIR="share/py-sip"
65
.endif
66
.if defined(WITH_TRACING)
67
ARGS+=		--trace
68
.endif
69
ARGS+=		--enable QtXmlPatterns
70
71
do-configure:
72
	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
73
		${PYTHON_CMD} configure.py ${ARGS}
74
75
post-configure:
76
	${REINPLACE_CMD} -e 's|mkspecs/freebsd-g++|share/qt4/mkspecs/freebsd-g++|'\
77
		-e 's|CC = cc|CC = ${CC}|'\
78
		-e 's|CXX = c++|CXX = ${CXX}|'\
79
		-e 's|LINK = c++|LINK = ${CXX}|'\
80
		${WRKSRC}/QtXmlPatterns/Makefile
81
82
.include <bsd.port.post.mk>
(-)textproc/py-qt4-xmlpatterns/distinfo (+3 lines)
Line 0 Link Here
1
MD5 (PyQt-x11-gpl-4.4.4.tar.gz) = 4bd346d56d10452e47ac71e2cbe04229
2
SHA256 (PyQt-x11-gpl-4.4.4.tar.gz) = fc09c13b340078c7995fb2b6450c5b7de8ef9411962d311a1213e773c936509a
3
SIZE (PyQt-x11-gpl-4.4.4.tar.gz) = 6982063
(-)textproc/py-qt4-xmlpatterns/pkg-descr (+4 lines)
Line 0 Link Here
1
PyQt4 is a set of Python bindings for Trolltech's Qt4 application framework.
2
This package provides the QtXmlPatterns module.
3
4
WWW: http://www.riverbankcomputing.co.uk/pyqt/
(-)textproc/py-qt4-xmlpatterns/pkg-plist (+19 lines)
Line 0 Link Here
1
%%PYTHON_SITELIBDIR%%/PyQt4/QtXmlPatterns.so
2
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/QtXmlPatternsmod.sip
3
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qabstractmessagehandler.sip
4
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qabstracturiresolver.sip
5
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qabstractxmlnodemodel.sip
6
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qabstractxmlreceiver.sip
7
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qsimplexmlnodemodel.sip
8
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qsourcelocation.sip
9
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qxmlformatter.sip
10
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qxmlname.sip
11
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qxmlnamepool.sip
12
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qxmlquery.sip
13
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qxmlresultitems.sip
14
%%SIPFILES%%%%SIPDIR%%/QtXmlPatterns/qxmlserializer.sip
15
%%SIPFILES%%@dirrm %%SIPDIR%%/QtXmlPatterns
16
%%API%%%%APIFILE%%
17
%%API%%@dirrmtry share/qt4/qsci/api/python
18
%%API%%@dirrmtry share/qt4/qsci/api
19
%%API%%@dirrmtry share/qt4/qsci
(-)www/py-qt4-webkit/Makefile (+82 lines)
Line 0 Link Here
1
# New ports collection makefile for:	py-qt4-webkit
2
# Date created:				2009-01-04
3
# Whom:					Dima Panov <fluffy@fluffy.khv.ru>
4
#
5
# $FreeBSD: $
6
7
PORTNAME=	webkit
8
PORTVERSION=	${PYQT4_VERSION}
9
PORTEPOCH=	1
10
11
CATEGORIES=	www devel python
12
MASTER_SITES=	${MASTER_SITES_PYQT4}
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}qt4-
14
DISTNAME=	${PYQT4_DISTNAME}
15
16
MAINTAINER=	${PYQT_MAINTAINER}
17
COMMENT=	Python bindings for the Qt4 toolkit, QtWebKit module
18
19
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip
20
RUN_DEPENDS=	${PKGNAMEPREFIX}core>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-core
21
22
HAS_CONFIGURE=	yes
23
USE_PYTHON=	2.5+
24
USE_QT_VER=	4
25
QT_COMPONENTS=	qmake gui network webkit
26
27
OPTIONS=	API		"Install QtXml API for QScintilla2" on \
28
		DEBUG		"Enable debugging in generated code" off \
29
		SIPFILES	"Install the QtXml SIP files" on \
30
		TRACING		"Enable tracing in generated code" off
31
32
PATCHDIR=	${PORTSDIR}/devel/py-qt4-core/files
33
OPTIONSFILE=	${PORT_DBDIR}/py-qt4-${PORTNAME}/options
34
SIPDIR=		${PREFIX}/share/py-sip
35
CONFIGURE_ENV+=	PYQT4_COMPONENT="${PORTNAME}"
36
ARGS=		-b ${PREFIX}/bin\
37
		-d ${PYTHON_SITELIBDIR}\
38
		-q ${QT_PREFIX}/bin/qmake-qt4\
39
		--confirm-license
40
41
.include "../../devel/py-sip/files/bsd.pyqt.mk"
42
.include <bsd.port.pre.mk>
43
44
.if defined(WITH_DEBUG)
45
ARGS+=		--debug
46
.endif
47
.if defined(WITHOUT_API)
48
ARGS+=		--no-qsci-api
49
PLIST_SUB+=	API="@comment "
50
PLIST_SUB+=	APIFILE="@comment "
51
.else
52
LIB_DEPENDS+=	qscintilla2.5:${PORTSDIR}/devel/qscintilla2
53
ARGS+=		--qsci-api
54
PLIST_SUB+=	API=""
55
PLIST_SUB+=	APIFILE="share/qt4/qsci/api/python/QtWebKit.api"
56
.endif
57
.if defined(WITHOUT_SIPFILES)
58
ARGS+=		--no-sip-files
59
PLIST_SUB+=	SIPFILES="@comment "
60
PLIST_SUB+=	SIPDIR="@comment "
61
.else
62
ARGS+=		--sipdir ${SIPDIR}
63
PLIST_SUB+=	SIPFILES=""
64
PLIST_SUB+=	SIPDIR="share/py-sip"
65
.endif
66
.if defined(WITH_TRACING)
67
ARGS+=		--trace
68
.endif
69
ARGS+=		--enable QtWebKit
70
71
do-configure:
72
	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
73
		${PYTHON_CMD} configure.py ${ARGS}
74
75
post-configure:
76
	${REINPLACE_CMD} -e 's|mkspecs/freebsd-g++|share/qt4/mkspecs/freebsd-g++|'\
77
		-e 's|CC = cc|CC = ${CC}|'\
78
		-e 's|CXX = c++|CXX = ${CXX}|'\
79
		-e 's|LINK = c++|LINK = ${CXX}|'\
80
		${WRKSRC}/QtWebKit/Makefile
81
82
.include <bsd.port.post.mk>
(-)www/py-qt4-webkit/distinfo (+3 lines)
Line 0 Link Here
1
MD5 (PyQt-x11-gpl-4.4.4.tar.gz) = 4bd346d56d10452e47ac71e2cbe04229
2
SHA256 (PyQt-x11-gpl-4.4.4.tar.gz) = fc09c13b340078c7995fb2b6450c5b7de8ef9411962d311a1213e773c936509a
3
SIZE (PyQt-x11-gpl-4.4.4.tar.gz) = 6982063
(-)www/py-qt4-webkit/pkg-descr (+4 lines)
Line 0 Link Here
1
PyQt4 is a set of Python bindings for Trolltech's Qt4 application framework.
2
This package provides the QtWebKit module.
3
4
WWW: http://www.riverbankcomputing.co.uk/pyqt/
(-)www/py-qt4-webkit/pkg-plist (+14 lines)
Line 0 Link Here
1
%%PYTHON_SITELIBDIR%%/PyQt4/QtWebKit.so
2
%%SIPFILES%%%%SIPDIR%%/QtWebKit/QtWebKitmod.sip
3
%%SIPFILES%%%%SIPDIR%%/QtWebKit/qwebframe.sip
4
%%SIPFILES%%%%SIPDIR%%/QtWebKit/qwebhistory.sip
5
%%SIPFILES%%%%SIPDIR%%/QtWebKit/qwebhistoryinterface.sip
6
%%SIPFILES%%%%SIPDIR%%/QtWebKit/qwebpage.sip
7
%%SIPFILES%%%%SIPDIR%%/QtWebKit/qwebpluginfactory.sip
8
%%SIPFILES%%%%SIPDIR%%/QtWebKit/qwebsettings.sip
9
%%SIPFILES%%%%SIPDIR%%/QtWebKit/qwebview.sip
10
%%SIPFILES%%@dirrm %%SIPDIR%%/QtWebKit
11
%%API%%%%APIFILE%%
12
%%API%%@dirrmtry share/qt4/qsci/api/python
13
%%API%%@dirrmtry share/qt4/qsci/api
14
%%API%%@dirrmtry share/qt4/qsci

Return to bug 130219