ports/54899: Update port: biology/gperiodic to 2.0.5

KATO Tsuguru tkato at prontomail.com
Sun Jul 27 09:50:28 UTC 2003


>Number:         54899
>Category:       ports
>Synopsis:       Update port: biology/gperiodic to 2.0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 27 02:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 2.0.5

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/biology/gperiodic/Makefile biology/gperiodic/Makefile
--- /usr/ports/biology/gperiodic/Makefile	Thu Jun  5 07:30:03 2003
+++ biology/gperiodic/Makefile	Fri Jul 25 19:17:59 2003
@@ -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 at 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
diff -urN /usr/ports/biology/gperiodic/distinfo biology/gperiodic/distinfo
--- /usr/ports/biology/gperiodic/distinfo	Wed Jan 23 06:19:05 2002
+++ biology/gperiodic/distinfo	Fri Jul 25 19:02:22 2003
@@ -1 +1 @@
-MD5 (gperiodic-1.3.3.tar.gz) = 8b6344276252635b18572bca17aa62f6
+MD5 (gperiodic-2.0.5.tar.gz) = 55fd28d407e4eba4fec82f36e954f693
diff -urN /usr/ports/biology/gperiodic/files/patch-aa biology/gperiodic/files/patch-aa
--- /usr/ports/biology/gperiodic/files/patch-aa	Sat Dec 23 01:19:26 2000
+++ biology/gperiodic/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -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 -urN /usr/ports/biology/gperiodic/pkg-descr biology/gperiodic/pkg-descr
--- /usr/ports/biology/gperiodic/pkg-descr	Tue Jun 12 22:35:56 2001
+++ biology/gperiodic/pkg-descr	Fri Jul 25 19:01:38 2003
@@ -2,4 +2,4 @@
 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 -urN /usr/ports/biology/gperiodic/pkg-plist biology/gperiodic/pkg-plist
--- /usr/ports/biology/gperiodic/pkg-plist	Sun Dec  9 05:49:21 2001
+++ biology/gperiodic/pkg-plist	Fri Jul 25 19:14:15 2003
@@ -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%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list