Add the TeXworks LaTeX authoring system.

PR:		ports/139258
Submitted by:	Diego Depaoli
Reviewed by:	lx
Feature safe:	yes
This commit is contained in:
David Thiel 2009-10-14 18:23:18 +00:00
parent 68f701b3a1
commit ca96306573
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242858
4 changed files with 55 additions and 0 deletions

View file

@ -209,6 +209,7 @@
SUBDIR += texmakerx
SUBDIR += textedit
SUBDIR += textedit.app
SUBDIR += texworks
SUBDIR += the
SUBDIR += thoteditor
SUBDIR += tpad

47
editors/texworks/Makefile Normal file
View file

@ -0,0 +1,47 @@
# New ports collection makefile for: texworks
# Date created: 2009-09-30
# Whom: Diego DepaolI <trebestie@gmail.com>
#
# $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 <bsd.port.mk>

View file

@ -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

View file

@ -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/