[Midnightbsd-cvs] mports: mports/devel: add qt4 porting
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Oct 10 13:56:46 EDT 2008
Log Message:
-----------
add qt4 porting
Modified Files:
--------------
mports/devel:
Makefile (r1.257 -> r1.258)
Added Files:
-----------
mports/devel/qt4-porting:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.257
retrieving revision 1.258
diff -L devel/Makefile -L devel/Makefile -u -r1.257 -r1.258
--- devel/Makefile
+++ devel/Makefile
@@ -281,6 +281,7 @@
SUBDIR += qt4-linguist
SUBDIR += qt4-makeqpf
SUBDIR += qt4-moc
+ SUBDIR += qt4-porting
SUBDIR += qt4-qt3support
SUBDIR += qt4-rcc
SUBDIR += qt4-uic
--- /dev/null
+++ devel/qt4-porting/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
+++ devel/qt4-porting/pkg-plist
@@ -0,0 +1,3 @@
+bin/qt3to4
+%%DEBUG%%bin/qt3to4.debug
+share/qt4/q3porting.xml
--- /dev/null
+++ devel/qt4-porting/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: qt40
+# Date created: Wed Jun 29 11:49:42 CEST 2005
+# Whom: lofi at freebsd.org
+#
+# $MidnightBSD: mports/devel/qt4-porting/Makefile,v 1.1 2008/10/10 17:56:44 laffer1 Exp $
+# $FreeBSD: ports/devel/qt4-porting/Makefile,v 1.8 2008/08/04 23:30:33 miwi Exp $
+#
+
+PORTNAME= porting
+PORTVERSION= ${QT4_VERSION}
+CATEGORIES?= devel
+MASTER_SITES= ${MASTER_SITE_QT}
+PKGNAMEPREFIX= qt4-
+DISTNAME= qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Qt utility to assist with porting Qt3 applications to Qt4
+LICENSE= gpl2
+
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build moc_build rcc_build corelib 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 translations \
+ src/dbus src/gui src/network src/opengl src/phonon \
+ src/qt3support src/script src/sql src/svg 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}/tools/${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
+++ devel/qt4-porting/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