From b08d762b9b1694d657fc16ec20621b8eb661bffd Mon Sep 17 00:00:00 2001 From: krion Date: Fri, 1 Aug 2003 18:18:17 +0000 Subject: - Fix build on -current - Rearrange USE_GNOME PR: 55153 Submitted by: Ports Fury Approved by: fjoe (mentor) (implicit) --- finance/gnomepm/Makefile | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'finance/gnomepm/Makefile') 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 -- cgit