aboutsummaryrefslogtreecommitdiff
path: root/security/clamtk
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-04-08 06:36:37 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-04-08 06:36:37 +0000
commit9932e109d6a7a8a1964d0ec00f202c933b9db9b2 (patch)
tree08c023d028a89b4b6a5b4367f641b8ade44ed651 /security/clamtk
parentbc3af828cd14239d5c6759622c2f9d02a5d663f0 (diff)
downloadports-9932e109d6a7a8a1964d0ec00f202c933b9db9b2.tar.gz
ports-9932e109d6a7a8a1964d0ec00f202c933b9db9b2.zip
- Update to 4.38
- Add missing gettext message catalog PR: 166051 Submitted by: Ports Fury Feature safe: yes
Notes
Notes: svn path=/head/; revision=294361
Diffstat (limited to 'security/clamtk')
-rw-r--r--security/clamtk/Makefile14
-rw-r--r--security/clamtk/distinfo4
-rw-r--r--security/clamtk/pkg-plist1
3 files changed, 11 insertions, 8 deletions
diff --git a/security/clamtk/Makefile b/security/clamtk/Makefile
index 113560d6ef5e..f8e34a6c7259 100644
--- a/security/clamtk/Makefile
+++ b/security/clamtk/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamtk
-PORTVERSION= 4.37
+PORTVERSION= 4.38
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/ClamTk/${PORTVERSION}
@@ -32,6 +32,8 @@ USE_GETTEXT= run
MAN1= ${PORTNAME}.1
+LINGUAS= `${LS} ${WRKSRC}/po/*.mo | ${XARGS} ${BASENAME} -s .mo`
+
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz
@@ -50,11 +52,11 @@ do-install:
${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 --git a/security/clamtk/distinfo b/security/clamtk/distinfo
index 995867fccdef..217934eb4f8b 100644
--- a/security/clamtk/distinfo
+++ b/security/clamtk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (clamtk-4.37.tar.gz) = 4f1fdcc6ed7d732996877fa3d80aebd90d9d885a2e24eefb764a680d5a67cb60
-SIZE (clamtk-4.37.tar.gz) = 523592
+SHA256 (clamtk-4.38.tar.gz) = e793cb2fef7429c249757e1ad6c7e6186003b5193ce09003082f0d66dd9349d2
+SIZE (clamtk-4.38.tar.gz) = 518092
diff --git a/security/clamtk/pkg-plist b/security/clamtk/pkg-plist
index 42a33d7e9106..4e44e645e732 100644
--- a/security/clamtk/pkg-plist
+++ b/security/clamtk/pkg-plist
@@ -50,6 +50,7 @@ share/locale/sl/LC_MESSAGES/clamtk.mo
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