[Midnightbsd-cvs] mports: mports/x11: add qt4-opengl
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Oct 9 16:15:24 EDT 2008
Log Message:
-----------
add qt4-opengl
Modified Files:
--------------
mports/x11:
Makefile (r1.60 -> r1.61)
Added Files:
-----------
mports/x11/qt4-opengl:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/Makefile,v
retrieving revision 1.60
retrieving revision 1.61
diff -L x11/Makefile -L x11/Makefile -u -r1.60 -r1.61
--- x11/Makefile
+++ x11/Makefile
@@ -95,6 +95,7 @@
SUBDIR += pixman
SUBDIR += printproto
SUBDIR += qt4-inputmethods
+ SUBDIR += qt4-opengl
SUBDIR += randrproto
SUBDIR += recordproto
SUBDIR += renderproto
--- /dev/null
+++ x11/qt4-opengl/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
+++ x11/qt4-opengl/pkg-plist
@@ -0,0 +1,31 @@
+include/qt4/Qt/QtOpenGL
+include/qt4/Qt/qgl.h
+include/qt4/Qt/qglcolormap.h
+include/qt4/Qt/qglframebufferobject.h
+include/qt4/Qt/qglpixelbuffer.h
+include/qt4/QtOpenGL/QGLColormap
+include/qt4/QtOpenGL/QGLContext
+include/qt4/QtOpenGL/QGLFormat
+include/qt4/QtOpenGL/QGLFramebufferObject
+include/qt4/QtOpenGL/QGLPixelBuffer
+include/qt4/QtOpenGL/QGLWidget
+include/qt4/QtOpenGL/QMacCompatGLenum
+include/qt4/QtOpenGL/QMacCompatGLint
+include/qt4/QtOpenGL/QMacCompatGLuint
+include/qt4/QtOpenGL/QMacGLCompatTypes
+include/qt4/QtOpenGL/QtOpenGL
+include/qt4/QtOpenGL/qgl.h
+include/qt4/QtOpenGL/qglcolormap.h
+include/qt4/QtOpenGL/qglframebufferobject.h
+include/qt4/QtOpenGL/qglpixelbuffer.h
+lib/qt4/libQtOpenGL.la
+lib/qt4/libQtOpenGL.prl
+lib/qt4/libQtOpenGL.so
+lib/qt4/libQtOpenGL.so.4
+lib/qt4/libQtOpenGL.so.4.4
+lib/qt4/libQtOpenGL.so.4.4.1
+%%DEBUG%%lib/qt4/libQtOpenGL.so.4.4.1.debug
+libdata/pkgconfig/QtOpenGL.pc
+ at dirrm include/qt4/QtOpenGL
+ at dirrmtry include/qt4/Qt
+ at dirrmtry include/qt4
--- /dev/null
+++ x11/qt4-opengl/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: qt40
+# Date created: Wed Jun 29 11:49:42 CEST 2005
+# Whom: lofi at freebsd.org
+#
+# $MidnightBSD: mports/x11/qt4-opengl/Makefile,v 1.1 2008/10/09 20:15:21 laffer1 Exp $
+# $FreeBSD: ports/x11/qt4-opengl/Makefile,v 1.17 2008/08/05 10:24:39 miwi Exp $
+#
+
+PORTNAME= opengl
+PORTVERSION= ${QT4_VERSION}
+CATEGORIES?= x11
+MASTER_SITES= ${MASTER_SITE_QT}
+PKGNAMEPREFIX= qt4-
+DISTNAME= qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR= KDE
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Qt OpenGL 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
+USE_GL= glu
+USE_XORG= x11
+
+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/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}/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/QtOpenGL.pc
+
+.include <bsd.port.mk>
--- /dev/null
+++ x11/qt4-opengl/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