aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-01 18:18:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-01 18:18:17 +0000
commitcdf912fa684abed71d4a283140c9941a22916078 (patch)
tree60ee7bbe3d9cf04a8a9899e6f5ce16246b3688e9 /finance
parentc1ce9e1f8dd8740f6b643ee56405d52a81fce1a3 (diff)
downloadports-cdf912fa684abed71d4a283140c9941a22916078.tar.gz
ports-cdf912fa684abed71d4a283140c9941a22916078.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/gnomepm/Makefile22
-rw-r--r--finance/gnomepm/distinfo2
-rw-r--r--finance/gnomepm/files/patch-src::menu.c15
3 files changed, 25 insertions, 14 deletions
diff --git a/finance/gnomepm/Makefile b/finance/gnomepm/Makefile
index afaf9373cc9e..17b3ddebbb3f 100644
--- a/finance/gnomepm/Makefile
+++ b/finance/gnomepm/Makefile
@@ -9,25 +9,21 @@ PORTNAME= gnomepm
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 --git a/finance/gnomepm/distinfo b/finance/gnomepm/distinfo
index 8aceee7cead2..e39bbacb6136 100644
--- a/finance/gnomepm/distinfo
+++ b/finance/gnomepm/distinfo
@@ -1 +1 @@
-MD5 (gnome-pm-0.9.3.tar.gz) = a947488921af395e4ce3c9df0186977b
+MD5 (gnome-pm_0.9.3.orig.tar.gz) = a947488921af395e4ce3c9df0186977b
diff --git a/finance/gnomepm/files/patch-src::menu.c b/finance/gnomepm/files/patch-src::menu.c
new file mode 100644
index 000000000000..3aecf9eca0b6
--- /dev/null
+++ b/finance/gnomepm/files/patch-src::menu.c
@@ -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);
+