[Midnightbsd-cvs] mports [20118] trunk/devel: add qt4-linguisttools
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Aug 29 15:20:27 EDT 2015
Revision: 20118
http://svnweb.midnightbsd.org/mports/?rev=20118
Author: laffer1
Date: 2015-08-29 15:20:26 -0400 (Sat, 29 Aug 2015)
Log Message:
-----------
add qt4-linguisttools
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/qt4-linguisttools/
trunk/devel/qt4-linguisttools/Makefile
trunk/devel/qt4-linguisttools/files/
trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_lrelease.pro
trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_main.cpp
trunk/devel/qt4-linguisttools/pkg-plist
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2015-08-29 19:18:28 UTC (rev 20117)
+++ trunk/devel/Makefile 2015-08-29 19:20:26 UTC (rev 20118)
@@ -434,6 +434,7 @@
SUBDIR += qt4-help-tools
SUBDIR += qt4-libqtassistantclient
SUBDIR += qt4-linguist
+SUBDIR += qt4-linguisttools
SUBDIR += qt4-makeqpf
SUBDIR += qt4-moc
SUBDIR += qt4-porting
Added: trunk/devel/qt4-linguisttools/Makefile
===================================================================
--- trunk/devel/qt4-linguisttools/Makefile (rev 0)
+++ trunk/devel/qt4-linguisttools/Makefile 2015-08-29 19:20:26 UTC (rev 20118)
@@ -0,0 +1,50 @@
+# $MidnightBSD$
+# $FreeBSD: head/devel/qt4-linguisttools/Makefile 379843 2015-02-24 21:39:19Z makc $
+
+PORTNAME= linguisttools
+DISTVERSION= ${QT4_VERSION}
+CATEGORIES= devel
+PKGNAMEPREFIX= qt4-
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Qt 4 localization tools
+
+LICENSE= gpl3
+
+USE_QT4= qmake_build xml
+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:$$LD_LIBRARY_PATH \
+ PATH=${WRKSRC}/bin:$$PATH
+
+DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \
+ src/activeqt src/dbus src/multimedia src/network src/opengl \
+ src/openvg src/phonon src/qt3support src/s60installs \
+ src/s60main src/script src/scripttools src/sql src/svg \
+ src/testlib src/tools src/winmain src/xmlpatterns \
+ src/3rdparty/clucene src/3rdparty/freetype \
+ src/3rdparty/libjpeg src/3rdparty/libmng src/3rdparty/libpng \
+ src/3rdparty/libtiff src/3rdparty/phonon src/3rdparty/webkit
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
+.endfor
+
+BUILD_WRKSRC= ${WRKSRC}/tools/linguist
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+
+pre-configure:
+ ${REINPLACE_CMD} -E -e 's|^TARGET[[:blank:]]*=[[:blank:]]*([a-z]+)|TARGET=\1${_QT_BINSUFX}|g' \
+ ${BUILD_WRKSRC}/linguist.pro ${BUILD_WRKSRC}/linguist/linguist.pro \
+ ${BUILD_WRKSRC}/lrelease/lrelease.pro ${BUILD_WRKSRC}/lupdate/lupdate.pro
+ ${MKDIR} ${WRKSRC}/mkspecs
+ ${LN} -sf ${QMAKE} ${WRKSRC}/bin/qmake
+
+post-patch:
+ @${REINPLACE_CMD} -e '/SUBDIRS.*linguist/ d' \
+ ${WRKSRC}/tools/linguist/linguist.pro
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/qt4-linguisttools/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_lrelease.pro
===================================================================
--- trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_lrelease.pro (rev 0)
+++ trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_lrelease.pro 2015-08-29 19:20:26 UTC (rev 20118)
@@ -0,0 +1,11 @@
+--- tools/linguist/lrelease/lrelease.pro.orig 2015-02-23 21:14:17 UTC
++++ tools/linguist/lrelease/lrelease.pro
+@@ -2,6 +2,8 @@ TEMPLATE = app
+ TARGET = lrelease
+ DESTDIR = ../../../bin
+
++QT -= gui
++
+ DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
+ SOURCES += main.cpp
+
Property changes on: trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_lrelease.pro
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_main.cpp
===================================================================
--- trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_main.cpp (rev 0)
+++ trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_main.cpp 2015-08-29 19:20:26 UTC (rev 20118)
@@ -0,0 +1,10 @@
+--- tools/linguist/lrelease/main.cpp.orig 2014-04-10 18:37:13 UTC
++++ tools/linguist/lrelease/main.cpp
+@@ -47,6 +47,7 @@
+ #ifndef QT_BOOTSTRAPPED
+ #include <QtCore/QCoreApplication>
+ #include <QtCore/QTranslator>
++#include <QtCore/QLibraryInfo>
+ #endif
+ #include <QtCore/QDebug>
+ #include <QtCore/QDir>
Property changes on: trunk/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_main.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/qt4-linguisttools/pkg-plist
===================================================================
--- trunk/devel/qt4-linguisttools/pkg-plist (rev 0)
+++ trunk/devel/qt4-linguisttools/pkg-plist 2015-08-29 19:20:26 UTC (rev 20118)
@@ -0,0 +1,6 @@
+%%QT_BINDIR%%/lconvert
+%%DEBUG%%%%QT_BINDIR%%/lconvert.debug
+%%QT_BINDIR%%/lrelease-qt4
+%%DEBUG%%%%QT_BINDIR%%/lrelease-qt4.debug
+%%QT_BINDIR%%/lupdate-qt4
+%%DEBUG%%%%QT_BINDIR%%/lupdate-qt4.debug
Property changes on: trunk/devel/qt4-linguisttools/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list