Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2003 00:33:51 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55153: Update port: misc/gnomepm
Message-ID:  <20030802003351.5e7f9467.tkato@prontomail.com>
Resent-Message-ID: <200308011540.h71FeEpS052991@freefall.freebsd.org>

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

>Number:         55153
>Category:       ports
>Synopsis:       Update port: misc/gnomepm
>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:   Fri Aug 01 08:40:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build on -current
- Rearrange USE_GNOME

New file:
files/patch-src::menu.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/gnomepm/Makefile misc/gnomepm/Makefile
--- /usr/ports/misc/gnomepm/Makefile	Tue Jul 29 21:32:50 2003
+++ misc/gnomepm/Makefile	Fri Aug  1 23:37:36 2003
@@ -9,25 +9,21 @@
 PORTVERSION=	0.9.3
 PORTREVISION=	1
 CATEGORIES=	misc gnome
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	sobomax
-DISTNAME=	${PORTNAME:S/gnome/gnome-/}-${PORTVERSION}
+MASTER_SITES=	${MASTER_SITE_DEBIAN}
+MASTER_SITE_SUBDIR=	pool/main/g/${PORTNAME:S/gnome/gnome-/}
+DISTNAME=	${PORTNAME:S/gnome/gnome-/}_${PORTVERSION}.orig
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A small GNOME app that collects stock information from Yahoo!(c) Finance
 
+LIB_DEPENDS=	ghttp.1:${PORTSDIR}/www/libghttp
+
+WRKSRC=		${WRKDIR}/${PORTNAME:S/gnome/gnome-/}-${PORTVERSION}
+
 USE_X_PREFIX=	yes
-USE_GNOME=	yes
+USE_GNOME=	gnomehack gnomelibs gnomeprefix
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
-
-pre-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
-		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
-		 s|\$\(gnomedatadir\)/gnome/|\$\(gnomedatadir\)/|g ; \
-		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+		LDFLAGS="-L${LOCALBASE}/lib"
 
 .include <bsd.port.mk>
diff -urN /usr/ports/misc/gnomepm/distinfo misc/gnomepm/distinfo
--- /usr/ports/misc/gnomepm/distinfo	Wed Nov  1 20:45:45 2000
+++ misc/gnomepm/distinfo	Fri Aug  1 23:37:36 2003
@@ -1 +1 @@
-MD5 (gnome-pm-0.9.3.tar.gz) = a947488921af395e4ce3c9df0186977b
+MD5 (gnome-pm_0.9.3.orig.tar.gz) = a947488921af395e4ce3c9df0186977b
diff -urN /usr/ports/misc/gnomepm/files/patch-src::menu.c misc/gnomepm/files/patch-src::menu.c
--- /usr/ports/misc/gnomepm/files/patch-src::menu.c	Thu Jan  1 09:00:00 1970
+++ misc/gnomepm/files/patch-src::menu.c	Fri Aug  1 23:40:30 2003
@@ -0,0 +1,15 @@
+--- src/menu.c.orig	Sun Oct 29 10:19:49 2000
++++ src/menu.c	Fri Aug  1 23:40:03 2003
+@@ -86,9 +86,9 @@
+ 			    "(C)1999 Rodney Dawes",
+ 			    authors,
+ 			    /* other comments */
+-			    _("Portfolio management utility for GNOME\n
+-			    	Information provided by Yahoo!(C) Finance\n
+-					This program is not supported by Yahoo!(c)."),
++			    _("Portfolio management utility for GNOME\n"
++			    	"Information provided by Yahoo!(C) Finance\n"
++					"This program is not supported by Yahoo!(c)."),
+ 				NULL);
+   gtk_widget_show (about);
+   
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030802003351.5e7f9467.tkato>