summaryrefslogtreecommitdiffstats
path: root/biology/gperiodic
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-07-27 16:00:31 +0000
committerkrion <krion@FreeBSD.org>2003-07-27 16:00:31 +0000
commita529fe6cff0f487b374d4a63818eb04d9705aa70 (patch)
tree604b6c941c07fbb46cebf314c03525373c855328 /biology/gperiodic
parentf7b1ba66d12e74530bf1d1d8a3c537ef2a88b16c (diff)
downloadFreeBSD-ports-a529fe6cff0f487b374d4a63818eb04d9705aa70.zip
FreeBSD-ports-a529fe6cff0f487b374d4a63818eb04d9705aa70.tar.gz
- Update to version 2.0.5
PR: 54899 Submitted by: KATO Tsuguru <tkato@prontomail.com> Approved by: fjoe (mentor) (implicit)
Diffstat (limited to 'biology/gperiodic')
-rw-r--r--biology/gperiodic/Makefile30
-rw-r--r--biology/gperiodic/distinfo2
-rw-r--r--biology/gperiodic/files/patch-aa14
-rw-r--r--biology/gperiodic/pkg-descr2
-rw-r--r--biology/gperiodic/pkg-plist18
5 files changed, 25 insertions, 41 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
index b4b75d3..9d47c19 100644
--- a/biology/gperiodic/Makefile
+++ b/biology/gperiodic/Makefile
@@ -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-extract:
- @${LN} -sf Makefile.in.in ${WRKSRC}/po/Makefile.in
+post-build:
+.for lang in da pl sv
+ cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po
+.endfor
-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
diff --git a/biology/gperiodic/distinfo b/biology/gperiodic/distinfo
index 91f99be..ea4152b 100644
--- a/biology/gperiodic/distinfo
+++ b/biology/gperiodic/distinfo
@@ -1 +1 @@
-MD5 (gperiodic-1.3.3.tar.gz) = 8b6344276252635b18572bca17aa62f6
+MD5 (gperiodic-2.0.5.tar.gz) = 55fd28d407e4eba4fec82f36e954f693
diff --git a/biology/gperiodic/files/patch-aa b/biology/gperiodic/files/patch-aa
deleted file mode 100644
index 2054049..0000000
--- a/biology/gperiodic/files/patch-aa
+++ /dev/null
@@ -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);
-
diff --git a/biology/gperiodic/pkg-descr b/biology/gperiodic/pkg-descr
index 193dcc1..20c4e35 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://gperiodic.seul.org/
+WWW: http://www.acclab.helsinki.fi/~frantz/software/gperiodic.php
diff --git a/biology/gperiodic/pkg-plist b/biology/gperiodic/pkg-plist
index 00928de..2712d55 100644
--- a/biology/gperiodic/pkg-plist
+++ b/biology/gperiodic/pkg-plist
@@ -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%%
OpenPOWER on IntegriCloud