aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-07 10:21:30 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-07 10:21:30 +0000
commitec742b2bccd1fe22d83a190eda869414a6797e3a (patch)
tree67feee8b369f97d80255cbfdd478a98ff45441c9 /misc
parent6f41d4ee49b300dc0fb0eff1e2e4629bf0abcb95 (diff)
downloadports-ec742b2bccd1fe22d83a190eda869414a6797e3a.tar.gz
ports-ec742b2bccd1fe22d83a190eda869414a6797e3a.zip
Notes
Diffstat (limited to 'misc')
-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