aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/texmaker/Makefile12
-rw-r--r--editors/texmaker/distinfo4
-rw-r--r--editors/texmaker/files/patch-texmaker.pro13
-rw-r--r--editors/texmaker/pkg-plist1
4 files changed, 12 insertions, 18 deletions
diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile
index 8d4f85089140..ed3f29b8a10f 100644
--- a/editors/texmaker/Makefile
+++ b/editors/texmaker/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= texmaker
-PORTVERSION= 4.0.2
+PORTVERSION= 4.1
PORTEPOCH= 2
CATEGORIES= editors
MASTER_SITES= http://www.xm1math.net/texmaker/
@@ -12,11 +12,10 @@ COMMENT= LaTeX Development Environment
LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler \
libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
-RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
-USES= qmake
+USES= desktop-file-utils pkgconfig qmake
USE_BZIP2= yes
-USE_GHOSTSCRIPT=yes
+USE_GHOSTSCRIPT_RUN= yes
USE_QT4= gui network xml webkit \
moc_build qmake_build rcc_build uic_build
USE_TEX= latex dvipsk
@@ -33,11 +32,6 @@ XDVI_RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik
STRIP_FILES= bin/texmaker
-pre-configure:
- ${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,g' \
- -e 's,/usr/lib,${LOCALBASE}/lib,g' \
- ${WRKSRC}/texmaker.pro
-
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,}
diff --git a/editors/texmaker/distinfo b/editors/texmaker/distinfo
index 62050a348405..563b345f8362 100644
--- a/editors/texmaker/distinfo
+++ b/editors/texmaker/distinfo
@@ -1,2 +1,2 @@
-SHA256 (texmaker-4.0.2.tar.bz2) = a0a81b65b8aede12f0a7bbc303374fd910f39976db68b4035d7f1d69c2276b45
-SIZE (texmaker-4.0.2.tar.bz2) = 13676919
+SHA256 (texmaker-4.1.tar.bz2) = d5a460b15200421c68e10bf736cb3be0c26148de55f642a41be7226b6f89bc20
+SIZE (texmaker-4.1.tar.bz2) = 10524563
diff --git a/editors/texmaker/files/patch-texmaker.pro b/editors/texmaker/files/patch-texmaker.pro
index c0b4f8f33c05..053870eaed18 100644
--- a/editors/texmaker/files/patch-texmaker.pro
+++ b/editors/texmaker/files/patch-texmaker.pro
@@ -1,6 +1,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 @@
+--- ./texmaker.pro.orig 2013-10-28 13:47:24.000000000 +0000
++++ ./texmaker.pro 2013-11-16 20:58:16.201993027 +0000
+@@ -390,13 +390,6 @@
utilities/AUTHORS \
utilities/COPYING \
utilities/CHANGELOG.txt \
@@ -14,10 +14,11 @@
locale/qt_cs.qm \
locale/qt_de.qm \
locale/qt_es.qm \
-@@ -270,6 +263,21 @@
- icon.path = $${ICONDIR}
+@@ -464,4 +457,20 @@
+
icon.files = utilities/texmaker.png
INSTALLS += icon
++
+icon16.path = $${PREFIX}/share/icons/hicolor/16x16/apps
+icon16.files= utilities/texmaker16x16.png
+icon22.path = $${PREFIX}/share/icons/hicolor/22x22/apps
@@ -34,5 +35,3 @@
+iconscale.files=utilities/texmaker.svg
+INSTALLS += icon16 icon22 icon32 icon48 icon64 icon128 iconscale
}
- ################################
- win32 {
diff --git a/editors/texmaker/pkg-plist b/editors/texmaker/pkg-plist
index 191998fe6451..6efb34c5691c 100644
--- a/editors/texmaker/pkg-plist
+++ b/editors/texmaker/pkg-plist
@@ -116,6 +116,7 @@ share/texmaker/texmaker_pt_BR.qm
share/texmaker/texmaker_ru.qm
share/texmaker/texmaker_se.qm
share/texmaker/texmaker_sr.qm
+share/texmaker/texmaker_uk.qm
share/texmaker/texmaker_zh_CN.qm
share/texmaker/texmaker_zh_TW.qm
share/texmaker/usermanual_en.html