1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to version 2.0.5

PR:		54899
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
Approved by:	fjoe (mentor) (implicit)
This commit is contained in:
Kirill Ponomarev 2003-07-27 16:00:31 +00:00
parent 2a8620db3b
commit d5ad075240
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85681
5 changed files with 25 additions and 41 deletions

View File

@ -6,28 +6,30 @@
#
PORTNAME= gperiodic
PORTVERSION= 1.3.3
PORTVERSION= 2.0.5
CATEGORIES= biology
MASTER_SITES= ftp://ftp.seul.org/pub/gperiodic/ \
http://www.unixpages.org/distfiles/
MASTER_SITES= http://www.acclab.helsinki.fi/~frantz/software/
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays a periodic table of the elements
USE_X_PREFIX= yes
USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
USE_GNOME= gtk20
MAKE_ARGS= CC="${CC} ${CFLAGS}"
ALL_TARGET= ${PORTNAME}
MAN1= gperiodic.1
post-build:
.for lang in da pl sv
cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po
.endfor
post-extract:
@${LN} -sf Makefile.in.in ${WRKSRC}/po/Makefile.in
post-install:
${INSTALL_MAN} ${WRKSRC}/man/gperiodic.1 ${MANPREFIX}/man/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin
.for lang in da pl sv
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog README

View File

@ -1 +1 @@
MD5 (gperiodic-1.3.3.tar.gz) = 8b6344276252635b18572bca17aa62f6
MD5 (gperiodic-2.0.5.tar.gz) = 55fd28d407e4eba4fec82f36e954f693

View File

@ -1,14 +0,0 @@
--- src/gperiodic.c.orig Wed Sep 8 22:42:48 1999
+++ src/gperiodic.c Wed Dec 20 03:25:27 2000
@@ -484,10 +484,7 @@
textdomain (PACKAGE);
bindtextdomain(PACKAGE, GPERIODIC_LOCALE_DIR);
- lang = getenv("LANG");
- if( NULL == lang ) {
- lang = "en";
- }
+ gtk_set_locale();
gtk_init(&argc,&argv);

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://gperiodic.seul.org/
WWW: http://www.acclab.helsinki.fi/~frantz/software/gperiodic.php

View File

@ -1,12 +1,8 @@
bin/gperiodic
%%PORTDOCS%%share/doc/gperiodic/AUTHORS
%%PORTDOCS%%share/doc/gperiodic/ChangeLog
%%PORTDOCS%%share/doc/gperiodic/README
share/locale/de/LC_MESSAGES/gperiodic.mo
share/locale/es/LC_MESSAGES/gperiodic.mo
share/locale/fr/LC_MESSAGES/gperiodic.mo
share/locale/it/LC_MESSAGES/gperiodic.mo
share/locale/nl/LC_MESSAGES/gperiodic.mo
share/locale/pt/LC_MESSAGES/gperiodic.mo
share/locale/ru/LC_MESSAGES/gperiodic.mo
%%PORTDOCS%%@dirrm share/doc/gperiodic
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
share/locale/da/LC_MESSAGES/gperiodic.mo
share/locale/pl/LC_MESSAGES/gperiodic.mo
share/locale/sv/LC_MESSAGES/gperiodic.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%