aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portupgrade
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-02-20 23:21:05 +0800
committerknu <knu@FreeBSD.org>2002-02-20 23:21:05 +0800
commit1ab578a7dbd3614aa412b85851808b14bd3533ed (patch)
tree0173c7b97d9244fd4b2b38e0fa14a973806c14ea /ports-mgmt/portupgrade
parentc6ea41722f6547e9e6a626a4e2cad9a83a3f4181 (diff)
downloadfreebsd-ports-gnome-1ab578a7dbd3614aa412b85851808b14bd3533ed.tar.gz
freebsd-ports-gnome-1ab578a7dbd3614aa412b85851808b14bd3533ed.tar.zst
freebsd-ports-gnome-1ab578a7dbd3614aa412b85851808b14bd3533ed.zip
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 'ports-mgmt/portupgrade')
-rw-r--r--ports-mgmt/portupgrade/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index c3ce287331f9..35f75457e5db 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/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; \