From c0cb3662d1a171dd8dbb9393f23a819b99a25e22 Mon Sep 17 00:00:00 2001 From: arved Date: Thu, 7 Nov 2002 10:21:30 +0000 Subject: Unbreak by adding dependeny on XFree86-4-clients. Respect CFLAGS Don't install an own version of mktmp. Approved by: billf (maintainer) PR: 43456 --- misc/gtkfind/Makefile | 17 +++++++++++------ misc/gtkfind/pkg-plist | 1 - 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/misc/gtkfind/Makefile b/misc/gtkfind/Makefile index ef6d80aa249b..be6bc2f810d9 100644 --- a/misc/gtkfind/Makefile +++ b/misc/gtkfind/Makefile @@ -8,21 +8,26 @@ PORTNAME= gtkfind PORTVERSION= 1.1 CATEGORIES= misc -MASTER_SITES= http://www.oz.net/~mattg/ -# metalab hasn't caught up yet... -# ${MASTER_SITE_SUNSITE} -#MASTER_SITE_SUBDIR= X11/gtkbuffet/apps/gtkfind +MASTER_SITES= ${MASTER_SITE_BACKUP} MAINTAINER= billf@FreeBSD.org -BROKEN= "Missing dependency on xterm" +BUILD_DEPENDS= xterm:${PORTSDIR}/x11/XFree86-4-clients USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOMENG= yes USE_GNOME= gtk12 GNU_CONFIGURE= yes +USE_REINPLACE= yes -MAN1= gtkfind.1 mktmp.1 +MAN1= gtkfind.1 + +post-patch: + ${REINPLACE_CMD} -e "s,-O2,${CFLAGS}," ${WRKSRC}/configure ${WRKSRC}/Makefile.in + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/gtkfind ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/gtkfind.1 ${MANPREFIX}/man/man1 .include diff --git a/misc/gtkfind/pkg-plist b/misc/gtkfind/pkg-plist index f1d7ebfa489e..41cc2f591fec 100644 --- a/misc/gtkfind/pkg-plist +++ b/misc/gtkfind/pkg-plist @@ -1,2 +1 @@ bin/gtkfind -bin/mktmp -- cgit