summaryrefslogtreecommitdiff
path: root/ports-mgmt/portbrowser
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-03-25 06:03:22 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-03-25 06:03:22 +0000
commitde74f15a2c9c042003435573b04b37e7b427e3fe (patch)
tree22d0636914d007b5f53a9affce80306376f93ea9 /ports-mgmt/portbrowser
parent* Update to 1.7.6 to fix security issues (see (diff)
Use ${INDEXFILE} for a filename of INDEX in /usr/ports.
PR: ports/79036, ports/79154 Approved by: portmgr(kiron)
Diffstat (limited to 'ports-mgmt/portbrowser')
-rw-r--r--ports-mgmt/portbrowser/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/ports-mgmt/portbrowser/Makefile b/ports-mgmt/portbrowser/Makefile
index ae379f077eba..6922b1d39db6 100644
--- a/ports-mgmt/portbrowser/Makefile
+++ b/ports-mgmt/portbrowser/Makefile
@@ -6,7 +6,7 @@
PORTNAME= portbrowser
PORTVERSION= 0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.bytelabs.org/
DISTNAME= pb-browser-${PORTVERSION}
@@ -16,6 +16,7 @@ MAINTAINER= hrs@FreeBSD.org
COMMENT= Graphical frontend for the BSD ports system
USE_GNOME= gtk20
+USE_REINPLACE= yes
MAKE_ENV= MANDIR=${PREFIX}/man/man \
BINDIR=${PREFIX}/bin \
NOMANCOMPRESS=YES
@@ -23,4 +24,8 @@ PLIST_FILES= bin/pbrowser
MAN1= pbrowser.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|"INDEX"|"${INDEXFILE}"|' \
+ ${WRKSRC}/src/pkgobject.h
+
.include <bsd.port.mk>