summaryrefslogtreecommitdiff
path: root/sysutils/portupgrade-devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-02-20 15:21:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-02-20 15:21:05 +0000
commit3233729ade6a99be0ac29e3438dcbd944703c1e1 (patch)
treea9a029394dab087b3e59811c3dd2a7f2a295130e /sysutils/portupgrade-devel
parent- Update to version 0.2 (diff)
Fix the zsh completion definition for portinstall/portupgrade -N.
Bump PORTREVISION. (Sorry for non-zsh users ;) Submitted by: Olivier Roux <skoot@club-internet.fr>
Notes
Notes: svn path=/head/; revision=54986
Diffstat (limited to 'sysutils/portupgrade-devel')
-rw-r--r--sysutils/portupgrade-devel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile
index c3ce287331f9..35f75457e5db 100644
--- a/sysutils/portupgrade-devel/Makefile
+++ b/sysutils/portupgrade-devel/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; \