summaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-02-20 15:21:05 +0000
committerknu <knu@FreeBSD.org>2002-02-20 15:21:05 +0000
commit1ab578a7dbd3614aa412b85851808b14bd3533ed (patch)
tree0173c7b97d9244fd4b2b38e0fa14a973806c14ea /sysutils/portupgrade
parentc6ea41722f6547e9e6a626a4e2cad9a83a3f4181 (diff)
downloadFreeBSD-ports-1ab578a7dbd3614aa412b85851808b14bd3533ed.zip
FreeBSD-ports-1ab578a7dbd3614aa412b85851808b14bd3533ed.tar.gz
Fix the zsh completion definition for portinstall/portupgrade -N.
Bump PORTREVISION. (Sorry for non-zsh users ;) Submitted by: Olivier Roux <skoot@club-internet.fr>
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r--sysutils/portupgrade/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile
index c3ce287..35f7545 100644
--- a/sysutils/portupgrade/Makefile
+++ b/sysutils/portupgrade/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20020220.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@@ -54,6 +55,9 @@ INSTALL_TARGET= install
INSTALL_TARGET+= install-doc
.endif
+post-patch:
+ ${RUBY} -i.orig -pe '$$. == 85 and sub(/_freebsd_pkgtools_which_files/, "_freebsd_pkgtools_ports")' ${WRKSRC}/misc/zsh/_pkgtools
+
post-install:
if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
OpenPOWER on IntegriCloud