aboutsummaryrefslogtreecommitdiff
path: root/editors/texmaker
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-09-25 12:43:12 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-09-25 12:43:12 +0000
commit7f43431b66218a6cba58795d850de1a856235e68 (patch)
tree285f136fc45859af4d652fab6bb774a57c77783c /editors/texmaker
parentc7f728114f56d85d9c99e1df94a1c860d7e9ee02 (diff)
downloadports-7f43431b66218a6cba58795d850de1a856235e68.tar.gz
ports-7f43431b66218a6cba58795d850de1a856235e68.zip
Notes
Diffstat (limited to 'editors/texmaker')
-rw-r--r--editors/texmaker/Makefile18
-rw-r--r--editors/texmaker/distinfo6
-rw-r--r--editors/texmaker/files/patch-texmaker.pro10
-rw-r--r--editors/texmaker/pkg-plist1
4 files changed, 19 insertions, 16 deletions
diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile
index 5998509d0947..395bc026b541 100644
--- a/editors/texmaker/Makefile
+++ b/editors/texmaker/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= texmaker
-PORTVERSION= 1.9.9
-PORTREVISION= 1
+PORTVERSION= 2.0
PORTEPOCH= 1
CATEGORIES= editors
MASTER_SITES= http://www.xm1math.net/texmaker/
@@ -16,6 +15,8 @@ MASTER_SITES= http://www.xm1math.net/texmaker/
MAINTAINER= makc@FreeBSD.org
COMMENT= LaTeX Development Environment
+LIB_DEPENDS= poppler.5:${PORTSDIR}/graphics/poppler \
+ poppler-qt4.3:${PORTSDIR}/graphics/poppler-qt4
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
dvips:${PORTSDIR}/print/dvipsk-tetex \
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
@@ -23,15 +24,15 @@ RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
USE_BZIP2= yes
USE_GHOSTSCRIPT=yes
USE_QT_VER= 4
-QT_COMPONENTS= gui network xml moc_build qmake_build rcc_build uic_build
+QT_COMPONENTS= gui network xml webkit \
+ moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= yes
QMAKE_ARGS= PREFIX=${PREFIX} ICONDIR=${PREFIX}/share/pixmaps \
DESKTOPDIR=${DESKTOPDIR} -unix
MAKE_JOBS_SAFE= yes
OPTIONS= XDVI "view dvi with xdvi" Off \
- GV "view ps with gv" Off \
- XPDF "view pdf with xpdf" Off
+ GV "view ps with gv" Off
STRIP_FILES= bin/texmaker
@@ -45,9 +46,10 @@ RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik
RUN_DEPENDS+= gv:${PORTSDIR}/print/gv
.endif
-.if !defined(WITHOUT_XPDF)
-RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf
-.endif
+pre-configure:
+ ${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,g' \
+ -e 's,/usr/lib,${LOCALBASE}/lib,g' \
+ ${WRKSRC}/texmaker.pro
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
diff --git a/editors/texmaker/distinfo b/editors/texmaker/distinfo
index c9ab1b780344..03917951fa2e 100644
--- a/editors/texmaker/distinfo
+++ b/editors/texmaker/distinfo
@@ -1,3 +1,3 @@
-MD5 (texmaker-1.9.9.tar.bz2) = 6a56af78aac811ec3a82e7d375d388ae
-SHA256 (texmaker-1.9.9.tar.bz2) = 4896ef933b06d0518e281bb46654a028fd2a1db14e7bc16964b9e6a3bc47ea4d
-SIZE (texmaker-1.9.9.tar.bz2) = 3171903
+MD5 (texmaker-2.0.tar.bz2) = 9feb111fe3e6d420e0dbdd5140b195ca
+SHA256 (texmaker-2.0.tar.bz2) = 638d48909ffe0b3b23d6502c3b85e7e311af707cc9344f6b33eff0ea31f599ab
+SIZE (texmaker-2.0.tar.bz2) = 3235821
diff --git a/editors/texmaker/files/patch-texmaker.pro b/editors/texmaker/files/patch-texmaker.pro
index e3a4207141e1..c0b4f8f33c05 100644
--- a/editors/texmaker/files/patch-texmaker.pro
+++ b/editors/texmaker/files/patch-texmaker.pro
@@ -1,6 +1,6 @@
---- ./texmaker.pro.orig 2009-05-12 14:43:45.000000000 +0400
-+++ ./texmaker.pro 2009-07-06 11:00:46.000000000 +0400
-@@ -200,13 +200,6 @@
+--- ./texmaker.pro.orig 2010-07-29 19:40:36.000000000 +0400
++++ ./texmaker.pro 2010-09-25 13:58:07.841559115 +0400
+@@ -222,13 +222,6 @@
utilities/AUTHORS \
utilities/COPYING \
utilities/CHANGELOG.txt \
@@ -11,10 +11,10 @@
- utilities/texmaker64x64.png \
- utilities/texmaker128x128.png \
- utilities/texmaker.svg \
+ locale/qt_cs.qm \
locale/qt_de.qm \
locale/qt_es.qm \
- locale/qt_fr.qm \
-@@ -246,6 +239,21 @@
+@@ -270,6 +263,21 @@
icon.path = $${ICONDIR}
icon.files = utilities/texmaker.png
INSTALLS += icon
diff --git a/editors/texmaker/pkg-plist b/editors/texmaker/pkg-plist
index 4e190efab9a1..2662413306c9 100644
--- a/editors/texmaker/pkg-plist
+++ b/editors/texmaker/pkg-plist
@@ -55,6 +55,7 @@ share/texmaker/next_d.gif
share/texmaker/prev.gif
share/texmaker/prev_d.gif
share/texmaker/psheader.txt
+share/texmaker/qt_cs.qm
share/texmaker/qt_de.qm
share/texmaker/qt_es.qm
share/texmaker/qt_fr.qm