From ca96306573c9d8df763a7a3fdf90e951a2d84246 Mon Sep 17 00:00:00 2001 From: David Thiel Date: Wed, 14 Oct 2009 18:23:18 +0000 Subject: Add the TeXworks LaTeX authoring system. PR: ports/139258 Submitted by: Diego Depaoli Reviewed by: lx Feature safe: yes --- editors/texworks/Makefile | 47 ++++++++++++++++++++++++++++++++++++++++++++++ editors/texworks/distinfo | 3 +++ editors/texworks/pkg-descr | 4 ++++ 3 files changed, 54 insertions(+) create mode 100644 editors/texworks/Makefile create mode 100644 editors/texworks/distinfo create mode 100644 editors/texworks/pkg-descr (limited to 'editors/texworks') diff --git a/editors/texworks/Makefile b/editors/texworks/Makefile new file mode 100644 index 000000000000..76c437f5d335 --- /dev/null +++ b/editors/texworks/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: texworks +# Date created: 2009-09-30 +# Whom: Diego DepaolI +# +# $FreeBSD$ +# + +PORTNAME= texworks +PORTVERSION= 0.2 +CATEGORIES= editors +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} + +MAINTAINER= trebestie@gmail.com +COMMENT= A simple TeX front-end program + +BUILD_DEPENDS= hunspell:${PORTSDIR}/hungarian/hunspell +LIB_DEPENDS= poppler-qt4:${PORTSDIR}/graphics/poppler-qt4 \ + dbus:${PORTSDIR}/devel/dbus + +USE_GMAKE= yes +MAKE_JOBS_SAFE= yes +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build gui corelib rcc_build moc_build uic_build \ + dbus xml + +MAKE_ENV+= QTDIR=${QT_PREFIX} + +DESKTOP_ENTRIES="TexWorks" \ + "Lowering the entry barrier to the TeX world" \ + "TeXworks.png" \ + "texworks" \ + "Application;Utility;" \ + false +PLIST_FILES= bin/texworks \ + share/pixmaps/TeXworks.png + +post-patch: + @${RM} -f ${WRKSRC}/ui_*.h ${WRKSRC}/moc_*.cpp ${WRKSRC}/qrc_*.cpp + @${REINPLACE_CMD} -e 's|\/usr\/share|\${LOCALBASE}\/share|g' ${WRKSRC}/src/TWUtils.cpp + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC} TeXworks.pro + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/texworks ${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/res/images/TeXworks.png ${PREFIX}/share/pixmaps/TeXworks.png +.include diff --git a/editors/texworks/distinfo b/editors/texworks/distinfo new file mode 100644 index 000000000000..6fc6b5506460 --- /dev/null +++ b/editors/texworks/distinfo @@ -0,0 +1,3 @@ +MD5 (texworks-0.2.tar.gz) = 8d21dc7ee85e8c77a97bf39212510fed +SHA256 (texworks-0.2.tar.gz) = eb3ebdb2d671459a5df59e42f4243a64e9cbf6194ab63172737dafaca4e8b37e +SIZE (texworks-0.2.tar.gz) = 1899406 diff --git a/editors/texworks/pkg-descr b/editors/texworks/pkg-descr new file mode 100644 index 000000000000..3a4d49bf5c3c --- /dev/null +++ b/editors/texworks/pkg-descr @@ -0,0 +1,4 @@ +The TeXworkS project is an effort to build a simple +TeX like TeXShop for Mac OS X. + +WWW: http://www.tug.org/texworks/ -- cgit v1.2.3