aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/meld
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-07-11 11:51:45 +0800
committerrafan <rafan@FreeBSD.org>2007-07-11 11:51:45 +0800
commit82c7f17e3a6adbe2f175e498e9b52e6369f7e582 (patch)
tree9ea16346f9197c27f00b2b68b99ccdc11ef7c7c1 /textproc/meld
parent6d7f751aec98e89ae5a4ab4732c6c1f904b0f8d1 (diff)
downloadfreebsd-ports-gnome-82c7f17e3a6adbe2f175e498e9b52e6369f7e582.tar.gz
freebsd-ports-gnome-82c7f17e3a6adbe2f175e498e9b52e6369f7e582.tar.zst
freebsd-ports-gnome-82c7f17e3a6adbe2f175e498e9b52e6369f7e582.zip
- Update to 1.1.5.1
- Add optional dependency on pygnomedesktop for syntax highlighting (default off) PR: ports/114417 Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Diffstat (limited to 'textproc/meld')
-rw-r--r--textproc/meld/Makefile42
-rw-r--r--textproc/meld/distinfo6
-rw-r--r--textproc/meld/files/patch-INSTALL11
-rw-r--r--textproc/meld/files/patch-po-fixes185
-rw-r--r--textproc/meld/pkg-plist8
5 files changed, 28 insertions, 224 deletions
diff --git a/textproc/meld/Makefile b/textproc/meld/Makefile
index 426a6572033b..96da82f7c764 100644
--- a/textproc/meld/Makefile
+++ b/textproc/meld/Makefile
@@ -6,46 +6,38 @@
#
PORTNAME= meld
-PORTVERSION= 1.1.4
-PORTREVISION= 2
+PORTVERSION= 1.1.5.1
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME 2 visual diff and merge tool
+OPTIONS= PYGNOMEDESKTOP "Code syntax hilighting (many dependencies)" off
+
USE_BZIP2= yes
USE_GNOME= pygnome2
-INSTALLS_OMF= yes
USE_PYTHON= yes
-NO_BUILD= yes
-USE_GMAKE= yes
USE_GETTEXT= yes
-INSTALLS_ICONS= yes
-
+USE_GMAKE= yes
MAKEFILE= GNUmakefile
-
-OPTIONS= PYGNOMEDESKTOP "Code syntax hilighting (many dependencies)" off
+MAKE_ARGS= prefix=${PREFIX}
+INSTALLS_ICONS= yes
+INSTALLS_OMF= yes
post-patch:
- @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \
- ${WRKSRC}/INSTALL
-
- @${REINPLACE_CMD} \
- 's|$$(sharedir)/applications|$$(sharedir)/gnome/applications|g ;\
- s|$$(sharedir)/application-registry|$$(sharedir)/gnome/application-registry|g ;\
- s|$$(sharedir)/pixmaps|$$(sharedir)/gnome/pixmaps|g' \
- ${WRKSRC}/${MAKEFILE}
-
- @${FIND} ${WRKSRC}/help -type f -name ${MAKEFILE} -exec \
- ${REINPLACE_CMD} \
- 's|$$(prefix)/var/lib/scrollkeeper|/var/db/scrollkeeper|g ; \
- s|$$(sharedir)/omf/meld|$$(sharedir)/gnome/omf/meld|g' \
- "{}" \;
+ @${FIND} ${WRKSRC} -name "${MAKEFILE}" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|$$(sharedir)/applications|$$(sharedir)/gnome/applications|g ; \
+ s|$$(sharedir)/application-registry|$$(sharedir)/gnome/application-registry|g ; \
+ s|$$(sharedir)/pixmaps|$$(sharedir)/gnome/pixmaps|g ; \
+ s|$$(localstatedir)/lib/scrollkeeper|/var/db/scrollkeeper|g ; \
+ s|$$(sharedir)/omf/meld|$$(sharedir)/gnome/omf/meld|g'
.include <bsd.port.pre.mk>
-.if defined (WITH_PYGNOMEDESKTOP)
+
+.if defined(WITH_PYGNOMEDESKTOP)
USE_GNOME+= pygnomedesktop
.endif
+
.include <bsd.port.post.mk>
diff --git a/textproc/meld/distinfo b/textproc/meld/distinfo
index bc62631cf200..939300359b0f 100644
--- a/textproc/meld/distinfo
+++ b/textproc/meld/distinfo
@@ -1,3 +1,3 @@
-MD5 (meld-1.1.4.tar.bz2) = e780a8f67183acf7f51b13aa4a62ac85
-SHA256 (meld-1.1.4.tar.bz2) = 040c7a633b8abfe646425be4835790d4515952ce0e2ffe8523c36751d93a472f
-SIZE (meld-1.1.4.tar.bz2) = 599912
+MD5 (meld-1.1.5.1.tar.bz2) = d7366b958f9897f22eb867726b217b5a
+SHA256 (meld-1.1.5.1.tar.bz2) = 6d415c68670474e2800994bbf4162fa438fca1b1332cc34052d4cb9b8a51bc38
+SIZE (meld-1.1.5.1.tar.bz2) = 602859
diff --git a/textproc/meld/files/patch-INSTALL b/textproc/meld/files/patch-INSTALL
deleted file mode 100644
index 88628484fb57..000000000000
--- a/textproc/meld/files/patch-INSTALL
+++ /dev/null
@@ -1,11 +0,0 @@
---- INSTALL.orig Thu Feb 2 18:32:34 2006
-+++ INSTALL Wed Nov 15 15:44:31 2006
-@@ -18,7 +18,7 @@
- ##
- ## You can customise the install paths used here:
- PYTHON ?= python
--prefix := /usr/local
-+prefix := %%PREFIX%%
- bindir := $(prefix)/bin
- libdir := $(prefix)/lib
- docdir := $(prefix)/share/doc
diff --git a/textproc/meld/files/patch-po-fixes b/textproc/meld/files/patch-po-fixes
deleted file mode 100644
index 12915d61cdb1..000000000000
--- a/textproc/meld/files/patch-po-fixes
+++ /dev/null
@@ -1,185 +0,0 @@
---- po/ru.po.orig 2006/08/27 09:11:02 1.1
-+++ po/ru.po 2006/08/27 09:11:53
-@@ -190,57 +190,57 @@
- #, python-format
- msgid "%i second"
- msgid_plural "%i seconds"
--msgstr[0] "секунда"
--msgstr[1] "секунды"
--msgstr[2] "секунд"
-+msgstr[0] "%i секунда"
-+msgstr[1] "%i секунды"
-+msgstr[2] "%i секунд"
-
- #: ../dirdiff.py:571
- #, python-format
- msgid "%i minute"
- msgid_plural "%i minutes"
--msgstr[0] "минута"
--msgstr[1] "минуты"
--msgstr[2] "минут"
-+msgstr[0] "%i минута"
-+msgstr[1] "%i минуты"
-+msgstr[2] "%i минут"
-
- #: ../dirdiff.py:572
- #, python-format
- msgid "%i hour"
- msgid_plural "%i hours"
--msgstr[0] "час"
--msgstr[1] "часа"
--msgstr[2] "часов"
-+msgstr[0] "%i час"
-+msgstr[1] "%i часа"
-+msgstr[2] "%i часов"
-
- #: ../dirdiff.py:573
- #, python-format
- msgid "%i day"
- msgid_plural "%i days"
--msgstr[0] "день"
--msgstr[1] "дня"
--msgstr[2] "дней"
-+msgstr[0] "%i день"
-+msgstr[1] "%i дня"
-+msgstr[2] "%i дней"
-
- #: ../dirdiff.py:574
- #, python-format
- msgid "%i week"
- msgid_plural "%i weeks"
--msgstr[0] "неделя"
--msgstr[1] "недели"
--msgstr[2] "недель"
-+msgstr[0] "%i неделя"
-+msgstr[1] "%i недели"
-+msgstr[2] "%i недель"
-
- #: ../dirdiff.py:575
- #, python-format
- msgid "%i month"
- msgid_plural "%i months"
--msgstr[0] "месяц"
--msgstr[1] "месяца"
--msgstr[2] "месяцев"
-+msgstr[0] "%i месяц"
-+msgstr[1] "%i месяца"
-+msgstr[2] "%i месяцев"
-
- #: ../dirdiff.py:576
- #, python-format
- msgid "%i year"
- msgid_plural "%i years"
--msgstr[0] "год"
--msgstr[1] "года"
--msgstr[2] "лет"
-+msgstr[0] "%i год"
-+msgstr[1] "%i года"
-+msgstr[2] "%i лет"
-
- #. Abbreviation for insert,overwrite so that it will fit in the status bar
- #: ../filediff.py:224
---- po/hu.po.orig 2006-02-24 19:19:25.000000000 -0500
-+++ po/hu.po 2006-09-11 13:18:43.000000000 -0400
-@@ -99,49 +99,42 @@
- msgid "%i second"
- msgid_plural "%i seconds"
- msgstr[0] "%i másodperc"
--msgstr[1] "%i másodperc"
-
- #: ../dirdiff.py:570
- #, python-format
- msgid "%i minute"
- msgid_plural "%i minutes"
- msgstr[0] "%i perc"
--msgstr[1] "%i perc"
-
- #: ../dirdiff.py:571
- #, python-format
- msgid "%i hour"
- msgid_plural "%i hours"
- msgstr[0] "%i óra"
--msgstr[1] "%i óra"
-
- #: ../dirdiff.py:572
- #, python-format
- msgid "%i day"
- msgid_plural "%i days"
- msgstr[0] "%i nap"
--msgstr[1] "%i nap"
-
- #: ../dirdiff.py:573
- #, python-format
- msgid "%i week"
- msgid_plural "%i weeks"
- msgstr[0] "%i hét"
--msgstr[1] "%i hét"
-
- #: ../dirdiff.py:574
- #, python-format
- msgid "%i month"
- msgid_plural "%i months"
- msgstr[0] "%i hónap"
--msgstr[1] "%i hónap"
-
- #: ../dirdiff.py:575
- #, python-format
- msgid "%i year"
- msgid_plural "%i years"
- msgstr[0] "%i év"
--msgstr[1] "%i év"
-
- #. Abbreviation for insert,overwrite so that it will fit in the status bar
- #: ../filediff.py:214
---- po/ja.po.orig 2006-03-05 06:03:44.000000000 -0500
-+++ po/ja.po 2006-09-11 13:19:58.000000000 -0400
-@@ -97,49 +97,42 @@
- msgid "%i second"
- msgid_plural "%i seconds"
- msgstr[0] "%i 秒"
--msgstr[1] "%i 秒"
-
- #: ../dirdiff.py:570
- #, python-format
- msgid "%i minute"
- msgid_plural "%i minutes"
- msgstr[0] "%i 分"
--msgstr[1] "%i 分"
-
- #: ../dirdiff.py:571
- #, python-format
- msgid "%i hour"
- msgid_plural "%i hours"
- msgstr[0] "%i 時間"
--msgstr[1] "%i 時間"
-
- #: ../dirdiff.py:572
- #, python-format
- msgid "%i day"
- msgid_plural "%i days"
- msgstr[0] "%i 日"
--msgstr[1] "%i 日"
-
- #: ../dirdiff.py:573
- #, python-format
- msgid "%i week"
- msgid_plural "%i weeks"
- msgstr[0] "%i 週間"
--msgstr[1] "%i 週間"
-
- #: ../dirdiff.py:574
- #, python-format
- msgid "%i month"
- msgid_plural "%i months"
- msgstr[0] "%i ヶ月"
--msgstr[1] "%i ヶ月"
-
- #: ../dirdiff.py:575
- #, python-format
- msgid "%i year"
- msgid_plural "%i years"
- msgstr[0] "%i 年"
--msgstr[1] "%i 年"
-
- #. Abbreviation for insert,overwrite so that it will fit in the status bar
- #: ../filediff.py:215
diff --git a/textproc/meld/pkg-plist b/textproc/meld/pkg-plist
index e43e0158af67..b82347c538c1 100644
--- a/textproc/meld/pkg-plist
+++ b/textproc/meld/pkg-plist
@@ -73,12 +73,18 @@ share/gnome/applications/meld.desktop
share/gnome/help/meld/C/figures/dirdiff.png
share/gnome/help/meld/C/figures/filediff.png
share/gnome/help/meld/C/meld.xml
+share/gnome/help/meld/es/figures/dirdiff.png
+share/gnome/help/meld/es/figures/filediff.png
+share/gnome/help/meld/es/meld.xml
share/gnome/omf/meld/meld-C.omf
+share/gnome/omf/meld/meld-es.omf
share/gnome/pixmaps/meld.png
+share/locale/ar/LC_MESSAGES/meld.mo
share/locale/bg/LC_MESSAGES/meld.mo
share/locale/ca/LC_MESSAGES/meld.mo
share/locale/cs/LC_MESSAGES/meld.mo
share/locale/de/LC_MESSAGES/meld.mo
+share/locale/dz/LC_MESSAGES/meld.mo
share/locale/en_CA/LC_MESSAGES/meld.mo
share/locale/en_GB/LC_MESSAGES/meld.mo
share/locale/es/LC_MESSAGES/meld.mo
@@ -139,6 +145,8 @@ share/locale/zh_TW/LC_MESSAGES/meld.mo
@dirrmtry share/locale/rw/LC_MESSAGES
@dirrmtry share/locale/rw
@dirrm share/gnome/omf/meld
+@dirrm share/gnome/help/meld/es/figures
+@dirrm share/gnome/help/meld/es
@dirrm share/gnome/help/meld/C/figures
@dirrm share/gnome/help/meld/C
@dirrm share/gnome/help/meld