mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Update to 0.3.4
PR: ports/136398 Submitted by: Marco Broeder <marco.broeder@gmx.eu> (maintainer)
This commit is contained in:
parent
79ebe1e48f
commit
d7a65bcc8c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237432
3 changed files with 31 additions and 18 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= diffuse
|
PORTNAME= diffuse
|
||||||
PORTVERSION= 0.3.3
|
PORTVERSION= 0.3.4
|
||||||
CATEGORIES= devel python
|
CATEGORIES= devel python
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
|
|
||||||
|
@ -15,16 +15,17 @@ COMMENT= A graphical N-way diff and merge tool written in python
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
USE_PYTHON= 2.5+
|
USE_PYTHON= yes
|
||||||
USE_GNOME= pygtk2
|
USE_GNOME= pygtk2
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
|
|
||||||
MAN1= diffuse.1
|
MAN1= diffuse.1
|
||||||
|
|
||||||
OPTIONS= MENU "Add desktop menu (needs desktop-file-utils)" on \
|
OPTIONS= MENU "Add desktop menu (needs desktop-file-utils)" on \
|
||||||
OMF "Install OMF manual (needs scrollkeeper)" on
|
OMF "Install OMF manual (needs scrollkeeper)" on \
|
||||||
|
NLS "Install some translations (work in progress)" on
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.ifndef (NOPORTDOCS)
|
.ifndef (NOPORTDOCS)
|
||||||
DOCS= AUTHORS COPYING ChangeLog README
|
DOCS= AUTHORS COPYING ChangeLog README
|
||||||
|
@ -46,21 +47,29 @@ INSTALLS_OMF= yes
|
||||||
PLIST_SUB+= OMF="@comment "
|
PLIST_SUB+= OMF="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.ifndef (WITHOUT_NLS)
|
||||||
|
PLIST_SUB+= NLS=""
|
||||||
|
USE_GETTEXT= yes
|
||||||
|
TRANSLATIONS= de
|
||||||
|
.else
|
||||||
|
PLIST_SUB+= NLS="@comment "
|
||||||
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} -e 's|../usr|${PREFIX}|g' \
|
${REINPLACE_CMD} -e 's|../usr|${PREFIX}|g' \
|
||||||
${WRKSRC}/src/etc/${PORTNAME}rc
|
${WRKSRC}/src/etc/${PORTNAME}rc
|
||||||
|
${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \
|
||||||
|
${WRKSRC}/src/etc/${PORTNAME}rc
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/src/usr/bin/${PORTNAME} \
|
${INSTALL_SCRIPT} ${WRKSRC}/src/usr/bin/${PORTNAME} \
|
||||||
${PREFIX}/bin/${PORTNAME}
|
${PREFIX}/bin/${PORTNAME}
|
||||||
|
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/etc/${PORTNAME}rc ${PREFIX}/etc/
|
${INSTALL_DATA} ${WRKSRC}/src/etc/${PORTNAME}rc ${PREFIX}/etc/
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${DATADIR}/syntax
|
${MKDIR} ${DATADIR}/syntax
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/${PORTNAME}/syntax/*.syntax \
|
${INSTALL_DATA} ${WRKSRC}/src/usr/share/${PORTNAME}/syntax/*.syntax \
|
||||||
${DATADIR}/syntax/
|
${DATADIR}/syntax/
|
||||||
|
|
||||||
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/man1/*.1 \
|
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/man1/*.1 \
|
||||||
${MANPREFIX}/man/man1/
|
${MANPREFIX}/man/man1/
|
||||||
|
|
||||||
|
@ -69,35 +78,37 @@ post-install:
|
||||||
for n in ${DOCS}; do \
|
for n in ${DOCS}; do \
|
||||||
${INSTALL_MAN} ${WRKSRC}/$${n} ${DOCSDIR}; \
|
${INSTALL_MAN} ${WRKSRC}/$${n} ${DOCSDIR}; \
|
||||||
done
|
done
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.ifndef (WITHOUT_NLS)
|
||||||
|
for x in ${TRANSLATIONS}; do \
|
||||||
|
${MKDIR} ${PREFIX}/share/locale/$${x}/LC_MESSAGES; \
|
||||||
|
${MKDIR} ${WRKSRC}/translations/$${x}; \
|
||||||
|
${PREFIX}/bin/msgfmt -c -v ${WRKSRC}/translations/$${x}.po \
|
||||||
|
-o ${WRKSRC}/translations/$${x}/${PORTNAME}.mo; \
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/translations/$${x}/*.mo \
|
||||||
|
${PREFIX}/share/locale/$${x}/LC_MESSAGES/; \
|
||||||
|
done
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifdef (WITH_OMF)
|
.ifdef (WITH_OMF)
|
||||||
|
|
||||||
${MKDIR} ${PREFIX}/share/gnome/help/${PORTNAME}/C
|
${MKDIR} ${PREFIX}/share/gnome/help/${PORTNAME}/C
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/gnome/help/${PORTNAME}/C/*.xml \
|
${INSTALL_DATA} ${WRKSRC}/src/usr/share/gnome/help/${PORTNAME}/C/*.xml \
|
||||||
${PREFIX}/share/gnome/help/${PORTNAME}/C/
|
${PREFIX}/share/gnome/help/${PORTNAME}/C/
|
||||||
|
|
||||||
${MKDIR} ${PREFIX}/share/omf/${PORTNAME}
|
${MKDIR} ${PREFIX}/share/omf/${PORTNAME}
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/omf/${PORTNAME}/*.omf \
|
${INSTALL_DATA} ${WRKSRC}/src/usr/share/omf/${PORTNAME}/*.omf \
|
||||||
${PREFIX}/share/omf/${PORTNAME}/
|
${PREFIX}/share/omf/${PORTNAME}/
|
||||||
|
|
||||||
${PREFIX}/bin/scrollkeeper-update -q
|
${PREFIX}/bin/scrollkeeper-update -q
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifdef (WITH_MENU)
|
.ifdef (WITH_MENU)
|
||||||
|
|
||||||
${MKDIR} ${PREFIX}/share/pixmaps
|
${MKDIR} ${PREFIX}/share/pixmaps
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/pixmaps/${PORTNAME}.png \
|
${INSTALL_DATA} ${WRKSRC}/src/usr/share/pixmaps/${PORTNAME}.png \
|
||||||
${PREFIX}/share/pixmaps/
|
${PREFIX}/share/pixmaps/
|
||||||
|
|
||||||
${MKDIR} ${PREFIX}/share/applications
|
${MKDIR} ${PREFIX}/share/applications
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/usr/share/applications/*.desktop \
|
${INSTALL_DATA} ${WRKSRC}/src/usr/share/applications/*.desktop \
|
||||||
${DESKTOPDIR}
|
${DESKTOPDIR}
|
||||||
|
|
||||||
${PREFIX}/bin/update-desktop-database
|
${PREFIX}/bin/update-desktop-database
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (diffuse-0.3.3.tar.bz2) = 4c483b557d270024704120adc2552c2c
|
MD5 (diffuse-0.3.4.tar.bz2) = 706842d366676d4f754792f71489ec2a
|
||||||
SHA256 (diffuse-0.3.3.tar.bz2) = 326dbff9494af021c32a3ab45dea5abac7113e5c733853ca8879203e0f73d214
|
SHA256 (diffuse-0.3.4.tar.bz2) = 3982c0aabe5f02ad6a65cbde9fa86683db71ae72a8ce4505e18c0f781da9755f
|
||||||
SIZE (diffuse-0.3.3.tar.bz2) = 96642
|
SIZE (diffuse-0.3.4.tar.bz2) = 102845
|
||||||
|
|
|
@ -6,6 +6,7 @@ etc/diffuserc
|
||||||
%%DATADIR%%/syntax/csharp.syntax
|
%%DATADIR%%/syntax/csharp.syntax
|
||||||
%%DATADIR%%/syntax/css.syntax
|
%%DATADIR%%/syntax/css.syntax
|
||||||
%%DATADIR%%/syntax/gettext.syntax
|
%%DATADIR%%/syntax/gettext.syntax
|
||||||
|
%%DATADIR%%/syntax/glsl.syntax
|
||||||
%%DATADIR%%/syntax/html.syntax
|
%%DATADIR%%/syntax/html.syntax
|
||||||
%%DATADIR%%/syntax/ini.syntax
|
%%DATADIR%%/syntax/ini.syntax
|
||||||
%%DATADIR%%/syntax/java.syntax
|
%%DATADIR%%/syntax/java.syntax
|
||||||
|
@ -45,3 +46,4 @@ etc/diffuserc
|
||||||
%%MENU%%@dirrmtry share/applications
|
%%MENU%%@dirrmtry share/applications
|
||||||
%%MENU%%share/pixmaps/diffuse.png
|
%%MENU%%share/pixmaps/diffuse.png
|
||||||
%%MENU%%@dirrmtry share/pixmaps
|
%%MENU%%@dirrmtry share/pixmaps
|
||||||
|
%%NLS%%share/locale/de/LC_MESSAGES/diffuse.mo
|
||||||
|
|
Loading…
Add table
Reference in a new issue