aboutsummaryrefslogtreecommitdiff
path: root/textproc/meld
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-07-25 15:03:30 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-07-25 15:03:30 +0000
commit3031cf0237eefa6ed50143bfe50eb540cbb47fb1 (patch)
treef92363e44ac0ccab1c1dae2d85e9a88065704b1c /textproc/meld
parentde119d0e94efbffcf339e840449be730ec6e50e2 (diff)
downloadports-3031cf0237eefa6ed50143bfe50eb540cbb47fb1.tar.gz
ports-3031cf0237eefa6ed50143bfe50eb540cbb47fb1.zip
Notes
Diffstat (limited to 'textproc/meld')
-rw-r--r--textproc/meld/Makefile22
-rw-r--r--textproc/meld/distinfo4
-rw-r--r--textproc/meld/pkg-plist81
3 files changed, 67 insertions, 40 deletions
diff --git a/textproc/meld/Makefile b/textproc/meld/Makefile
index 30eef596e551..4991e4ce3120 100644
--- a/textproc/meld/Makefile
+++ b/textproc/meld/Makefile
@@ -6,18 +6,17 @@
#
PORTNAME= meld
-PORTVERSION= 0.9.1
-PORTREVISION= 2
+PORTVERSION= 0.9.4.1
CATEGORIES= textproc devel python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= meld
-EXTRACT_SUFX= .tgz
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.9
MAINTAINER= rui@ruilopes.com
COMMENT= GNOME 2 visual diff and merge tool
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
+USE_BZIP2= yes
USE_PYTHON= yes
USE_X_PREFIX= yes
NO_BUILD= yes
@@ -27,16 +26,15 @@ USE_GMAKE= yes
MAKEFILE= GNUmakefile
post-patch:
- @${REINPLACE_CMD} -E 's,(prefix := )(.*),\1${PREFIX},g ; \
- s,(libdir := )(.*),\1${PREFIX}/share,g ; \
- s,( glade2/pixmaps/\*\.){xpm\,png},\1xpm\1png,g' ${WRKSRC}/GNUmakefile
- @${REINPLACE_CMD} -E 's,(.+)(install )-D (-m 644 \$$\^ \$$@),\1mkdir -m 755 -p $$(shell dirname $$@) \&\& \2\3,g' ${WRKSRC}/po/GNUmakefile
- @${REINPLACE_CMD} -e 's,^Path=.*$$,Icon=${DATADIR}/glade2/pixmaps/icon.png,' ${WRKSRC}/meld.desktop
+ @${REINPLACE_CMD} -E 's,(prefix := )(.*),\1${PREFIX},; \
+ s,(libdir := )(.*),\1${PREFIX}/share,' ${WRKSRC}/GNUmakefile
post-install:
${INSTALL_DATA} ${WRKSRC}/meld.desktop ${PREFIX}/share/gnome/applications
${INSTALL_DATA} ${WRKSRC}/manual/stylesheet.css ${DOCSDIR}
- @cd ${DATADIR} && \
- ${PYTHON_CMD} -c "import compileall; compileall.compile_dir('.', 0)"
+
+# This target is only meant to be used by the port maintainer.
+x-generate-plist:
+ (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${SED} -E 's,.*share/nls/.+$$,,g;s,share/doc/meld,%%DOCSDIR%%,;s,^@dirrm share/(gnome|pixmaps|application|locale).*,,'|${TR} -s '\n') > temp-pkg-plist
.include <bsd.port.mk>
diff --git a/textproc/meld/distinfo b/textproc/meld/distinfo
index 407abdd95aa5..fa8d9070cf9b 100644
--- a/textproc/meld/distinfo
+++ b/textproc/meld/distinfo
@@ -1,2 +1,2 @@
-MD5 (meld-0.9.1.tgz) = 1dfd1205c405bc263fc49ea1d92d47bf
-SIZE (meld-0.9.1.tgz) = 118854
+MD5 (meld-0.9.4.1.tar.bz2) = cd5f02e084529c581ce52a22647ca4dc
+SIZE (meld-0.9.4.1.tar.bz2) = 333123
diff --git a/textproc/meld/pkg-plist b/textproc/meld/pkg-plist
index 67d716859c4d..3289288841e1 100644
--- a/textproc/meld/pkg-plist
+++ b/textproc/meld/pkg-plist
@@ -1,33 +1,33 @@
bin/meld
+share/application-registry/meld.applications
+share/applications/meld.desktop
+%%DOCSDIR%%/manual.html
+%%DOCSDIR%%/stylesheet.css
share/gnome/applications/meld.desktop
+share/locale/cs/LC_MESSAGES/meld.mo
+share/locale/de/LC_MESSAGES/meld.mo
+share/locale/en_CA/LC_MESSAGES/meld.mo
+share/locale/en_GB/LC_MESSAGES/meld.mo
+share/locale/fr/LC_MESSAGES/meld.mo
+share/locale/ja/LC_MESSAGES/meld.mo
+share/locale/ko/LC_MESSAGES/meld.mo
+share/locale/nl/LC_MESSAGES/meld.mo
+share/locale/pt/LC_MESSAGES/meld.mo
+share/locale/pt_BR/LC_MESSAGES/meld.mo
+share/locale/sr/LC_MESSAGES/meld.mo
+share/locale/sr@Latn/LC_MESSAGES/meld.mo
share/meld/cvsview.py
share/meld/cvsview.pyc
+share/meld/cvsview.pyo
share/meld/diffutil.py
share/meld/diffutil.pyc
+share/meld/diffutil.pyo
share/meld/dirdiff.py
share/meld/dirdiff.pyc
+share/meld/dirdiff.pyo
share/meld/filediff.py
share/meld/filediff.pyc
-share/meld/gnomeglade.py
-share/meld/gnomeglade.pyc
-share/meld/meldapp.py
-share/meld/meldapp.pyc
-share/meld/melddoc.py
-share/meld/melddoc.pyc
-share/meld/misc.py
-share/meld/misc.pyc
-share/meld/paths.py
-share/meld/paths.pyc
-share/meld/prefs.py
-share/meld/prefs.pyc
-share/meld/task.py
-share/meld/task.pyc
-share/meld/tree.py
-share/meld/tree.pyc
-share/meld/undo.py
-share/meld/undo.pyc
-share/locale/en_IE/LC_MESSAGES/meld.mo
-share/locale/fr/LC_MESSAGES/meld.mo
+share/meld/filediff.pyo
share/meld/glade2/cvsview.glade
share/meld/glade2/dirdiff.glade
share/meld/glade2/filediff.glade
@@ -40,11 +40,13 @@ share/meld/glade2/pixmaps/button_delete.xpm
share/meld/glade2/pixmaps/close.xpm
share/meld/glade2/pixmaps/cvs-add-16.png
share/meld/glade2/pixmaps/cvs-commit-16.png
+share/meld/glade2/pixmaps/cvs-icon-small.png
share/meld/glade2/pixmaps/cvs-icon.png
share/meld/glade2/pixmaps/cvs-remove-16.png
share/meld/glade2/pixmaps/cvs-update-16.png
share/meld/glade2/pixmaps/icon.png
-share/meld/glade2/pixmaps/logo.png
+share/meld/glade2/pixmaps/svn-icon-small.png
+share/meld/glade2/pixmaps/svn-icon.png
share/meld/glade2/pixmaps/tree-file-changed.png
share/meld/glade2/pixmaps/tree-file-new.png
share/meld/glade2/pixmaps/tree-file-newer.png
@@ -52,11 +54,38 @@ share/meld/glade2/pixmaps/tree-file-normal.png
share/meld/glade2/pixmaps/tree-folder-changed.png
share/meld/glade2/pixmaps/tree-folder-new.png
share/meld/glade2/pixmaps/tree-folder-normal.png
-%%DOCSDIR%%/manual.html
-%%DOCSDIR%%/stylesheet.css
-@dirrm %%DOCSDIR%%
-@unexec (rmdir %D/share/locale/en_IE/LC_MESSAGES && rmdir %D/share/locale/en_IE) 2>/dev/null || true
-@unexec (rmdir %D/share/locale/fr/LC_MESSAGES && rmdir %D/share/locale/fr) 2>/dev/null || true
+share/meld/gnomeglade.py
+share/meld/gnomeglade.pyc
+share/meld/gnomeglade.pyo
+share/meld/meldapp.py
+share/meld/meldapp.pyc
+share/meld/meldapp.pyo
+share/meld/melddoc.py
+share/meld/melddoc.pyc
+share/meld/melddoc.pyo
+share/meld/misc.py
+share/meld/misc.pyc
+share/meld/misc.pyo
+share/meld/paths.py
+share/meld/paths.pyc
+share/meld/paths.pyo
+share/meld/prefs.py
+share/meld/prefs.pyc
+share/meld/prefs.pyo
+share/meld/svnview.py
+share/meld/svnview.pyc
+share/meld/svnview.pyo
+share/meld/task.py
+share/meld/task.pyc
+share/meld/task.pyo
+share/meld/tree.py
+share/meld/tree.pyc
+share/meld/tree.pyo
+share/meld/undo.py
+share/meld/undo.pyc
+share/meld/undo.pyo
+share/pixmaps/meld.png
@dirrm share/meld/glade2/pixmaps
@dirrm share/meld/glade2
@dirrm share/meld
+@dirrm %%DOCSDIR%%