Import editors/texworks, a nice working environment for TeX.

From maintainer Edd Barrett.

The TeXworks project is an effort to build a simple TeX front-end
program (working environment) that will be available for all today's
major desktop operating systems-in particular, MS Windows (XP and
Vista), typical GNU/Linux distros and other X11-based systems, and 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.
This commit is contained in:
sthen 2009-06-22 20:51:10 +00:00
parent 3af82b400b
commit fe302b1b5f
5 changed files with 74 additions and 0 deletions

46
editors/texworks/Makefile Normal file
View File

@ -0,0 +1,46 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/22 20:51:10 sthen Exp $
COMMENT = easy to use LaTeX and ConTeXt editor
V = 20090618
DISTNAME = texworks-svn-${V}
PKGNAME = texworks-${V}
CATEGORIES = editors print
HOMEPAGE = http://www.tug.org/texworks/
MAINTAINER = Edd Barrett <vext01@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ICE SM X11 Xext Xi Xinerama Xrender c \
fontconfig freetype glib-2.0 gthread-2.0 iconv intl \
m png pthread stdc++ z expat gobject-2.0
# No official release as of yet, hosting my own dist
MASTER_SITES = http://students.dec.bmth.ac.uk/ebarrett/distfiles/
WRKDIST = ${WRKDIR}/texworks-svn
MODULES = x11/qt4
LIB_DEPENDS = hunspell-1.2::textproc/hunspell \
dbus-1::x11/dbus \
poppler::print/poppler \
poppler-qt4::print/poppler,-qt4 \
QtDBus,QtGui,QtXml::x11/qt4
RUN_DEPENDS = :texlive_base-*:print/texlive/base
USE_X11 = Yes
USE_GMAKE = Yes
NO_REGRESS = Yes
do-configure:
cd ${WRKSRC} && qmake4
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/texworks ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (texworks-svn-20090618.tar.gz) = A0uC87Ld9MvK2dnx78pOXw==
RMD160 (texworks-svn-20090618.tar.gz) = /wDSqWDqQqTrWZBfps8qjh3cZng=
SHA1 (texworks-svn-20090618.tar.gz) = SIiUy7S7Noe1BW/UKD2eZBBT5Ng=
SHA256 (texworks-svn-20090618.tar.gz) = YZaDip9gwh6Pxsq7Mkq7bG5k9nb5sJYYb/5MjEhL/Ls=
SIZE (texworks-svn-20090618.tar.gz) = 1587862

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_TWUtils_cpp,v 1.1.1.1 2009/06/22 20:51:10 sthen Exp $
--- src/TWUtils.cpp.orig Wed Jun 17 13:46:06 2009
+++ src/TWUtils.cpp Wed Jun 17 13:47:38 2009
@@ -81,7 +81,9 @@ const QString TWUtils::getLibraryPath(const QString& s
#endif
#ifdef Q_WS_X11
if (subdir == "dictionaries")
- libPath = "/usr/share/myspell/dicts";
+ // OpenBSD mozilla dictionary paths
+ // libPath = "/usr/share/myspell/dicts";
+ libPath = "/usr/local/share/mozilla-dicts";
else
libPath = QDir::homePath() + "/." + TEXWORKS_NAME + "/" + subdir;
#endif

View File

@ -0,0 +1,7 @@
The TeXworks project is an effort to build a simple TeX front-end
program (working environment) that will be available for all today's
major desktop operating systems-in particular, MS Windows (XP and
Vista), typical GNU/Linux distros and other X11-based systems, and 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.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/22 20:51:10 sthen Exp $
@bin bin/texworks