2014-03-03 20:00:11 +01:00
|
|
|
# Created by: Marco Broeder <marco.broeder@posteo.eu>
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= diffuse
|
2013-05-15 09:51:29 +02:00
|
|
|
PORTVERSION= 0.4.7
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
CATEGORIES= devel python
|
2009-08-27 17:04:16 +02:00
|
|
|
MASTER_SITES= SF
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
|
2014-03-03 20:00:11 +01:00
|
|
|
MAINTAINER= marco.broeder@posteo.eu
|
2013-10-14 14:00:22 +02:00
|
|
|
COMMENT= Graphical N-way diff and merge tool written in python
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
|
2011-08-01 18:38:18 +02:00
|
|
|
LICENSE= GPLv2 GPLv3
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2013-10-14 14:00:22 +02:00
|
|
|
USE_PYTHON= 2
|
2012-12-30 13:56:39 +01:00
|
|
|
USE_GNOME= pygtk2
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
|
2012-06-06 22:57:59 +02:00
|
|
|
CONFLICTS= tinker-[0-9]*
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
|
2014-03-03 20:00:11 +01:00
|
|
|
PORTDATA= syntax
|
2012-12-30 13:56:39 +01:00
|
|
|
PORTDOCS= AUTHORS ChangeLog ChangeLog_ru README README_ru
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DATA DOCS MENU NLS
|
2012-06-06 22:57:59 +02:00
|
|
|
DATA_DESC= Enable syntax highlighting support
|
2012-12-30 13:56:39 +01:00
|
|
|
MENU_DESC= Enable a desktop program menu entry
|
2014-03-03 20:00:11 +01:00
|
|
|
OPTIONS_DEFAULT=DATA MENU
|
2013-10-14 14:00:22 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
MENU_USES= desktop-file-utils
|
|
|
|
NLS_USES= gettext
|
2012-12-30 13:56:39 +01:00
|
|
|
|
2013-05-15 09:51:29 +02:00
|
|
|
TRANSLATIONS= cs de es it ja ko pl ru zh_CN
|
2013-10-14 14:00:22 +02:00
|
|
|
MANUALS= cs it ru
|
2014-03-03 20:00:11 +01:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2009-07-08 17:32:35 +02:00
|
|
|
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
post-patch:
|
2014-03-03 20:00:11 +01:00
|
|
|
${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|g; \
|
|
|
|
s|../../etc|${PREFIX}/etc|g' ${WRKSRC}/src/usr/bin/${PORTNAME}
|
|
|
|
|
2012-12-30 13:56:39 +01:00
|
|
|
.if ${PORT_OPTIONS:MDATA}
|
2009-10-21 12:31:54 +02:00
|
|
|
${REINPLACE_CMD} -e 's|../usr|${PREFIX}|g; s|/etc|${PREFIX}/etc|g' \
|
2009-07-08 17:32:35 +02:00
|
|
|
${WRKSRC}/src/etc/${PORTNAME}rc
|
2009-12-22 12:39:08 +01:00
|
|
|
.else
|
2012-06-06 22:57:59 +02:00
|
|
|
${REINPLACE_CMD} -e 's|import ../usr|\#(Option disabled!) \
|
2009-12-22 12:39:08 +01:00
|
|
|
import ${PREFIX}|g; s|/etc|${PREFIX}/etc|g' \
|
|
|
|
${WRKSRC}/src/etc/${PORTNAME}rc
|
|
|
|
.endif
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-10-14 14:00:22 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/usr/bin/${PORTNAME} \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/etc/${PORTNAME}rc \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
|
2014-03-03 20:00:11 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2012-12-30 13:56:39 +01:00
|
|
|
(cd ${WRKSRC}/src/usr/share/${PORTNAME} && \
|
2013-10-14 14:00:22 +02:00
|
|
|
${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/)
|
2013-05-15 09:51:29 +02:00
|
|
|
|
2013-10-14 14:00:22 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/)
|
2013-05-15 09:51:29 +02:00
|
|
|
|
2013-10-14 14:00:22 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
|
2012-06-06 22:57:59 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/usr/share/applications/*.desktop \
|
2013-10-14 14:00:22 +02:00
|
|
|
${STAGEDIR}${DESKTOPDIR}/
|
2014-03-03 20:00:11 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/usr/share/pixmaps/${PORTNAME}.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
2013-05-15 09:51:29 +02:00
|
|
|
|
2012-12-30 13:56:39 +01:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
.for x in ${TRANSLATIONS}
|
2013-10-14 14:00:22 +02:00
|
|
|
@${MKDIR} ${WRKSRC}/translations/${x}
|
2012-12-30 13:56:39 +01:00
|
|
|
${LOCALBASE}/bin/msgfmt -c ${WRKSRC}/translations/${x}.po \
|
|
|
|
-o ${WRKSRC}/translations/${x}/${PORTNAME}.mo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/translations/${x}/*.mo \
|
2013-10-14 14:00:22 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/locale/${x}/LC_MESSAGES/
|
2012-12-30 13:56:39 +01:00
|
|
|
.endfor
|
2014-03-03 20:00:11 +01:00
|
|
|
.endif
|
|
|
|
|
2013-10-14 14:00:22 +02:00
|
|
|
.for y in ${MANUALS}
|
|
|
|
@${MKDIR} ${STAGEDIR}${MANPREFIX}/man/${y}/man1
|
2012-12-30 13:56:39 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/${y}/man1/*.1 \
|
2013-10-14 14:00:22 +02:00
|
|
|
${STAGEDIR}${MANPREFIX}/man/${y}/man1/
|
2012-12-30 13:56:39 +01:00
|
|
|
.endfor
|
2014-03-03 20:00:11 +01:00
|
|
|
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/man1/*.1 \
|
|
|
|
${STAGEDIR}${MANPREFIX}/man/man1/
|
Diffuse is a graphical tool for merging and comparing text files. Diffuse is
able to compare an arbitrary number of files side-by-side and gives users the
ability to manually adjust line matching and directly edit files. Diffuse can
also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial,
Monotone, Subversion, and SVK repositories for comparison and merging.
Some key features of Diffuse:
- ability to compare and merge an arbitrary number of files side-by-side
(n-way merges)
- line matching can be manually corrected by the user
- ability to directly edit files
- syntax highlighting
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK support
- support for UTF-8 encoded unicode
- unlimited undo
- easy keyboard navigation
WWW: http://diffuse.sourceforge.net/
PR: ports/132027
Submitted by: Marco Broeder <marco.broeder at gmx.eu>
2009-04-12 00:27:51 +02:00
|
|
|
|
2009-07-08 17:32:35 +02:00
|
|
|
.include <bsd.port.mk>
|