[Midnightbsd-cvs] mports: mports/devel:
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Oct 10 13:55:28 EDT 2008
Log Message:
-----------
Modified Files:
--------------
mports/devel:
Makefile (r1.256 -> r1.257)
Added Files:
-----------
mports/devel/qt4-makeqpf:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/devel/qt4-makeqpf/files:
patch-tools-makeqpf-qpf2.cpp (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.256
retrieving revision 1.257
diff -L devel/Makefile -L devel/Makefile -u -r1.256 -r1.257
--- devel/Makefile
+++ devel/Makefile
@@ -279,6 +279,7 @@
SUBDIR += qt4-help-tools
SUBDIR += qt4-libqtassistantclient
SUBDIR += qt4-linguist
+ SUBDIR += qt4-makeqpf
SUBDIR += qt4-moc
SUBDIR += qt4-qt3support
SUBDIR += qt4-rcc
--- /dev/null
+++ devel/qt4-makeqpf/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-makeqpf/pkg-plist
@@ -0,0 +1,2 @@
+bin/makeqpf-qt4
+%%DEBUG%%bin/makeqpf-qt4.debug
--- /dev/null
+++ devel/qt4-makeqpf/Makefile
@@ -0,0 +1,57 @@
+# 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-makeqpf/Makefile,v 1.1 2008/10/10 17:55:25 laffer1 Exp $
+# $FreeBSD: ports/devel/qt4-makeqpf/Makefile,v 1.5 2008/08/04 23:30:33 miwi Exp $
+#
+
+PORTNAME= makeqpf
+PORTVERSION= ${QT4_VERSION}
+CATEGORIES?= devel
+MASTER_SITES= ${MASTER_SITE_QT}
+PKGNAMEPREFIX= qt4-
+DISTNAME= qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR= KDE
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Qt qtopia font creator
+LICENSE= gpl2
+
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build moc_build rcc_build uic_build corelib gui
+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[[:blank:]]*=[[:blank:]]*|TARGET=${PORTNAME}-qt4|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
+ ${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/../../bin/uic
+ ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../bin/rcc
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/qt4-makeqpf/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
+++ devel/qt4-makeqpf/files/patch-tools-makeqpf-qpf2.cpp
@@ -0,0 +1,11 @@
+--- qpf2.cpp Sun Jul 8 08:08:09 2007
++++ qpf2.cpp Sun Jul 8 08:08:33 2007
+@@ -342,6 +342,8 @@
+ int startGlyphIndex;
+ };
+
++#define log2(x) log(x)/log(2)
++
+ static QByteArray generateTrueTypeCMap(QFontEngine *fe)
+ {
+ QByteArray cmap;
More information about the Midnightbsd-cvs
mailing list