[Midnightbsd-cvs] mports: mports/graphics: add qt4 ports

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Oct 9 16:31:39 EDT 2008


Log Message:
-----------
add qt4 ports

Modified Files:
--------------
    mports/graphics:
        Makefile (r1.80 -> r1.81)

Added Files:
-----------
    mports/graphics/qt4-iconengines:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/graphics/qt4-imageformats:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/graphics/qt4-pixeltool:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/graphics/qt4-svg:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/graphics/Makefile,v
retrieving revision 1.80
retrieving revision 1.81
diff -L graphics/Makefile -L graphics/Makefile -u -r1.80 -r1.81
--- graphics/Makefile
+++ graphics/Makefile
@@ -94,6 +94,10 @@
     SUBDIR += popplerkit
     SUBDIR += plotutils
     SUBDIR += py-cairo
+    SUBDIR += qt4-iconengines
+    SUBDIR += qt4-imageformats
+    SUBDIR += qt4-pixeltool
+    SUBDIR += qt4-svg
     SUBDIR += sane-backends
     SUBDIR += scr2png
     SUBDIR += sdl_gfx
--- /dev/null
+++ graphics/qt4-iconengines/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
--- /dev/null
+++ graphics/qt4-iconengines/pkg-plist
@@ -0,0 +1,3 @@
+lib/qt4/plugins/iconengines/libqsvgicon.so
+%%DEBUG%%lib/qt4/plugins/iconengines/libqsvgicon.so.debug
+ at dirrmtry lib/qt4/plugins/iconengines
--- /dev/null
+++ graphics/qt4-iconengines/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for:	qt40
+# Date created:				Wed Jun 29 11:49:42 CEST 2005
+# Whom:					lofi at freebsd.org
+#
+# $MidnightBSD: mports/graphics/qt4-iconengines/Makefile,v 1.1 2008/10/09 20:31:36 laffer1 Exp $
+# $FreeBSD: ports/graphics/qt4-iconengines/Makefile,v 1.12 2008/08/04 23:30:35 miwi Exp $
+#
+
+PORTNAME=	iconengines
+PORTVERSION=	${QT4_VERSION}
+CATEGORIES?=	graphics
+MASTER_SITES=	${MASTER_SITE_QT}
+PKGNAMEPREFIX=	qt4-
+DISTNAME=	qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR=	KDE
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Qt SVG icon engine plugin
+LICENSE=	gpl2
+
+USE_QT_VER=	4
+QT_COMPONENTS=	qmake_build moc_build corelib gui svg xml
+QT_NONSTANDARD=	yes
+QT_DIST=	yes
+
+HAS_CONFIGURE=	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 ${FAKE_MAKEARGS} destdir=${FAKE_DESTDIR} \
+		INSTALL_ROOT=${FAKE_DESTDIR}
+
+DO_NOT_EXTRACT=	demos doc examples mkspecs qmake tools translations \
+		src/dbus src/network src/opengl src/phonon \
+		src/qt3support src/script src/sql src/testlib \
+		src/tools src/xmlpatterns src/3rdparty/clucene \
+		src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+EXTRACT_AFTER_ARGS=	| ${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+=	--exclude '${DISTNAME}/${dne}'
+.endfor
+
+WRKSRC=		${WRKDIR}/${DISTNAME}/src/plugins/iconengines/svgiconengine
+CONFIGURE_WRKSRC=${WRKSRC}/../../../..
+
+pre-configure:
+	${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
+	${MKDIR} ${WRKSRC}/../../../../mkspecs
+	${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../../bin/qmake
+	${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../../bin/moc
+
+.include <bsd.port.mk>
--- /dev/null
+++ graphics/qt4-iconengines/distinfo
@@ -0,0 +1,3 @@
+MD5 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = b09decad252b5181f300135e3122481d
+SHA256 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 5aca7b784fc4de3db292666490ade84cfd1810f189c089c5c2810a710993f386
+SIZE (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 108774120
--- /dev/null
+++ graphics/qt4-imageformats/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
--- /dev/null
+++ graphics/qt4-imageformats/pkg-plist
@@ -0,0 +1,13 @@
+lib/qt4/plugins/imageformats/libqgif.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqgif.so.debug
+lib/qt4/plugins/imageformats/libqjpeg.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqjpeg.so.debug
+lib/qt4/plugins/imageformats/libqmng.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqmng.so.debug
+lib/qt4/plugins/imageformats/libqsvg.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqsvg.so.debug
+lib/qt4/plugins/imageformats/libqtiff.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqtiff.so.debug
+lib/qt4/plugins/imageformats/libqico.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqico.so.debug
+ at dirrmtry lib/qt4/plugins/imageformats
--- /dev/null
+++ graphics/qt4-imageformats/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for:	qt40
+# Date created:				Wed Jun 29 11:49:42 CEST 2005
+# Whom:					lofi at freebsd.org
+#
+# $MidnightBSD: mports/graphics/qt4-imageformats/Makefile,v 1.1 2008/10/09 20:31:36 laffer1 Exp $
+# $FreeBSD: ports/graphics/qt4-imageformats/Makefile,v 1.13 2008/08/04 23:30:35 miwi Exp $
+#
+
+PORTNAME=	imageformats
+PORTVERSION=	${QT4_VERSION}
+CATEGORIES?=	graphics
+MASTER_SITES=	${MASTER_SITE_QT}
+PKGNAMEPREFIX=	qt4-
+DISTNAME=	qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR=	KDE
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Qt imageformat plugins for GIF, JPEG, MNG and SVG
+LICENSE=	gpl2
+
+LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
+		mng:${PORTSDIR}/graphics/libmng \
+		png:${PORTSDIR}/graphics/png \
+		tiff:${PORTSDIR}/graphics/tiff
+
+USE_QT_VER=	4
+QT_COMPONENTS=	qmake_build moc_build rcc_build corelib gui svg xml
+QT_NONSTANDARD=	yes
+QT_DIST=	yes
+
+HAS_CONFIGURE=	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 ${FAKE_MAKEARGS} destdir=${FAKE_DESTDIR} \
+		INSTALL_ROOT=${FAKE_DESTDIR}
+
+DO_NOT_EXTRACT=	demos doc examples mkspecs qmake tools translations \
+		src/dbus src/network src/opengl src/phonon \
+		src/qt3support src/script src/sql src/testlib \
+		src/tools src/xmlpatterns src/3rdparty/clucene \
+		src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+EXTRACT_AFTER_ARGS=	|${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+=	--exclude '${DISTNAME}/${dne}'
+.endfor
+
+WRKSRC=		${WRKDIR}/${DISTNAME}/src/plugins/${PORTNAME}
+CONFIGURE_WRKSRC=${WRKSRC}/../../..
+
+pre-configure:
+	${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
+	${MKDIR} ${WRKSRC}/../../../mkspecs
+	${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../bin/qmake
+	${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../bin/moc
+	${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../../bin/rcc
+
+.include <bsd.port.mk>
--- /dev/null
+++ graphics/qt4-imageformats/distinfo
@@ -0,0 +1,3 @@
+MD5 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = b09decad252b5181f300135e3122481d
+SHA256 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 5aca7b784fc4de3db292666490ade84cfd1810f189c089c5c2810a710993f386
+SIZE (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 108774120
--- /dev/null
+++ graphics/qt4-pixeltool/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
--- /dev/null
+++ graphics/qt4-pixeltool/pkg-plist
@@ -0,0 +1,2 @@
+bin/pixeltool
+%%DEBUG%%bin/pixeltool.debug
--- /dev/null
+++ graphics/qt4-pixeltool/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for:	qt40
+# Date created:				Wed Jun 29 11:49:42 CEST 2005
+# Whom:					lofi at freebsd.org
+#
+# $MidnightBSD: mports/graphics/qt4-pixeltool/Makefile,v 1.1 2008/10/09 20:31:36 laffer1 Exp $
+# $FreeBSD: ports/graphics/qt4-pixeltool/Makefile,v 1.11 2008/08/04 23:30:36 miwi Exp $
+#
+
+PORTNAME=	pixeltool
+PORTVERSION=	${QT4_VERSION}
+CATEGORIES?=	graphics
+MASTER_SITES=	${MASTER_SITE_QT}
+PKGNAMEPREFIX=	qt4-
+DISTNAME=	qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR=	KDE
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Qt screen magnification utility
+LICENSE=	gpl2
+
+USE_QT_VER=	4
+QT_COMPONENTS=	qmake_build moc_build corelib gui network
+QT_NONSTANDARD=	yes
+QT_DIST=	yes
+
+HAS_CONFIGURE=	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 ${FAKE_MAKEARGS} destdir=${FAKE_DESTDIR} \
+		INSTALL_ROOT=${FAKE_DESTDIR}
+
+DO_NOT_EXTRACT=	demos doc examples mkspecs qmake translations \
+		src/dbus src/network src/opengl src/phonon \
+		src/qt3support src/script src/sql src/svg src/testlib \
+		src/tools src/xml src/xmlpatterns src/3rdparty/clucene \
+		src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+EXTRACT_AFTER_ARGS=	| ${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+=	--exclude '${DISTNAME}/${dne}'
+.endfor
+
+WRKSRC=		${WRKDIR}/${DISTNAME}/tools/${PORTNAME}
+CONFIGURE_WRKSRC=${WRKSRC}/../../
+
+pre-configure:
+	${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
+	${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/bin|g' \
+		${WRKSRC}/${PORTNAME}.pro
+	${MKDIR} ${WRKSRC}/../../mkspecs
+	${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake
+	${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
+
+.include <bsd.port.mk>
--- /dev/null
+++ graphics/qt4-pixeltool/distinfo
@@ -0,0 +1,3 @@
+MD5 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = b09decad252b5181f300135e3122481d
+SHA256 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 5aca7b784fc4de3db292666490ade84cfd1810f189c089c5c2810a710993f386
+SIZE (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 108774120
--- /dev/null
+++ graphics/qt4-svg/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
--- /dev/null
+++ graphics/qt4-svg/pkg-plist
@@ -0,0 +1,25 @@
+include/qt4/Qt/QtSvg
+include/qt4/Qt/qgraphicssvgitem.h
+include/qt4/Qt/qsvggenerator.h
+include/qt4/Qt/qsvgrenderer.h
+include/qt4/Qt/qsvgwidget.h
+include/qt4/QtSvg/QGraphicsSvgItem
+include/qt4/QtSvg/QSvgGenerator
+include/qt4/QtSvg/QSvgRenderer
+include/qt4/QtSvg/QSvgWidget
+include/qt4/QtSvg/QtSvg
+include/qt4/QtSvg/qgraphicssvgitem.h
+include/qt4/QtSvg/qsvggenerator.h
+include/qt4/QtSvg/qsvgrenderer.h
+include/qt4/QtSvg/qsvgwidget.h
+lib/qt4/libQtSvg.la
+lib/qt4/libQtSvg.prl
+lib/qt4/libQtSvg.so
+lib/qt4/libQtSvg.so.4
+lib/qt4/libQtSvg.so.4.4
+lib/qt4/libQtSvg.so.4.4.1
+%%DEBUG%%lib/qt4/libQtSvg.so.4.4.1.debug
+libdata/pkgconfig/QtSvg.pc
+ at dirrm include/qt4/QtSvg
+ at dirrmtry include/qt4/Qt
+ at dirrmtry include/qt4
--- /dev/null
+++ graphics/qt4-svg/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for:	qt40
+# Date created:				Wed Jun 29 11:49:42 CEST 2005
+# Whom:					lofi at freebsd.org
+#
+# $MidnightBSD: mports/graphics/qt4-svg/Makefile,v 1.1 2008/10/09 20:31:37 laffer1 Exp $
+# $FreeBSD: ports/graphics/qt4-svg/Makefile,v 1.14 2008/08/04 23:30:35 miwi Exp $
+#
+
+PORTNAME=	svg
+PORTVERSION=	${QT4_VERSION}
+CATEGORIES?=	graphics
+MASTER_SITES=	${MASTER_SITE_QT}
+PKGNAMEPREFIX=	qt4-
+DISTNAME=	qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR=	KDE
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Qt SVG library
+LICENSE=	gpl2
+
+USE_QT_VER=	4
+QT_COMPONENTS=	qmake_build moc_build corelib gui
+QT_NONSTANDARD=	yes
+QT_DIST=	yes
+
+HAS_CONFIGURE=	yes
+USE_LDCONFIG=	${PREFIX}/lib/qt4
+
+ALL_TARGET=	first
+CONFIGURE_ENV?=	QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
+MAKE_ENV?=	QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
+		PATH=${WRKSRC}/bin:$$PATH ${FAKE_MAKEARGS} destdir=${FAKE_DESTDIR} \
+		INSTALL_ROOT=${FAKE_DESTDIR}
+
+DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
+		src/dbus src/network src/opengl src/phonon \
+		src/qt3support src/script src/sql src/testlib \
+		src/tools src/xmlpatterns src/3rdparty/clucene \
+		src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+EXTRACT_AFTER_ARGS=	| ${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+=	--exclude '${DISTNAME}/${dne}'
+.endfor
+
+WRKSRC=		${WRKDIR}/${DISTNAME}/src/${PORTNAME}
+CONFIGURE_WRKSRC=${WRKSRC}/../../
+
+pre-configure:
+	${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
+	${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/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+		-e 's|.*$$(QMAKE).*||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' \
+		${WRKSRC}/../../lib/pkgconfig/QtSvg.pc
+
+.include <bsd.port.mk>
--- /dev/null
+++ graphics/qt4-svg/distinfo
@@ -0,0 +1,3 @@
+MD5 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = b09decad252b5181f300135e3122481d
+SHA256 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 5aca7b784fc4de3db292666490ade84cfd1810f189c089c5c2810a710993f386
+SIZE (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 108774120


More information about the Midnightbsd-cvs mailing list