aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/portupgrade-devel/Makefile')
-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; \