mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Update to 0.4.5
PR: ports/158872 Submitted by: Marco Bröder <marco.broeder@gmx.eu> (maintainer)
This commit is contained in:
parent
a3f9337b97
commit
c4b6a28f9e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278724
@ -6,25 +6,26 @@
|
||||
#
|
||||
|
||||
PORTNAME= diffuse
|
||||
PORTVERSION= 0.4.4
|
||||
PORTVERSION= 0.4.5
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= marco.broeder@gmx.eu
|
||||
COMMENT= A graphical N-way diff and merge tool written in python
|
||||
|
||||
LICENSE= GPLv2 GPLv3
|
||||
LICENSE_COMB= dual
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_GNOME= pygtk2
|
||||
USE_BZIP2= yes
|
||||
|
||||
MANLANG= "" ru
|
||||
MAN1= diffuse.1
|
||||
|
||||
OPTIONS= MENU "Add desktop menu (needs desktop-file-utils)" on \
|
||||
OMF "Install OMF manual (needs scrollkeeper)" on \
|
||||
NLS "Install some translations (work in progress)" on
|
||||
OPTIONS= MENU "Install a desktop menu entry" on \
|
||||
NLS "Install translations (work in progress)" on
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -43,18 +44,11 @@ USE_GNOME+= desktopfileutils
|
||||
PLIST_SUB+= MENU="@comment "
|
||||
.endif
|
||||
|
||||
.ifdef (WITH_OMF)
|
||||
PLIST_SUB+= OMF=""
|
||||
RUN_DEPENDS+= scrollkeeper-update:${PORTSDIR}/textproc/scrollkeeper
|
||||
INSTALLS_OMF= yes
|
||||
.else
|
||||
PLIST_SUB+= OMF="@comment "
|
||||
.endif
|
||||
|
||||
.ifndef (WITHOUT_NLS)
|
||||
PLIST_SUB+= NLS=""
|
||||
USE_GETTEXT= yes
|
||||
TRANSLATIONS= de es ja ko ru zh_CN
|
||||
TRANSLATIONS= de es it ja ko ru zh_CN
|
||||
MANLANG= "" it ru
|
||||
.else
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
@ -71,9 +65,6 @@ post-patch:
|
||||
|
||||
${REINPLACE_CMD} -e 's|../../etc|${PREFIX}/etc|g' \
|
||||
${WRKSRC}/src/usr/bin/${PORTNAME}
|
||||
${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
|
||||
${WRKSRC}/src/usr/share/omf/${PORTNAME}/*.omf \
|
||||
${WRKSRC}/src/usr/share/gnome/help/${PORTNAME}/*/*.xml
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/src/usr/bin/${PORTNAME} \
|
||||
@ -81,55 +72,39 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/src/etc/${PORTNAME}rc ${PREFIX}/etc/
|
||||
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/man1/*.1 \
|
||||
${MANPREFIX}/man/man1/
|
||||
${MKDIR} ${MANPREFIX}/man/ru/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/ru/man1/*.1 \
|
||||
${MANPREFIX}/man/ru/man1/
|
||||
|
||||
post-install:
|
||||
.ifndef (NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
for n in ${PORTDOCS}; do \
|
||||
${INSTALL_MAN} ${WRKSRC}/$${n} ${DOCSDIR}/; \
|
||||
done
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.ifndef (NOPORTDATA)
|
||||
${MKDIR} ${DATADIR}/syntax
|
||||
(cd ${WRKSRC}/src/usr/share/${PORTNAME}/ && \
|
||||
${COPYTREE_SHARE} \* ${DATADIR}/)
|
||||
(cd ${WRKSRC}/src/usr/share/${PORTNAME} && \
|
||||
${COPYTREE_SHARE} \* ${DATADIR})
|
||||
.endif
|
||||
|
||||
.ifndef (WITHOUT_NLS)
|
||||
for x in ${TRANSLATIONS}; do \
|
||||
${MKDIR} ${PREFIX}/share/locale/$${x}/LC_MESSAGES; \
|
||||
${MKDIR} ${WRKSRC}/translations/$${x}; \
|
||||
${LOCALBASE}/bin/msgfmt -c ${WRKSRC}/translations/$${x}.po \
|
||||
-o ${WRKSRC}/translations/$${x}/${PORTNAME}.mo; \
|
||||
${INSTALL_DATA} ${WRKSRC}/translations/$${x}/*.mo \
|
||||
${PREFIX}/share/locale/$${x}/LC_MESSAGES/; \
|
||||
done
|
||||
.endif
|
||||
|
||||
.ifdef (WITH_OMF)
|
||||
${MKDIR} ${PREFIX}/share/gnome/help/${PORTNAME}/C
|
||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/gnome/help/${PORTNAME}/C/*.xml \
|
||||
${PREFIX}/share/gnome/help/${PORTNAME}/C/
|
||||
${MKDIR} ${PREFIX}/share/gnome/help/${PORTNAME}/ru
|
||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/gnome/help/${PORTNAME}/ru/*.xml \
|
||||
${PREFIX}/share/gnome/help/${PORTNAME}/ru/
|
||||
${MKDIR} ${PREFIX}/share/omf/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/omf/${PORTNAME}/*.omf \
|
||||
${PREFIX}/share/omf/${PORTNAME}/
|
||||
${LOCALBASE}/bin/scrollkeeper-update -q
|
||||
for y in ${MANLANG}; do \
|
||||
${MKDIR} ${MANPREFIX}/man/$${y}/man1; \
|
||||
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/$${y}/man1/*.1 \
|
||||
${MANPREFIX}/man/$${y}/man1/; \
|
||||
done
|
||||
.endif
|
||||
|
||||
.ifdef (WITH_MENU)
|
||||
${MKDIR} ${PREFIX}/share/pixmaps
|
||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/pixmaps/${PORTNAME}.png \
|
||||
${PREFIX}/share/pixmaps/
|
||||
${MKDIR} ${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/applications/*.desktop \
|
||||
${DESKTOPDIR}/
|
||||
${DESKTOPDIR}
|
||||
${LOCALBASE}/bin/update-desktop-database -q
|
||||
.endif
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (diffuse-0.4.4.tar.bz2) = 9dae1aad1aff538fbd571c6ce40e07bbe81530c5d4ebe959b25995be68c462f5
|
||||
SIZE (diffuse-0.4.4.tar.bz2) = 146351
|
||||
SHA256 (diffuse-0.4.5.tar.bz2) = 0290a055027aea8b14203d1ea05f2dcdb1b9e701f485a604057044a467b95791
|
||||
SIZE (diffuse-0.4.5.tar.bz2) = 167958
|
||||
|
@ -2,7 +2,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.
|
||||
Monotone, RCS, Subversion, and SVK repositories for comparison and merging.
|
||||
|
||||
Some key features of Diffuse:
|
||||
|
||||
@ -11,7 +11,7 @@ Some key features of Diffuse:
|
||||
- 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
|
||||
- Bazaar, CVS, Darcs, Git, Mercurial, Monotone, RCS, Subversion, SVK support
|
||||
- support for UTF-8 encoded unicode
|
||||
- unlimited undo
|
||||
- easy keyboard navigation
|
||||
|
@ -4,15 +4,12 @@ etc/diffuserc
|
||||
%%MENU%%share/pixmaps/diffuse.png
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/diffuse.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/diffuse.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/diffuse.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/diffuse.mo
|
||||
%%NLS%%share/locale/ko/LC_MESSAGES/diffuse.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/diffuse.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/diffuse.mo
|
||||
%%OMF%%share/gnome/help/diffuse/C/diffuse.xml
|
||||
%%OMF%%share/gnome/help/diffuse/ru/diffuse.xml
|
||||
%%OMF%%@dirrm share/gnome/help/diffuse/ru
|
||||
%%OMF%%@dirrm share/gnome/help/diffuse/C
|
||||
%%OMF%%@dirrm share/gnome/help/diffuse
|
||||
%%OMF%%share/omf/diffuse/diffuse-C.omf
|
||||
%%OMF%%share/omf/diffuse/diffuse-ru.omf
|
||||
%%OMF%%@dirrm share/omf/diffuse
|
||||
@dirrmtry man/ru/man1
|
||||
@dirrmtry man/ru
|
||||
@dirrmtry man/it/man1
|
||||
@dirrmtry man/it
|
||||
|
Loading…
Reference in New Issue
Block a user