[Midnightbsd-cvs] mports: mports/devel: add qt4-linguist

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Oct 10 13:52:49 EDT 2008


Log Message:
-----------
add qt4-linguist

Modified Files:
--------------
    mports/devel:
        Makefile (r1.255 -> r1.256)

Added Files:
-----------
    mports/devel/qt4-linguist:
        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.255
retrieving revision 1.256
diff -L devel/Makefile -L devel/Makefile -u -r1.255 -r1.256
--- devel/Makefile
+++ devel/Makefile
@@ -278,6 +278,7 @@
     SUBDIR += qt4-help
     SUBDIR += qt4-help-tools
     SUBDIR += qt4-libqtassistantclient
+    SUBDIR += qt4-linguist
     SUBDIR += qt4-moc
     SUBDIR += qt4-qt3support
     SUBDIR += qt4-rcc
--- /dev/null
+++ devel/qt4-linguist/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-linguist/pkg-plist
@@ -0,0 +1,20 @@
+bin/linguist-qt4
+%%DEBUG%%bin/linguist-qt4.debug
+bin/lrelease-qt4
+%%DEBUG%%bin/lrelease-qt4.debug
+bin/lupdate-qt4
+%%DEBUG%%bin/lupdate-qt4.debug
+share/qt4/phrasebooks/danish.qph
+share/qt4/phrasebooks/dutch.qph
+share/qt4/phrasebooks/finnish.qph
+share/qt4/phrasebooks/french.qph
+share/qt4/phrasebooks/german.qph
+share/qt4/phrasebooks/italian.qph
+share/qt4/phrasebooks/japanese.qph
+share/qt4/phrasebooks/norwegian.qph
+share/qt4/phrasebooks/polish.qph
+share/qt4/phrasebooks/russian.qph
+share/qt4/phrasebooks/spanish.qph
+share/qt4/phrasebooks/swedish.qph
+ at dirrm share/qt4/phrasebooks
+ at dirrmtry share/qt4
--- /dev/null
+++ devel/qt4-linguist/Makefile
@@ -0,0 +1,62 @@
+# 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-linguist/Makefile,v 1.1 2008/10/10 17:52:47 laffer1 Exp $
+# $FreeBSD: ports/devel/qt4-linguist/Makefile,v 1.13 2008/06/06 13:21:50 edwin Exp $
+#
+
+PORTNAME=	linguist
+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 localisation tool
+LICENSE=	gpl2
+
+USE_QT_VER=	4
+QT_COMPONENTS=	qmake_build designer moc_build rcc_build uic_build \
+		assistantclient gui network 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}
+
+EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
+	--exclude '${DISTNAME}/mkspecs' --exclude '${DISTNAME}/qmake' \
+	--exclude '${DISTNAME}/demos' --exclude '${DISTNAME}/examples' \
+	--exclude '${DISTNAME}/src/opengl' --exclude '${DISTNAME}/src/qt3support' \
+	--exclude '${DISTNAME}/src/sql' --exclude '${DISTNAME}/src/plugins' \
+	--exclude '${DISTNAME}/src/3rdparty' --exclude '${DISTNAME}/src/tools/moc' \
+	--exclude '${DISTNAME}/src/tools/rcc' --exclude '${DISTNAME}/src/tools/uic' \
+	--exclude '${DISTNAME}/src/tools/uic3' --exclude '${DISTNAME}/tools/porting' \
+	--exclude '${DISTNAME}/tools/qtconfig' --exclude '${DISTNAME}/tools/qvfb'
+WRKSRC=		${WRKDIR}/${DISTNAME}/tools/${PORTNAME}
+CONFIGURE_WRKSRC=${WRKSRC}/../../
+PATCH_WRKSRC=${CONFIGURE_WRKSRC}
+
+pre-configure:
+	${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
+	${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/bin|g' \
+		-e 's|phrasebooks.path.*|phrasebooks.path=${PREFIX}/share/qt4/phrasebooks|g' \
+		-e 's|linguisttranslations.path.*|linguisttranslations.path=${PREFIX}/share/qt4/translations|g' \
+		-E -e 's|^TARGET[[:blank:]]*=[[:blank:]]*([a-z]+)|TARGET=\1-qt4|g' \
+		${WRKSRC}/${PORTNAME}.pro ${WRKSRC}/${PORTNAME}/${PORTNAME}.pro \
+		${WRKSRC}/lrelease/lrelease.pro ${WRKSRC}/lupdate/lupdate.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-linguist/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