aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-11-07 18:21:30 +0800
committerarved <arved@FreeBSD.org>2002-11-07 18:21:30 +0800
commitc0cb3662d1a171dd8dbb9393f23a819b99a25e22 (patch)
tree4ab112d3e398d2cb04e6fbb2370b0557fc881d88
parent1cdb3bac572d6a78bc8c8f9d2be62ff8f0f35ba8 (diff)
downloadfreebsd-ports-gnome-c0cb3662d1a171dd8dbb9393f23a819b99a25e22.tar.gz
freebsd-ports-gnome-c0cb3662d1a171dd8dbb9393f23a819b99a25e22.tar.zst
freebsd-ports-gnome-c0cb3662d1a171dd8dbb9393f23a819b99a25e22.zip
Unbreak by adding dependeny on XFree86-4-clients.
Respect CFLAGS Don't install an own version of mktmp. Approved by: billf (maintainer) PR: 43456
-rw-r--r--misc/gtkfind/Makefile17
-rw-r--r--misc/gtkfind/pkg-plist1
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 <bsd.port.mk>
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