1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update to 2.0.10

PR:		114738
Submitted by:	KATO Tsuguru <tkato432 (AT) yahoo.com>
Approved by:	miwi (mentor)
This commit is contained in:
Lars Engels 2007-07-31 21:08:54 +00:00
parent cd70c2c96a
commit f830ac44dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196859
4 changed files with 22 additions and 22 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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

View File

@ -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%%