ports/166051: Update port: security/clamtk

KATO Tsuguru tkato432 at yahoo.com
Tue Mar 13 18:10:13 UTC 2012


>Number:         166051
>Category:       ports
>Synopsis:       Update port: security/clamtk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 13 18:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Add missing gettext message catalog

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/security/clamtk/Makefile security/clamtk/Makefile
--- /usr/ports/security/clamtk/Makefile	2012-02-20 20:11:24.000000000 +0900
+++ security/clamtk/Makefile	2012-03-11 03:37:27.000000000 +0900
@@ -7,6 +7,7 @@
 
 PORTNAME=	clamtk
 PORTVERSION=	4.37
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/ClamTk/${PORTVERSION}
 
@@ -32,6 +33,8 @@
 
 MAN1=		${PORTNAME}.1
 
+LINGUAS=	`${LS} ${WRKSRC}/po/*.mo | ${XARGS} ${BASENAME} -s .mo`
+
 post-extract:
 	@${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz
 
@@ -50,11 +53,11 @@
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xpm ${PREFIX}/share/pixmaps
-.for lang in ar ast bg bs ca cs da de el_GR en_GB es eu fi fo fr gl he hr hu id it ja ko lt ms nb nl nl_BE nn pl pt pt_BR ro ru sk sl sv th tr uk zh_CN zh_TW
-	@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
-	${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
-		${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
-.endfor
+	for l in ${LINGUAS}; do \
+		${MKDIR} ${PREFIX}/share/locale/$${l}/LC_MESSAGES; \
+		${INSTALL_DATA} ${WRKSRC}/po/$${l}.mo \
+		${PREFIX}/share/locale/$${l}/LC_MESSAGES/${PORTNAME}.mo; \
+	done
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for file in CHANGES DISCLAIMER README
diff -urN /usr/ports/security/clamtk/pkg-plist security/clamtk/pkg-plist
--- /usr/ports/security/clamtk/pkg-plist	2011-10-19 18:49:09.000000000 +0900
+++ security/clamtk/pkg-plist	2012-02-20 21:16:55.000000000 +0900
@@ -50,6 +50,7 @@
 share/locale/sv/LC_MESSAGES/clamtk.mo
 share/locale/th/LC_MESSAGES/clamtk.mo
 share/locale/tr/LC_MESSAGES/clamtk.mo
+share/locale/ug/LC_MESSAGES/clamtk.mo
 share/locale/uk/LC_MESSAGES/clamtk.mo
 share/locale/zh_CN/LC_MESSAGES/clamtk.mo
 share/locale/zh_TW/LC_MESSAGES/clamtk.mo
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list