diff options
author | marcus <marcus@FreeBSD.org> | 2003-04-13 23:36:10 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-04-13 23:36:10 +0000 |
commit | 8a29ebe481a3f6757d5df4a70f3da1b4e5f074d9 (patch) | |
tree | 4ce12af0cc51d4d3709c8a3cff42fd72baf4740e | |
parent | b3c5e4d5f7e9571351509abd41be24ec2144e2b0 (diff) | |
download | FreeBSD-ports-8a29ebe481a3f6757d5df4a70f3da1b4e5f074d9.zip FreeBSD-ports-8a29ebe481a3f6757d5df4a70f3da1b4e5f074d9.tar.gz |
Add meld, a GNOME 2 visual diff utility written in Python.
PR: 50903
Submitted by: Pav Lucistnik <pav@oook.cz>
-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 434d486..a22d781 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 0000000..356e11c --- /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 0000000..0e78d27a --- /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 0000000..793a3ec --- /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 0000000..0da29e6 --- /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 |