diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-13 23:36:10 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-13 23:36:10 +0000 |
commit | 35921a57a6a5f1b50013c6bb5bb1cade793fa816 (patch) | |
tree | b575c1f093123b358a597e65993c1b11110498ed /textproc | |
parent | f9b3f6d1f3ce24ce4067e439453283e4fa57e163 (diff) | |
download | ports-35921a57a6a5f1b50013c6bb5bb1cade793fa816.tar.gz ports-35921a57a6a5f1b50013c6bb5bb1cade793fa816.zip |
Add meld, a GNOME 2 visual diff utility written in Python.
PR: 50903
Submitted by: Pav Lucistnik <pav@oook.cz>
Notes
Notes:
svn path=/head/; revision=78915
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/meld/Makefile | 42 | ||||
-rw-r--r-- | textproc/meld/distinfo | 1 | ||||
-rw-r--r-- | textproc/meld/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/meld/pkg-plist | 41 |
5 files changed, 92 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 434d486bd217..a22d7816d9ec 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -139,6 +139,7 @@ SUBDIR += maketeidtd SUBDIR += man2html SUBDIR += manued.el + SUBDIR += meld SUBDIR += mgdiff SUBDIR += mguesser SUBDIR += mifluz diff --git a/textproc/meld/Makefile b/textproc/meld/Makefile new file mode 100644 index 000000000000..356e11cde910 --- /dev/null +++ b/textproc/meld/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: meld +# Date created: 2003-04-13 +# Whom: Pav Lucistnik <pav@oook.cz> +# +# $FreeBSD$ +# + +PORTNAME= meld +PORTVERSION= 0.7.0 +CATEGORIES= textproc devel python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= meld +EXTRACT_SUFX= .tgz + +MAINTAINER= pav@oook.cz +COMMENT= GNOME 2 visual diff and merge tool + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2 + +USE_PYTHON= yes +NO_BUILD= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|os.path.dirname(sys.argv\[0\])|"${PYTHON_SITELIBDIR}/meldapp"|' ${WRKSRC}/misc.py + @${REINPLACE_CMD} -e 's|/"+os.path.abspath(misc.appdir("manual/index.html") )|${PREFIX}/share/doc/meld/index.html"|' ${WRKSRC}/meldapp.py + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/meld ${PREFIX}/bin + ${ECHO} meldapp > ${PYTHON_SITELIBDIR}/meldapp.pth + ${MKDIR} ${PYTHON_SITELIBDIR}/meldapp + ${INSTALL_DATA} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}/meldapp + ${MKDIR} ${PYTHON_SITELIBDIR}/meldapp/glade2 + ${INSTALL_DATA} ${WRKSRC}/glade2/*.glade* ${PYTHON_SITELIBDIR}/meldapp/glade2 + ${MKDIR} ${PYTHON_SITELIBDIR}/meldapp/glade2/pixmaps + ${INSTALL_DATA} ${WRKSRC}/glade2/pixmaps/*.png ${PYTHON_SITELIBDIR}/meldapp/glade2/pixmaps + ${INSTALL_DATA} ${WRKSRC}/glade2/pixmaps/*.xpm ${PYTHON_SITELIBDIR}/meldapp/glade2/pixmaps + ${MKDIR} ${PREFIX}/share/doc/meld + ${INSTALL_DATA} ${WRKSRC}/manual/*.html ${PREFIX}/share/doc/meld + ${INSTALL_DATA} ${WRKSRC}/manual/*.css ${PREFIX}/share/doc/meld + +.include <bsd.port.mk> diff --git a/textproc/meld/distinfo b/textproc/meld/distinfo new file mode 100644 index 000000000000..0e78d27a2fd9 --- /dev/null +++ b/textproc/meld/distinfo @@ -0,0 +1 @@ +MD5 (meld-0.7.0.tgz) = 5024a205cccd56a393e6c95518aff5df diff --git a/textproc/meld/pkg-descr b/textproc/meld/pkg-descr new file mode 100644 index 000000000000..793a3ec049d9 --- /dev/null +++ b/textproc/meld/pkg-descr @@ -0,0 +1,7 @@ +Meld is a GNOME 2 visual diff and merge tool. It integrates especially well +with CVS. The diff viewer lets you edit files in place (diffs update +dynamically), and a middle column shows detailed changes and allows merges. +The margins show location of changes for easy navigation, and it also +features a tabbed interface that allows you to open many diffs at once. + +WWW: http://meld.sourceforge.net/ diff --git a/textproc/meld/pkg-plist b/textproc/meld/pkg-plist new file mode 100644 index 000000000000..0da29e6f05f1 --- /dev/null +++ b/textproc/meld/pkg-plist @@ -0,0 +1,41 @@ +bin/meld +%%PYTHON_SITELIBDIR%%/meldapp.pth +%%PYTHON_SITELIBDIR%%/meldapp/cvsview.py +%%PYTHON_SITELIBDIR%%/meldapp/diffutil.py +%%PYTHON_SITELIBDIR%%/meldapp/dirdiff.py +%%PYTHON_SITELIBDIR%%/meldapp/filediff.py +%%PYTHON_SITELIBDIR%%/meldapp/gnomeglade.py +%%PYTHON_SITELIBDIR%%/meldapp/meldapp.py +%%PYTHON_SITELIBDIR%%/meldapp/misc.py +%%PYTHON_SITELIBDIR%%/meldapp/prefs.py +%%PYTHON_SITELIBDIR%%/meldapp/undo.py +%%PYTHON_SITELIBDIR%%/meldapp/glade2/cvsview.glade +%%PYTHON_SITELIBDIR%%/meldapp/glade2/cvsview.gladep +%%PYTHON_SITELIBDIR%%/meldapp/glade2/dirdiff.glade +%%PYTHON_SITELIBDIR%%/meldapp/glade2/dirdiff.gladep +%%PYTHON_SITELIBDIR%%/meldapp/glade2/filediff.glade +%%PYTHON_SITELIBDIR%%/meldapp/glade2/filediff.gladep +%%PYTHON_SITELIBDIR%%/meldapp/glade2/meld-app.glade +%%PYTHON_SITELIBDIR%%/meldapp/glade2/meld-app.gladep +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/button_apply0.xpm +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/button_apply1.xpm +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/button_copy0.xpm +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/button_copy1.xpm +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/button_delete.xpm +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/close.xpm +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/cvs-add-16.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/cvs-commit-16.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/cvs-remove-16.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/cvs-update-16.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/icon.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/i-changed.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/i-directory.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/i-new.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/i-regular.png +%%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps/logo.png +share/doc/meld/index.html +share/doc/meld/stylesheet.css +@dirrm share/doc/meld +@dirrm %%PYTHON_SITELIBDIR%%/meldapp/glade2/pixmaps +@dirrm %%PYTHON_SITELIBDIR%%/meldapp/glade2 +@dirrm %%PYTHON_SITELIBDIR%%/meldapp |