aboutsummaryrefslogtreecommitdiff
path: root/editors/texmaker
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-05-31 15:11:49 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-05-31 15:11:49 +0000
commita6ef8465b6ca430a12ce326fc34682fe6509d39d (patch)
tree73bc66e8256df4086aee32e814cd84482027d359 /editors/texmaker
parent57f75d1a7484b7d57bd35da075faabedcac130de (diff)
downloadports-a6ef8465b6ca430a12ce326fc34682fe6509d39d.tar.gz
ports-a6ef8465b6ca430a12ce326fc34682fe6509d39d.zip
Notes
Diffstat (limited to 'editors/texmaker')
-rw-r--r--editors/texmaker/Makefile8
-rw-r--r--editors/texmaker/distinfo6
-rw-r--r--editors/texmaker/files/patch-texmaker.pro15
-rw-r--r--editors/texmaker/pkg-plist8
4 files changed, 21 insertions, 16 deletions
diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile
index b02ada04a677..53a9bcb32219 100644
--- a/editors/texmaker/Makefile
+++ b/editors/texmaker/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= texmaker
-PORTVERSION= 1.6
+PORTVERSION= 1.7.1
PORTEPOCH= 1
CATEGORIES= editors
MASTER_SITES= http://www.xm1math.net/texmaker/
@@ -22,7 +22,7 @@ RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
USE_BZIP2= yes
USE_GHOSTSCRIPT=yes
USE_QT_VER= 4
-QT_COMPONENTS= gui moc qmake rcc uic
+QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= yes
INSTALLS_ICONS= yes
@@ -44,6 +44,10 @@ RUN_DEPENDS+= gv:${PORTSDIR}/print/gv
RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,^\(utilities.path =\).*,\1 ${DATADIR},' \
+ ${WRKSRC}/texmaker.pro
+
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} -unix PREFIX=${PREFIX} texmaker.pro
diff --git a/editors/texmaker/distinfo b/editors/texmaker/distinfo
index 4e1dfd1a0125..d52864e64bc8 100644
--- a/editors/texmaker/distinfo
+++ b/editors/texmaker/distinfo
@@ -1,3 +1,3 @@
-MD5 (texmaker-1.6.tar.bz2) = 941ac678dad630d686dbee3ecd75039a
-SHA256 (texmaker-1.6.tar.bz2) = d49e7df506ef79e02a2382ad261760976f1e16cd5f42eea8308bb6710aaf832e
-SIZE (texmaker-1.6.tar.bz2) = 853418
+MD5 (texmaker-1.7.1.tar.bz2) = 2b59114f02b0e4ad65db78c10c740bf8
+SHA256 (texmaker-1.7.1.tar.bz2) = e814c68c20663792ca56ba3fb9600841e390463f96dac4f1ba034a35ec454a90
+SIZE (texmaker-1.7.1.tar.bz2) = 1522280
diff --git a/editors/texmaker/files/patch-texmaker.pro b/editors/texmaker/files/patch-texmaker.pro
index 036078a5b6c1..4063290471ce 100644
--- a/editors/texmaker/files/patch-texmaker.pro
+++ b/editors/texmaker/files/patch-texmaker.pro
@@ -1,9 +1,10 @@
---- ./texmaker.pro.orig Fri Jun 15 14:03:47 2007
-+++ ./texmaker.pro Thu Jul 5 01:08:44 2007
-@@ -139,16 +139,26 @@
+--- ./texmaker.pro.orig 2008-04-23 17:30:45.000000000 +0400
++++ ./texmaker.pro 2008-05-26 22:12:38.000000000 +0400
+@@ -161,16 +161,26 @@
+ utilities/fr_FR.dic \
utilities/AUTHORS \
utilities/COPYING \
- utilities/CHANGELOG.txt \
+- utilities/CHANGELOG.txt \
- utilities/texmaker16x16.png \
- utilities/texmaker22x22.png \
- utilities/texmaker32x32.png \
@@ -11,8 +12,8 @@
- utilities/texmaker64x64.png \
- utilities/texmaker128x128.png \
- utilities/texmaker.desktop \
-- utilities/texmaker.svg \
- utilities/xpdf_texmaker_sh.txt
+- utilities/texmaker.svg
++ utilities/CHANGELOG.txt
INSTALLS += utilities
+icon16.path = $${PREFIX}/share/icons/hicolor/16x16/apps
+icon16.files= utilities/texmaker16x16.png
@@ -34,4 +35,4 @@
+INSTALLS += desktop
}
################################
- win32 {
+ win32 { \ No newline at end of file
diff --git a/editors/texmaker/pkg-plist b/editors/texmaker/pkg-plist
index d2d835105732..109346823017 100644
--- a/editors/texmaker/pkg-plist
+++ b/editors/texmaker/pkg-plist
@@ -31,6 +31,10 @@ share/icons/hicolor/scalable/apps/texmaker.svg
%%DATADIR%%/doc7.png
%%DATADIR%%/doc8.png
%%DATADIR%%/doc9.png
+%%DATADIR%%/en_GB.aff
+%%DATADIR%%/en_GB.dic
+%%DATADIR%%/fr_FR.aff
+%%DATADIR%%/fr_FR.dic
%%DATADIR%%/latexhelp.html
%%DATADIR%%/next.gif
%%DATADIR%%/next_d.gif
@@ -38,14 +42,10 @@ share/icons/hicolor/scalable/apps/texmaker.svg
%%DATADIR%%/prev_d.gif
%%DATADIR%%/psheader.txt
%%DATADIR%%/style.css
-%%DATADIR%%/texmaker_de.qm
%%DATADIR%%/texmaker_fr.qm
-%%DATADIR%%/texmaker_ru.qm
-%%DATADIR%%/texmaker_zh.qm
%%DATADIR%%/up.gif
%%DATADIR%%/up_d.gif
%%DATADIR%%/usermanual_en.html
%%DATADIR%%/usermanual_fr.html
-%%DATADIR%%/xpdf_texmaker_sh.txt
@dirrm %%DATADIR%%
@dirrmtry share/applications