View | Details | Raw Unified | Return to bug 55153
Collapse All | Expand All

(-)misc/gnomepm/Makefile (-13 / +9 lines)
Lines 9-33 Link Here
9
PORTVERSION=	0.9.3
9
PORTVERSION=	0.9.3
10
PORTREVISION=	1
10
PORTREVISION=	1
11
CATEGORIES=	misc gnome
11
CATEGORIES=	misc gnome
12
MASTER_SITES=	${MASTER_SITE_LOCAL}
12
MASTER_SITES=	${MASTER_SITE_DEBIAN}
13
MASTER_SITE_SUBDIR=	sobomax
13
MASTER_SITE_SUBDIR=	pool/main/g/${PORTNAME:S/gnome/gnome-/}
14
DISTNAME=	${PORTNAME:S/gnome/gnome-/}-${PORTVERSION}
14
DISTNAME=	${PORTNAME:S/gnome/gnome-/}_${PORTVERSION}.orig
15
15
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	A small GNOME app that collects stock information from Yahoo!(c) Finance
17
COMMENT=	A small GNOME app that collects stock information from Yahoo!(c) Finance
18
18
19
LIB_DEPENDS=	ghttp.1:${PORTSDIR}/www/libghttp
20
21
WRKSRC=		${WRKDIR}/${PORTNAME:S/gnome/gnome-/}-${PORTVERSION}
22
19
USE_X_PREFIX=	yes
23
USE_X_PREFIX=	yes
20
USE_GNOME=	yes
24
USE_GNOME=	gnomehack gnomelibs gnomeprefix
21
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
		LIBS="-L${LOCALBASE}/lib"
27
		LDFLAGS="-L${LOCALBASE}/lib"
24
25
pre-patch:
26
	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
27
		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
28
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
29
		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
30
		 s|\$\(gnomedatadir\)/gnome/|\$\(gnomedatadir\)/|g ; \
31
		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
32
28
33
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)misc/gnomepm/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (gnome-pm-0.9.3.tar.gz) = a947488921af395e4ce3c9df0186977b
1
MD5 (gnome-pm_0.9.3.orig.tar.gz) = a947488921af395e4ce3c9df0186977b
(-)misc/gnomepm/files/patch-src::menu.c (+15 lines)
Line 0 Link Here
1
--- src/menu.c.orig	Sun Oct 29 10:19:49 2000
2
+++ src/menu.c	Fri Aug  1 23:40:03 2003
3
@@ -86,9 +86,9 @@
4
 			    "(C)1999 Rodney Dawes",
5
 			    authors,
6
 			    /* other comments */
7
-			    _("Portfolio management utility for GNOME\n
8
-			    	Information provided by Yahoo!(C) Finance\n
9
-					This program is not supported by Yahoo!(c)."),
10
+			    _("Portfolio management utility for GNOME\n"
11
+			    	"Information provided by Yahoo!(C) Finance\n"
12
+					"This program is not supported by Yahoo!(c)."),
13
 				NULL);
14
   gtk_widget_show (about);
15

Return to bug 55153