diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-10-31 14:50:43 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-10-31 14:50:43 +0000 |
commit | c5ddda521a557c6873dbeda2c13bad5724c89197 (patch) | |
tree | 152ccd6e9fc02761a883548f1c999c28b4cda129 /devel | |
parent | b0d5c11d3c936fdf99426e3f7ad395afad95034a (diff) |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/linguist/Makefile | 42 | ||||
-rw-r--r-- | devel/linguist/distinfo | 1 | ||||
-rw-r--r-- | devel/linguist/files/patch-aa | 59 | ||||
-rw-r--r-- | devel/linguist/pkg-comment | 1 | ||||
-rw-r--r-- | devel/linguist/pkg-descr | 16 | ||||
-rw-r--r-- | devel/linguist/pkg-plist | 40 |
7 files changed, 160 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ef5f199a5167..129c86b6263c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -146,6 +146,7 @@ SUBDIR += libunicode SUBDIR += libxalloc SUBDIR += lincvs + SUBDIR += linguist SUBDIR += linux_devtools SUBDIR += linux_kdump SUBDIR += linuxthreads diff --git a/devel/linguist/Makefile b/devel/linguist/Makefile new file mode 100644 index 000000000000..31ca24140449 --- /dev/null +++ b/devel/linguist/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: linguist +# Date created: 31 October 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= linguist +PORTVERSION= 0.0 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.trolltech.com/qt/pre-releases/ +DISTNAME= ${PORTNAME}-pre + +MAINTAINER= sobomax@FreeBSD.org + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_QT2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +HAS_CONFIGURE= yes +CONFIGURE_ENV= TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \ + QTDIR="${X11BASE}" +MAKE_ENV= TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \ + QTDIR="${X11BASE}" \ + MOC="${X11BASE}/bin/moc2" +MAKE_ARGS= -e + +post-configure: + @${PERL} -pi -e 's|\$\(SUBDIRS\):.*tmake_all|\$\(SUBDIRS\):|' \ + ${WRKSRC}/Makefile + @find ${WRKSRC} -name "Makefile" -type f | xargs ${PERL} -pi -e \ + 's|TARGET.*=.*\$\(QTDIR\)/bin/|TARGET=|' + +do-install: +.for file in linguist lrelease lupdate qm2ts + ${INSTALL_PROGRAM} ${WRKSRC}/${file}/${file} ${PREFIX}/bin +.endfor + ${MKDIR} ${PREFIX}/share/doc/linguist + ${INSTALL_MAN} ${WRKSRC}/linguist/tutorial/doc/html/* ${PREFIX}/share/doc/linguist + +.include <bsd.port.mk> diff --git a/devel/linguist/distinfo b/devel/linguist/distinfo new file mode 100644 index 000000000000..fa30f60aeb1a --- /dev/null +++ b/devel/linguist/distinfo @@ -0,0 +1 @@ +MD5 (linguist-pre.tar.gz) = 6ea8e653a409efd0ebce39060e7d808f diff --git a/devel/linguist/files/patch-aa b/devel/linguist/files/patch-aa new file mode 100644 index 000000000000..fad336a0b304 --- /dev/null +++ b/devel/linguist/files/patch-aa @@ -0,0 +1,59 @@ +--- configure 2000/10/31 13:01:21 1.1 ++++ configure 2000/10/31 13:03:15 +@@ -9,7 +9,7 @@ + exit -1 + fi + +-if [ ! -f "$TMAKEPATH/../../bin/tmake" ] ++if [ ! -f "$TMAKEPATH/../../../bin/tmake" ] + then + echo "*******************************************************************************" + echo " The tmake utility was not found. This package requires a correctly" +@@ -20,21 +20,21 @@ + + echo "Creating Makefiles..." + +-$TMAKEPATH/../../bin/tmake -o Makefile *.pro 2> /dev/null ++$TMAKEPATH/../../../bin/tmake -o Makefile *.pro 2> /dev/null + cd linguist +-$TMAKEPATH/../../bin/tmake -o Makefile *.pro 2> /dev/null ++$TMAKEPATH/../../../bin/tmake -o Makefile *.pro 2> /dev/null + cd tutorial/tt1 +-$TMAKEPATH/../../bin/tmake -o Makefile *.pro 2> /dev/null ++$TMAKEPATH/../../../bin/tmake -o Makefile *.pro 2> /dev/null + cd ../tt2 +-$TMAKEPATH/../../bin/tmake -o Makefile *.pro 2> /dev/null ++$TMAKEPATH/../../../bin/tmake -o Makefile *.pro 2> /dev/null + cd ../tt3 +-$TMAKEPATH/../../bin/tmake -o Makefile *.pro 2> /dev/null ++$TMAKEPATH/../../../bin/tmake -o Makefile *.pro 2> /dev/null + cd ../../../lrelease +-$TMAKEPATH/../../bin/tmake -o Makefile *.pro 2> /dev/null ++$TMAKEPATH/../../../bin/tmake -o Makefile *.pro 2> /dev/null + cd ../lupdate +-$TMAKEPATH/../../bin/tmake -o Makefile *.pro 2> /dev/null ++$TMAKEPATH/../../../bin/tmake -o Makefile *.pro 2> /dev/null + cd ../qm2ts +-$TMAKEPATH/../../bin/tmake -o Makefile *.pro 2> /dev/null ++$TMAKEPATH/../../../bin/tmake -o Makefile *.pro 2> /dev/null + cd .. + + if [ -z "$QTDIR" ] +@@ -46,7 +46,7 @@ + exit -1 + fi + +-if [ ! -f "$QTDIR/lib/libqt.so.2.2.1" -a ! -f "$QTDIR/lib/libqt.a" ] ++if [ ! -f "$QTDIR/lib/libqt2.so.4" -a ! -f "$QTDIR/lib/libqt2.a" ] + then + echo "*******************************************************************************" + echo " The Qt 2.2.1 Library was not found. This package requires a correctly set up" +@@ -55,7 +55,7 @@ + exit -1 + fi + +-if [ ! -f "$QTDIR/bin/moc" ] ++if [ ! -f "$QTDIR/bin/moc2" ] + then + echo "*******************************************************************************" + echo " The moc meta object compiler was not found. This package requires a" diff --git a/devel/linguist/pkg-comment b/devel/linguist/pkg-comment new file mode 100644 index 000000000000..7fdb59607f33 --- /dev/null +++ b/devel/linguist/pkg-comment @@ -0,0 +1 @@ +A tool for generating translations of strings used in i10'ed Qt programs diff --git a/devel/linguist/pkg-descr b/devel/linguist/pkg-descr new file mode 100644 index 000000000000..ca7fe11e780d --- /dev/null +++ b/devel/linguist/pkg-descr @@ -0,0 +1,16 @@ +Qt Linguist, localization tool, allows users to seamlessly convert Qt-based +programs from one language to another, simply and intelligently. Qt Linguist +helps with the translation of all visible text in a program, to and from any +language supported by Unicode and the target platforms. A key feature in Qt +Linguist is a specialized editing tool, with many features to help the +translators be more productive and get better results. Qt Linguist will work +with both Qt/Windows and Qt for UNIX. + +Qt Linguist also includes a pre-installed intelligent database of multi-lingual +terms to assist in the translation process. Once new translations are made, the +database saves the terms for later re-use. This provides translators a tool +that greatly increases work efficiency as they continue to use the product. + +Qt Linguist is distributed under BSD-style license. + +WWW: http://www.trolltech.com/company/announce/linguistpre.html diff --git a/devel/linguist/pkg-plist b/devel/linguist/pkg-plist new file mode 100644 index 000000000000..adfc11f93192 --- /dev/null +++ b/devel/linguist/pkg-plist @@ -0,0 +1,40 @@ +bin/linguist +bin/lrelease +bin/lupdate +bin/qm2ts +share/doc/linguist/examples.html +share/doc/linguist/index +share/doc/linguist/propertyindex +share/doc/linguist/titleindex +share/doc/linguist/tt1-main-cpp.html +share/doc/linguist/tt1-tt1-pro.html +share/doc/linguist/tt1.html +share/doc/linguist/tt1_en.png +share/doc/linguist/tt1_la.png +share/doc/linguist/tt2-arrowpad-cpp.html +share/doc/linguist/tt2-arrowpad-h.html +share/doc/linguist/tt2-main-cpp.html +share/doc/linguist/tt2-mainwindow-cpp.html +share/doc/linguist/tt2-mainwindow-h.html +share/doc/linguist/tt2-tt2-pro.html +share/doc/linguist/tt2.html +share/doc/linguist/tt2_en.png +share/doc/linguist/tt2_fr.png +share/doc/linguist/tt2_nl.png +share/doc/linguist/tt3-main-cpp.html +share/doc/linguist/tt3-mainwindow-cpp.html +share/doc/linguist/tt3-mainwindow-h.html +share/doc/linguist/tt3-printpanel-cpp.html +share/doc/linguist/tt3-printpanel-h.html +share/doc/linguist/tt3-tt3-pro.html +share/doc/linguist/tt3-tt3_pt-ts.html +share/doc/linguist/tt3.html +share/doc/linguist/tt3_10_en.png +share/doc/linguist/tt3_10_pt_bad.png +share/doc/linguist/tt3_10_pt_good.png +share/doc/linguist/tt3_11_about_pt.png +share/doc/linguist/tt3_11_en.png +share/doc/linguist/tt3_11_pt.png +share/doc/linguist/ttutorial.html +share/doc/linguist/whatsthis +@dirrm share/doc/linguist |