summaryrefslogtreecommitdiff
path: root/biology/gperiodic
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2007-07-31 21:08:54 +0000
committerLars Engels <lme@FreeBSD.org>2007-07-31 21:08:54 +0000
commitf830ac44dda1db72ee4461b179582ff3fe84c941 (patch)
tree0e41b928fa0fbd50fd4bd1d704e7910a81873885 /biology/gperiodic
parent- Add USE_XORG=xext (diff)
Update to 2.0.10
PR: 114738 Submitted by: KATO Tsuguru <tkato432 (AT) yahoo.com> Approved by: miwi (mentor)
Notes
Notes: svn path=/head/; revision=196859
Diffstat (limited to 'biology/gperiodic')
-rw-r--r--biology/gperiodic/Makefile27
-rw-r--r--biology/gperiodic/distinfo6
-rw-r--r--biology/gperiodic/pkg-descr2
-rw-r--r--biology/gperiodic/pkg-plist9
4 files changed, 22 insertions, 22 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
index e49c771662a2..792bfedd3b37 100644
--- a/biology/gperiodic/Makefile
+++ b/biology/gperiodic/Makefile
@@ -6,39 +6,36 @@
# $MCom: ports/biology/gperiodic/Makefile,v 1.1 2006/09/29 23:42:13 ahze Exp $
PORTNAME= gperiodic
-PORTVERSION= 2.0.8
-PORTREVISION= 4
+PORTVERSION= 2.0.10
CATEGORIES= biology
-MASTER_SITES= http://koti.welho.com/jfrantz/software/
+MASTER_SITES= http://www.frantz.fi/software/
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays a periodic table of the elements
USE_XLIB= yes
-USE_GNOME= gnomeprefix gtk20
-ALL_TARGET= ${PORTNAME}
+USE_GNOME= gtk20
USE_GETTEXT= yes
-LANGS= da fr pl sv tr
-post-patch:
- @${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \
- s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile
+LANGS= da fr gl it pl ru sv tr
-post-build:
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} `pkg-config --cflags --libs gtk+-2.0` \
+ gperiodic.c -o gperiodic
.for lang in ${LANGS}
cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/gnome/applications
+ @${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \
- ${PREFIX}/share/gnome/applications
- @${MKDIR} ${PREFIX}/share/gnome/pixmaps
+ ${PREFIX}/share/applications
+ @${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/gperiodic.png \
- ${PREFIX}/share/gnome/pixmaps
+ ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \
- ${PREFIX}/share/gnome/pixmaps
+ ${PREFIX}/share/pixmaps
.for lang in ${LANGS}
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
diff --git a/biology/gperiodic/distinfo b/biology/gperiodic/distinfo
index a24602329e70..8a9870d3e101 100644
--- a/biology/gperiodic/distinfo
+++ b/biology/gperiodic/distinfo
@@ -1,3 +1,3 @@
-MD5 (gperiodic-2.0.8.tar.gz) = cfe23eaa21707c2c42bcd6399161ec2e
-SHA256 (gperiodic-2.0.8.tar.gz) = c853953ea7149574214572cb61450b3a822010775d086c8bea5abef9e692284c
-SIZE (gperiodic-2.0.8.tar.gz) = 125402
+MD5 (gperiodic-2.0.10.tar.gz) = 9680f8a4850bdafad113fd4af7c57e45
+SHA256 (gperiodic-2.0.10.tar.gz) = 78d72870c51c39e4a35c804c05b8ef5e39f88d42eced52b2934e21d74fb8d096
+SIZE (gperiodic-2.0.10.tar.gz) = 131213
diff --git a/biology/gperiodic/pkg-descr b/biology/gperiodic/pkg-descr
index 1fb016161f81..230c3ba7c5d3 100644
--- a/biology/gperiodic/pkg-descr
+++ b/biology/gperiodic/pkg-descr
@@ -2,4 +2,4 @@ Gperiodic displays a periodic table of the elements, allowing you to
browse through the elements, and view detailed information about each
element.
-WWW: http://koti.welho.com/jfrantz/software/gperiodic.html
+WWW: http://www.frantz.fi/software/gperiodic.php
diff --git a/biology/gperiodic/pkg-plist b/biology/gperiodic/pkg-plist
index db8a172e1e3b..2180ee4d8302 100644
--- a/biology/gperiodic/pkg-plist
+++ b/biology/gperiodic/pkg-plist
@@ -1,13 +1,16 @@
bin/gperiodic
+share/applications/gperiodic.desktop
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
-share/gnome/applications/gperiodic.desktop
-share/gnome/pixmaps/gperiodic.png
-share/gnome/pixmaps/gperiodic-crystal.png
share/locale/da/LC_MESSAGES/gperiodic.mo
share/locale/fr/LC_MESSAGES/gperiodic.mo
+share/locale/gl/LC_MESSAGES/gperiodic.mo
+share/locale/it/LC_MESSAGES/gperiodic.mo
share/locale/pl/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/pixmaps/gperiodic.png
+share/pixmaps/gperiodic-crystal.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%