diff options
author | markd <markd> | 2012-03-21 22:44:20 +0000 |
---|---|---|
committer | markd <markd> | 2012-03-21 22:44:20 +0000 |
commit | a0cb92f84abe9d507e8fd955bc7526058edd8341 (patch) | |
tree | c7a3db1e2775eb864b5627f4b2916c44dffab048 /editors | |
parent | a52ea7c3cc30e29c2fe91b63870e5c8e2bf24ee3 (diff) | |
download | pkgsrc-a0cb92f84abe9d507e8fd955bc7526058edd8341.tar.gz |
Import texworks 0.4.3
The TeXworks project is an effort to build a simple TeX front-end program
(working environment) that will be available for all todays major desktop
operating systems-in particular, MS Windows (XP/Vista/7), typical GNU/Linux
distros and other X11-based systems, as well as Mac OS X. It is deliberately
modeled on Dick Koch?s award-winning TeXShop for Mac OS X, which is credited
with a resurgence of TeX usage on the Mac platform.
To provide a similar experience across all systems, TeXworks is based on
cross-platform, open source tools and libraries. The Qt toolkit was chosen
for the quality of its cross-platform user interface capabilities, with
native "look and feel" on each platform being a realistic target. Qt also
provides a rich application framework, facilitating the relatively rapid
development of a usable product.
The normal TeXworks workflow is PDF-centric, using pdfTeX and XeTeX as
typesetting engines and generating PDF documents as the default formatted
output. Although it is possible to configure a processing path based on DVI,
newcomers to the TeX world need not be concerned with DVI at all, but can
generally treat TeX as a system that goes directly from marked-up text files
to ready-to-use PDF documents.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/texworks/DESCR | 20 | ||||
-rw-r--r-- | editors/texworks/Makefile | 42 | ||||
-rw-r--r-- | editors/texworks/PLIST | 94 | ||||
-rw-r--r-- | editors/texworks/distinfo | 7 | ||||
-rw-r--r-- | editors/texworks/patches/patch-TeXworks.pro | 15 | ||||
-rw-r--r-- | editors/texworks/patches/patch-getDefaultBinPaths.sh | 21 |
6 files changed, 199 insertions, 0 deletions
diff --git a/editors/texworks/DESCR b/editors/texworks/DESCR new file mode 100644 index 00000000000..e277b13632d --- /dev/null +++ b/editors/texworks/DESCR @@ -0,0 +1,20 @@ +The TeXworks project is an effort to build a simple TeX front-end program +(working environment) that will be available for all todays major desktop +operating systems-in particular, MS Windows (XP/Vista/7), typical GNU/Linux +distros and other X11-based systems, as well as Mac OS X. It is deliberately +modeled on Dick Koch?s award-winning TeXShop for Mac OS X, which is credited +with a resurgence of TeX usage on the Mac platform. + +To provide a similar experience across all systems, TeXworks is based on +cross-platform, open source tools and libraries. The Qt toolkit was chosen +for the quality of its cross-platform user interface capabilities, with +native "look and feel" on each platform being a realistic target. Qt also +provides a rich application framework, facilitating the relatively rapid +development of a usable product. + +The normal TeXworks workflow is PDF-centric, using pdfTeX and XeTeX as +typesetting engines and generating PDF documents as the default formatted +output. Although it is possible to configure a processing path based on DVI, +newcomers to the TeX world need not be concerned with DVI at all, but can +generally treat TeX as a system that goes directly from marked-up text files +to ready-to-use PDF documents. diff --git a/editors/texworks/Makefile b/editors/texworks/Makefile new file mode 100644 index 00000000000..0a714d24220 --- /dev/null +++ b/editors/texworks/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/03/21 22:44:20 markd Exp $ + +DISTNAME= texworks-0.4.3-r858 +PKGNAME= texworks-0.4.3 +CATEGORIES= editors +MASTER_SITES= http://texworks.googlecode.com/files/ + +MAINTAINER= markd@NetBSD.org +HOMEPAGE= http://www.tug.org/texworks/ +COMMENT= a simple TeX front-end program +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c c++ +USE_TOOLS+= pkg-config gmake +MAKE_ENV+= INSTALL_ROOT=${DESTDIR} + +DEPENDS+= poppler-data>=0.4.5:../../print/poppler-data + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + +SUBST_CLASSES+=man +SUBST_STAGE.man=post-configure +SUBST_FILES.man=Makefile +SUBST_SED.man=-e s!/share/man/man1!/man/man1!g + +pre-configure: + ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/ + +do-configure: + cd ${WRKSRC}; env QTDIR=${QTDIR} qmake INSTALL_PREFIX=${PREFIX} + +BUILDLINK_DEPMETHOD.qt4-tools= full + +.include "../../devel/zlib/buildlink3.mk" +.include "../../print/poppler-qt4/buildlink3.mk" +.include "../../textproc/hunspell/buildlink3.mk" +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../x11/qt4-qdbus/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/editors/texworks/PLIST b/editors/texworks/PLIST new file mode 100644 index 00000000000..875282b7554 --- /dev/null +++ b/editors/texworks/PLIST @@ -0,0 +1,94 @@ +bin/texworks +share/doc/texworks/COPYING +share/doc/texworks/README +share/doc/texworks/NEWS +share/applications/texworks.desktop +share/pixmaps/TeXworks.png +share/texworks-help/en/Installation.html +share/texworks-help/en/index23.html +share/texworks-help/en/TeXworks-manual.pdf +share/texworks-help/en/CompilingTw.html +share/texworks-help/en/index.html +share/texworks-help/en/index27.html +share/texworks-help/en/index20.html +share/texworks-help/en/index5.html +share/texworks-help/en/index17.html +share/texworks-help/en/index18.html +share/texworks-help/en/index14.html +share/texworks-help/en/index33.html +share/texworks-help/en/bibname.html +share/texworks-help/en/index12.html +share/texworks-help/en/Firststeps.html +share/texworks-help/en/index21.html +share/texworks-help/en/images/replaceDialog.png +share/texworks-help/en/images/cmsy10-c-53.png +share/texworks-help/en/images/index8x.png +share/texworks-help/en/images/iconTypeset.png +share/texworks-help/en/images/index6x.png +share/texworks-help/en/images/index5x.png +share/texworks-help/en/images/Linux.png +share/texworks-help/en/images/index7x.png +share/texworks-help/en/images/errorParsingScript.png +share/texworks-help/en/images/consoleOutput.png +share/texworks-help/en/images/MacCmdKey.png +share/texworks-help/en/images/LMB.png +share/texworks-help/en/images/Windows.png +share/texworks-help/en/images/index0x.png +share/texworks-help/en/images/example.png +share/texworks-help/en/images/index1x.png +share/texworks-help/en/images/cmsy10-c-4d.png +share/texworks-help/en/images/index2x.png +share/texworks-help/en/images/MacOptKey.png +share/texworks-help/en/images/toolbar2.png +share/texworks-help/en/images/RMB.png +share/texworks-help/en/images/toolbar1.png +share/texworks-help/en/images/TeXworks.png +share/texworks-help/en/images/index4x.png +share/texworks-help/en/images/cmsy10-c-41.png +share/texworks-help/en/images/screenshotHardWrapDlg.png +share/texworks-help/en/images/iconAbortTypesetting.png +share/texworks-help/en/images/index3x.png +share/texworks-help/en/images/Mac.png +share/texworks-help/en/images/interface-summary.png +share/texworks-help/en/Acknowledgements.html +share/texworks-help/en/index25.html +share/texworks-help/en/index37.html +share/texworks-help/en/index32.html +share/texworks-help/en/index45.html +share/texworks-help/en/index8.html +share/texworks-help/en/index2.html +share/texworks-help/en/index44.html +share/texworks-help/en/index46.html +share/texworks-help/en/CustomizingTw.html +share/texworks-help/en/index15.html +share/texworks-help/en/indexname.html +share/texworks-help/en/index40.html +share/texworks-help/en/index41.html +share/texworks-help/en/index10.html +share/texworks-help/en/contentsname.html +share/texworks-help/en/index13.html +share/texworks-help/en/index29.html +share/texworks-help/en/index19.html +share/texworks-help/en/index24.html +share/texworks-help/en/index47.html +share/texworks-help/en/GoingfurtherEditingtools.html +share/texworks-help/en/index6.html +share/texworks-help/en/manual.css +share/texworks-help/en/GoingfurtherOthertools.html +share/texworks-help/en/index.css +share/texworks-help/en/index48.html +share/texworks-help/en/index42.html +share/texworks-help/en/index34.html +share/texworks-help/en/AdvanceduseScripting.html +share/texworks-help/en/index16.html +share/texworks-help/en/index26.html +share/texworks-help/en/index30.html +share/texworks-help/en/tw-help-title.txt +share/texworks-help/en/index9.html +share/texworks-help/en/Beyondthismanual.html +share/texworks-help/en/Introduction.html +share/texworks-help/en/Regularexpressions.html +share/texworks-help/en/index36.html +share/texworks-help/en/index49.html +share/texworks-help/en/index28.html +man/man1/texworks.1 diff --git a/editors/texworks/distinfo b/editors/texworks/distinfo new file mode 100644 index 00000000000..91fb9d20db5 --- /dev/null +++ b/editors/texworks/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/03/21 22:44:20 markd Exp $ + +SHA1 (texworks-0.4.3-r858.tar.gz) = ba2457a508233438d66641eb6b2a1c1645793ef8 +RMD160 (texworks-0.4.3-r858.tar.gz) = 4689e1ea18f3e3f2d99d00a7a440b410cb3480e4 +Size (texworks-0.4.3-r858.tar.gz) = 5169890 bytes +SHA1 (patch-TeXworks.pro) = e3961a6993b6698853ed609b010f0d542de58abc +SHA1 (patch-getDefaultBinPaths.sh) = 56c7f6a07ad2b065436b1e2c6c778c197218ebb6 diff --git a/editors/texworks/patches/patch-TeXworks.pro b/editors/texworks/patches/patch-TeXworks.pro new file mode 100644 index 00000000000..1f43fd5378a --- /dev/null +++ b/editors/texworks/patches/patch-TeXworks.pro @@ -0,0 +1,15 @@ +$NetBSD: patch-TeXworks.pro,v 1.1.1.1 2012/03/21 22:44:20 markd Exp $ + +pkg-config doesnt know about zlib so just assume its there + +--- TeXworks.pro.orig 2011-06-29 17:03:14.000000000 +0000 ++++ TeXworks.pro +@@ -103,7 +103,7 @@ unix:!macx { # on Unix-ish platforms we + CONFIG += link_pkgconfig + PKGCONFIG += hunspell + PKGCONFIG += poppler-qt4 +- PKGCONFIG += zlib ++ #PKGCONFIG += zlib + + # Enclose the path in \\\" (which later gets expanded to \", which in turn + # gets expanded to " in the c++ code) diff --git a/editors/texworks/patches/patch-getDefaultBinPaths.sh b/editors/texworks/patches/patch-getDefaultBinPaths.sh new file mode 100644 index 00000000000..92fd36be37c --- /dev/null +++ b/editors/texworks/patches/patch-getDefaultBinPaths.sh @@ -0,0 +1,21 @@ +$NetBSD: patch-getDefaultBinPaths.sh,v 1.1.1.1 2012/03/21 22:44:20 markd Exp $ + +--- getDefaultBinPaths.sh.orig 2011-06-29 17:03:14.000000000 +0000 ++++ getDefaultBinPaths.sh +@@ -68,11 +68,11 @@ case $PLATFORM in + *) OS=`echo $PLATFORM | sed 's/.*-//'` + esac + +-appendPath "/usr/local/texlive/2011/bin/$ARCH-$OS" +-appendPath "/usr/local/texlive/2010/bin/$ARCH-$OS" +-appendPath "/usr/local/texlive/2009/bin/$ARCH-$OS" +-appendPath "/usr/local/texlive/2008/bin/$ARCH-$OS" +-appendPath "/usr/local/texlive/2007/bin/$ARCH-$OS" ++#appendPath "/usr/local/texlive/2011/bin/$ARCH-$OS" ++#appendPath "/usr/local/texlive/2010/bin/$ARCH-$OS" ++#appendPath "/usr/local/texlive/2009/bin/$ARCH-$OS" ++#appendPath "/usr/local/texlive/2008/bin/$ARCH-$OS" ++#appendPath "/usr/local/texlive/2007/bin/$ARCH-$OS" + + for TEXLIVEROOT in /usr/local/texlive/* /opt/texlive/*; do + # Check if this is really a folder (e.g., /opt/... might not exist) |