aboutsummaryrefslogtreecommitdiff
path: root/biology/gperiodic
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-08-11 17:29:10 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-08-11 17:29:10 +0000
commitad26c38bf6d2cde11e7a12d6044242a1e599744e (patch)
treeca264f1e31e309c0057a47c8fc479b7e82125d00 /biology/gperiodic
parente900df8c8df8fa17b0c5efaf6ecd5d7bd5819170 (diff)
downloadports-ad26c38bf6d2cde11e7a12d6044242a1e599744e.tar.gz
ports-ad26c38bf6d2cde11e7a12d6044242a1e599744e.zip
biology/gperiodic: upgrade 2.0.10 -> 3.0.3
- new mastersite PR: 239642 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Relnotes: https://sourceforge.net/p/gperiodic/code/HEAD/tree/branches/3.0.3/ChangeLog
Notes
Notes: svn path=/head/; revision=508657
Diffstat (limited to 'biology/gperiodic')
-rw-r--r--biology/gperiodic/Makefile24
-rw-r--r--biology/gperiodic/distinfo5
-rw-r--r--biology/gperiodic/pkg-plist33
3 files changed, 39 insertions, 23 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
index 75b7d2977301..4b689f08ac3b 100644
--- a/biology/gperiodic/Makefile
+++ b/biology/gperiodic/Makefile
@@ -3,10 +3,9 @@
# $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
@@ -14,15 +13,13 @@ COMMENT= Displays a periodic table of the elements
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/gpl.txt
-BROKEN= unfetchable
-
-USE_GNOME= gtk20
USES= pkgconfig
-
-LANGS= da fr gl it pl ru sv tr
+USE_GNOME= gtk20
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
@@ -39,9 +36,7 @@ do-build-NLS-on:
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:
@@ -50,6 +45,13 @@ do-install-NLS-on:
${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}
diff --git a/biology/gperiodic/distinfo b/biology/gperiodic/distinfo
index 0b06be70ff6e..7789a2ab7434 100644
--- a/biology/gperiodic/distinfo
+++ b/biology/gperiodic/distinfo
@@ -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
diff --git a/biology/gperiodic/pkg-plist b/biology/gperiodic/pkg-plist
index 22ba3a5d6e5c..b5d4271ba217 100644
--- a/biology/gperiodic/pkg-plist
+++ b/biology/gperiodic/pkg-plist
@@ -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