diff options
author | knu <knu@FreeBSD.org> | 2002-02-20 23:21:05 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-02-20 23:21:05 +0800 |
commit | 1ab578a7dbd3614aa412b85851808b14bd3533ed (patch) | |
tree | 0173c7b97d9244fd4b2b38e0fa14a973806c14ea /sysutils | |
parent | c6ea41722f6547e9e6a626a4e2cad9a83a3f4181 (diff) | |
download | freebsd-ports-graphics-1ab578a7dbd3614aa412b85851808b14bd3533ed.tar.gz freebsd-ports-graphics-1ab578a7dbd3614aa412b85851808b14bd3533ed.tar.zst freebsd-ports-graphics-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 'sysutils')
-rw-r--r-- | sysutils/portupgrade-devel/Makefile | 4 | ||||
-rw-r--r-- | sysutils/portupgrade/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile index c3ce287331f..35f75457e5d 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; \ diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile index c3ce287331f..35f75457e5d 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; \ |