Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2010 18:18:11 GMT
From:      Marco Bröder <marco.broeder@gmx.eu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151631: [maintainer-update] [patch] devel/diffuse: Update to 0.4.4
Message-ID:  <201010211818.o9LIIBXA007747@www.freebsd.org>
Resent-Message-ID: <201010211820.o9LIK6SG058574@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151631
>Category:       ports
>Synopsis:       [maintainer-update] [patch] devel/diffuse: Update to 0.4.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 21 18:20:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Marco Bröder
>Release:        8.1-STABLE amd64
>Organization:
>Environment:
>Description:
Update port to 0.4.4

Thanks!
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/devel/diffuse/Makefile b/devel/diffuse/Makefile
index 3702a12..748e5ab 100644
--- a/devel/diffuse/Makefile
+++ b/devel/diffuse/Makefile
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	diffuse
-PORTVERSION=	0.4.3
-PORTREVISION=	1
+PORTVERSION=	0.4.4
 CATEGORIES=	devel python
 MASTER_SITES=	SF
 
@@ -20,6 +19,7 @@ USE_PYTHON=	yes
 USE_GNOME=	pygtk2
 USE_BZIP2=	yes
 
+MANLANG=	"" ru
 MAN1=		diffuse.1
 
 OPTIONS=	MENU	"Add desktop menu (needs desktop-file-utils)"	on \
@@ -29,7 +29,7 @@ OPTIONS=	MENU	"Add desktop menu (needs desktop-file-utils)"	on \
 .include <bsd.port.options.mk>
 
 .ifndef (NOPORTDOCS)
-PORTDOCS=	AUTHORS COPYING ChangeLog README
+PORTDOCS=	AUTHORS COPYING ChangeLog README README_ru
 .endif
 
 .ifndef (NOPORTDATA)
@@ -54,7 +54,7 @@ PLIST_SUB+=	OMF="@comment "
 .ifndef (WITHOUT_NLS)
 PLIST_SUB+=	NLS=""
 USE_GETTEXT=	yes
-TRANSLATIONS=	de es ja zh_CN
+TRANSLATIONS=	de es ja ko ru zh_CN
 .else
 PLIST_SUB+=	NLS="@comment "
 .endif
@@ -72,7 +72,8 @@ 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}/${PORTNAME}-C.omf
+		${WRKSRC}/src/usr/share/omf/${PORTNAME}/*.omf \
+		${WRKSRC}/src/usr/share/gnome/help/${PORTNAME}/*/*.xml
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/src/usr/bin/${PORTNAME} \
@@ -80,6 +81,9 @@ 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)
@@ -110,6 +114,9 @@ post-install:
 	${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}/
diff --git a/devel/diffuse/distinfo b/devel/diffuse/distinfo
index 6b61c4e..6813974 100644
--- a/devel/diffuse/distinfo
+++ b/devel/diffuse/distinfo
@@ -1,3 +1,3 @@
-MD5 (diffuse-0.4.3.tar.bz2) = 488812eb4d72567073c0de5552c58b74
-SHA256 (diffuse-0.4.3.tar.bz2) = 1ecc0d9beb66b32ddbfad19449f40f7a374d20138d914be41f54249fdb6bfd1d
-SIZE (diffuse-0.4.3.tar.bz2) = 124313
+MD5 (diffuse-0.4.4.tar.bz2) = f9309f912cfbc09a5e824c09b07a9ff7
+SHA256 (diffuse-0.4.4.tar.bz2) = 9dae1aad1aff538fbd571c6ce40e07bbe81530c5d4ebe959b25995be68c462f5
+SIZE (diffuse-0.4.4.tar.bz2) = 146351
diff --git a/devel/diffuse/pkg-plist b/devel/diffuse/pkg-plist
index 2193611..15376fd 100644
--- a/devel/diffuse/pkg-plist
+++ b/devel/diffuse/pkg-plist
@@ -5,9 +5,14 @@ etc/diffuserc
 %%NLS%%share/locale/de/LC_MESSAGES/diffuse.mo
 %%NLS%%share/locale/es/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/C
+%%OMF%%@dirrm share/gnome/help/diffuse/ru
 %%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


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010211818.o9LIIBXA007747>