ports/114738: Update port: biology/gperiodic to 2.0.10

KATO Tsuguru tkato432 at yahoo.com
Thu Jul 19 18:10:06 UTC 2007


>Number:         114738
>Category:       ports
>Synopsis:       Update port: biology/gperiodic to 2.0.10
>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:   Thu Jul 19 18:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.2-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 2.0.10

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/biology/gperiodic/Makefile biology/gperiodic/Makefile
--- /usr/ports/biology/gperiodic/Makefile	Sun May 20 05:00:23 2007
+++ biology/gperiodic/Makefile	Sat Jul 14 17:06:00 2007
@@ -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 at 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 \
diff -urN /usr/ports/biology/gperiodic/distinfo biology/gperiodic/distinfo
--- /usr/ports/biology/gperiodic/distinfo	Thu Nov 24 09:03:59 2005
+++ biology/gperiodic/distinfo	Sat Jul 14 16:15:45 2007
@@ -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
diff -urN /usr/ports/biology/gperiodic/pkg-descr biology/gperiodic/pkg-descr
--- /usr/ports/biology/gperiodic/pkg-descr	Sat Nov 27 04:45:59 2004
+++ biology/gperiodic/pkg-descr	Sat Jul 14 16:13:40 2007
@@ -2,4 +2,4 @@
 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
diff -urN /usr/ports/biology/gperiodic/pkg-plist biology/gperiodic/pkg-plist
--- /usr/ports/biology/gperiodic/pkg-plist	Sun May 20 05:00:23 2007
+++ biology/gperiodic/pkg-plist	Sat Jul 14 17:00:32 2007
@@ -1,13 +1,17 @@
 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%%
+ at dirrmtry share/applications
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list