[Midnightbsd-cvs] mports: devel/qt4-moc: add moc for qt4
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 18 18:25:56 EDT 2008
Log Message:
-----------
add moc for qt4
Added Files:
-----------
mports/devel/qt4-moc:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
-------------- next part --------------
--- /dev/null
+++ devel/qt4-moc/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-moc/pkg-plist
@@ -0,0 +1,2 @@
+bin/moc-qt4
+%%DEBUG%%bin/moc-qt4.debug
\ No newline at end of file
--- /dev/null
+++ devel/qt4-moc/Makefile
@@ -0,0 +1,52 @@
+#
+# $MidnightBSD: mports/devel/qt4-moc/Makefile,v 1.1 2008/09/18 22:25:56 laffer1 Exp $
+#
+
+PORTNAME= moc
+PORTVERSION= ${QT4_VERSION}
+PORTREVISION=0
+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 meta object compiler
+LICENSE= gpl2
+
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build
+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/gui src/network src/opengl \
+ src/phonon src/qt3support src/script src/sql src/svg \
+ src/testlib 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/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' \
+ -e 's|^TARGET.*|TARGET=moc-qt4|g' \
+ ${WRKSRC}/${PORTNAME}.pro
+ ${MKDIR} ${WRKSRC}/../../../mkspecs
+ ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../bin/qmake
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/qt4-moc/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