diff options
author | krion <krion@FreeBSD.org> | 2003-08-02 02:18:17 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-08-02 02:18:17 +0800 |
commit | b08d762b9b1694d657fc16ec20621b8eb661bffd (patch) | |
tree | 2df21a45804c682dfced8699539a86fcd9e7ec09 /misc | |
parent | e371a2ec735bfb6313a6013e2fe8ea241e31ed99 (diff) | |
download | freebsd-ports-gnome-b08d762b9b1694d657fc16ec20621b8eb661bffd.tar.gz freebsd-ports-gnome-b08d762b9b1694d657fc16ec20621b8eb661bffd.tar.zst freebsd-ports-gnome-b08d762b9b1694d657fc16ec20621b8eb661bffd.zip |
- Fix build on -current
- Rearrange USE_GNOME
PR: 55153
Submitted by: Ports Fury
Approved by: fjoe (mentor) (implicit)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gnomepm/Makefile | 22 | ||||
-rw-r--r-- | misc/gnomepm/distinfo | 2 | ||||
-rw-r--r-- | misc/gnomepm/files/patch-src::menu.c | 15 |
3 files changed, 25 insertions, 14 deletions
diff --git a/misc/gnomepm/Makefile b/misc/gnomepm/Makefile index afaf9373cc9e..17b3ddebbb3f 100644 --- a/misc/gnomepm/Makefile +++ b/misc/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/misc/gnomepm/distinfo b/misc/gnomepm/distinfo index 8aceee7cead2..e39bbacb6136 100644 --- a/misc/gnomepm/distinfo +++ b/misc/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/misc/gnomepm/files/patch-src::menu.c b/misc/gnomepm/files/patch-src::menu.c new file mode 100644 index 000000000000..3aecf9eca0b6 --- /dev/null +++ b/misc/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); + |