Index: head/biology/gperiodic/Makefile =================================================================== --- head/biology/gperiodic/Makefile (revision 508656) +++ head/biology/gperiodic/Makefile (revision 508657) @@ -1,58 +1,60 @@ # Created by: Andrey Zakhvatov # $FreeBSD$ # $MCom: ports/biology/gperiodic/Makefile,v 1.1 2006/09/29 23:42:13 ahze Exp $ PORTNAME= gperiodic -PORTVERSION= 2.0.10 -PORTREVISION= 8 +PORTVERSION= 3.0.3 CATEGORIES= biology -MASTER_SITES= http://www.frantz.fi/software/ +MASTER_SITES= https://sourceforge.net/projects/gperiodic/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Displays a periodic table of the elements LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gpl.txt -BROKEN= unfetchable - -USE_GNOME= gtk20 USES= pkgconfig +USE_GNOME= gtk20 -LANGS= da fr gl it pl ru sv tr - PORTDOCS= AUTHORS ChangeLog README +LANGS= be cs da de es fi fr gl is it ms pl pt ru sv tr uk zh_CN + OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} `pkg-config --cflags --libs gtk+-2.0` \ gperiodic.c -o gperiodic do-build-NLS-on: .for lang in ${LANGS} cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${STAGEDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \ - ${STAGEDIR}${PREFIX}/share/applications - (cd ${WRKSRC} && ${INSTALL_DATA} gperiodic.png gperiodic-crystal.png \ + (cd ${WRKSRC}/icons && ${INSTALL_DATA} gperiodic-crystal.png gperiodic.png \ ${STAGEDIR}${PREFIX}/share/pixmaps) do-install-NLS-on: .for lang in ${LANGS} @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo .endfor + ${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/gperiodic + ${INSTALL_DATA} ${WRKSRC}/table_data.h \ + ${STAGEDIR}${PREFIX}/share/locale/gperiodic + ${INSTALL_DATA} ${WRKSRC}/po/gperiodic.pot \ + ${STAGEDIR}${PREFIX}/share/locale/gperiodic + ${INSTALL_DATA} ${WRKSRC}/po/README \ + ${STAGEDIR}/${PREFIX}/share/locale/gperiodic do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/biology/gperiodic/distinfo =================================================================== --- head/biology/gperiodic/distinfo (revision 508656) +++ head/biology/gperiodic/distinfo (revision 508657) @@ -1,2 +1,3 @@ -SHA256 (gperiodic-2.0.10.tar.gz) = 78d72870c51c39e4a35c804c05b8ef5e39f88d42eced52b2934e21d74fb8d096 -SIZE (gperiodic-2.0.10.tar.gz) = 131213 +TIMESTAMP = 1564926393 +SHA256 (gperiodic-3.0.3.tar.gz) = 5e70128f61a311bd6b4ad129bd726ccc0e3731573cb0050201293e2a5389b29a +SIZE (gperiodic-3.0.3.tar.gz) = 451559 Index: head/biology/gperiodic/pkg-plist =================================================================== --- head/biology/gperiodic/pkg-plist (revision 508656) +++ head/biology/gperiodic/pkg-plist (revision 508657) @@ -1,12 +1,25 @@ +@postexec chmod -R 770 /usr/local/share/locale/gperiodic bin/gperiodic -share/applications/gperiodic.desktop -%%NLS%%share/locale/da/LC_MESSAGES/gperiodic.mo -%%NLS%%share/locale/fr/LC_MESSAGES/gperiodic.mo -%%NLS%%share/locale/gl/LC_MESSAGES/gperiodic.mo -%%NLS%%share/locale/it/LC_MESSAGES/gperiodic.mo -%%NLS%%share/locale/pl/LC_MESSAGES/gperiodic.mo -%%NLS%%share/locale/ru/LC_MESSAGES/gperiodic.mo -%%NLS%%share/locale/sv/LC_MESSAGES/gperiodic.mo -%%NLS%%share/locale/tr/LC_MESSAGES/gperiodic.mo -share/pixmaps/gperiodic.png +share/locale/be/LC_MESSAGES/gperiodic.mo +share/locale/cs/LC_MESSAGES/gperiodic.mo +share/locale/da/LC_MESSAGES/gperiodic.mo +share/locale/de/LC_MESSAGES/gperiodic.mo +share/locale/es/LC_MESSAGES/gperiodic.mo +share/locale/fi/LC_MESSAGES/gperiodic.mo +share/locale/fr/LC_MESSAGES/gperiodic.mo +share/locale/gl/LC_MESSAGES/gperiodic.mo +share/locale/gperiodic/README +share/locale/gperiodic/gperiodic.pot +share/locale/gperiodic/table_data.h +share/locale/is/LC_MESSAGES/gperiodic.mo +share/locale/it/LC_MESSAGES/gperiodic.mo +share/locale/ms/LC_MESSAGES/gperiodic.mo +share/locale/pl/LC_MESSAGES/gperiodic.mo +share/locale/pt/LC_MESSAGES/gperiodic.mo +share/locale/ru/LC_MESSAGES/gperiodic.mo +share/locale/sv/LC_MESSAGES/gperiodic.mo +share/locale/tr/LC_MESSAGES/gperiodic.mo +share/locale/uk/LC_MESSAGES/gperiodic.mo +share/locale/zh_CN/LC_MESSAGES/gperiodic.mo share/pixmaps/gperiodic-crystal.png +share/pixmaps/gperiodic.png