aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-07-27 16:00:31 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-07-27 16:00:31 +0000
commitd5ad0752401bedd814eb303a8b042623a3a4014d (patch)
treeb24ca5c18ae8e3bc78625e2791d861253f55f0d5 /biology
parent2a8620db3b23e9153e0d1c667849a4830c77fc47 (diff)
downloadports-d5ad0752401bedd814eb303a8b042623a3a4014d.tar.gz
ports-d5ad0752401bedd814eb303a8b042623a3a4014d.zip
- Update to version 2.0.5
PR: 54899 Submitted by: KATO Tsuguru <tkato@prontomail.com> Approved by: fjoe (mentor) (implicit)
Notes
Notes: svn path=/head/; revision=85681
Diffstat (limited to 'biology')
-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 b4b75d373164..9d47c19140a0 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 91f99be61b6e..ea4152b896a3 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 20540497251f..000000000000
--- 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 193dcc13430c..20c4e354803e 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 00928dec6e5b..2712d55b8fc7 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%%