aboutsummaryrefslogtreecommitdiffstats
path: root/finance/gnomepm/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-02 02:18:17 +0800
committerkrion <krion@FreeBSD.org>2003-08-02 02:18:17 +0800
commitb08d762b9b1694d657fc16ec20621b8eb661bffd (patch)
tree2df21a45804c682dfced8699539a86fcd9e7ec09 /finance/gnomepm/Makefile
parente371a2ec735bfb6313a6013e2fe8ea241e31ed99 (diff)
downloadfreebsd-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 'finance/gnomepm/Makefile')
-rw-r--r--finance/gnomepm/Makefile22
1 files changed, 9 insertions, 13 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>