Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2004 01:30:35 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69003: Update port: misc/gonvert to 0.2.05
Message-ID:  <20040714013035.29c6196f.tkato432@yahoo.com>
Resent-Message-ID: <200407131640.i6DGeKKp018466@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         69003
>Category:       ports
>Synopsis:       Update port: misc/gonvert to 0.2.05
>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:   Tue Jul 13 16:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.2.05

Remove file:
files/patch-gonvert

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/gonvert/Makefile misc/gonvert/Makefile
--- /usr/ports/misc/gonvert/Makefile	Mon Jun 28 23:02:52 2004
+++ misc/gonvert/Makefile	Tue Jul 13 23:08:13 2004
@@ -7,31 +7,34 @@
 #
 
 PORTNAME=	gonvert
-PORTVERSION=	0.2.01
+PORTVERSION=	0.2.05
 CATEGORIES=	misc python gnome
 MASTER_SITES=	http://www.unihedron.com/projects/gonvert/downloads/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A conversion utility that allows conversion between many units
 
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
-
 USE_X_PREFIX=	yes
-USE_GNOME=	gnomehier
+USE_GNOME=	gnomehier pygtk2
 USE_PYTHON=	yes
-USE_GMAKE=	yes
+USE_REINPLACE=	yes
 NO_BUILD=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|#!/usr/bin/python|#!/usr/bin/env python|g' ${WRKSRC}/gonvert
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/gonvert ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/gonvert.desktop \
-		${PREFIX}/share/gnome/apps/Utilities
-	${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert_icon.png \
+		${PREFIX}/share/gnome/applications
+	${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert.png \
 		${PREFIX}/share/gnome/pixmaps
 	@${MKDIR} ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/gonvert.glade ${DATADIR}
 	@${MKDIR} ${DATADIR}/pixmaps
-	${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR}/pixmaps
+	${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert_picture.png \
+		${DATADIR}/pixmaps
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for file in README CHANGELOG FAQ README THANKS TODO
diff -urN /usr/ports/misc/gonvert/distinfo misc/gonvert/distinfo
--- /usr/ports/misc/gonvert/distinfo	Mon Jun 28 23:02:52 2004
+++ misc/gonvert/distinfo	Sun Jul 11 21:21:49 2004
@@ -1,2 +1,2 @@
-MD5 (gonvert-0.2.01.tar.gz) = 9996b6a16ea0b83eba3c6cecda2fe628
-SIZE (gonvert-0.2.01.tar.gz) = 109866
+MD5 (gonvert-0.2.05.tar.gz) = 049288a60291da767f7cacd26ae826ba
+SIZE (gonvert-0.2.05.tar.gz) = 73211
diff -urN /usr/ports/misc/gonvert/files/patch-gonvert misc/gonvert/files/patch-gonvert
--- /usr/ports/misc/gonvert/files/patch-gonvert	Tue Jan 27 05:19:57 2004
+++ misc/gonvert/files/patch-gonvert	Thu Jan  1 09:00:00 1970
@@ -1,17 +0,0 @@
---- gonvert.orig	Mon Jan 26 02:22:42 2004
-+++ gonvert	Mon Jan 26 13:22:52 2004
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/env python
- # -*- coding: UTF8 -*-
- version = "0.1.7"   # keep version information here since Makefile needs it
- 
-@@ -655,7 +655,7 @@
- 	homepath=''
- else:
- 	#look for it in the installed directory
--	homepath=sys.path[0] + '/../lib/gonvert-'+version + "/"
-+	homepath=sys.path[0] + '/../share/gonvert' "/"
- 
- gladefile=homepath+'gonvert.glade'
- 
diff -urN /usr/ports/misc/gonvert/pkg-plist misc/gonvert/pkg-plist
--- /usr/ports/misc/gonvert/pkg-plist	Tue Jan 27 13:16:35 2004
+++ misc/gonvert/pkg-plist	Tue Jul 13 23:08:48 2004
@@ -4,11 +4,10 @@
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/THANKS
 %%PORTDOCS%%%%DOCSDIR%%/TODO
-share/gnome/apps/Utilities/gonvert.desktop
-share/gnome/pixmaps/gonvert_icon.png
+share/gnome/applications/gonvert.desktop
+share/gnome/pixmaps/gonvert.png
 %%DATADIR%%/gonvert.glade
-%%DATADIR%%/pixmaps/gonvert.png
-%%DATADIR%%/pixmaps/gonvert_icon.png
+%%DATADIR%%/pixmaps/gonvert_picture.png
 @dirrm %%DATADIR%%/pixmaps
 @dirrm %%DATADIR%%
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040714013035.29c6196f.tkato432>