diff options
author | knu <knu@FreeBSD.org> | 2001-08-11 18:07:05 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-11 18:07:05 +0800 |
commit | 7e517a7397bdc88a96c4cca417bed1a1e053c39d (patch) | |
tree | 4a7f90008c3a911473fc99325cdf8faf3382b013 /ports-mgmt/portupgrade-devel | |
parent | d1a39f075fbf96ec45a95fb88cadc7b8af90de3c (diff) | |
download | freebsd-ports-gnome-7e517a7397bdc88a96c4cca417bed1a1e053c39d.tar.gz freebsd-ports-gnome-7e517a7397bdc88a96c4cca417bed1a1e053c39d.tar.zst freebsd-ports-gnome-7e517a7397bdc88a96c4cca417bed1a1e053c39d.zip |
Add a hotfix to support the "MD5 (file) = IGNORE" case.
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index 16fb600aa621..34478d947f6b 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20010811 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://www.iDaemons.org/distfiles/ @@ -36,6 +37,8 @@ MANCOMPRESSED= yes post-patch: ${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb + ${RUBY} -i~ -ne 'if ~%r:if /\^MD5 : then puts " if /^MD5 \\((.*)\\) = / =~ line"; else puts $$_; end' ${WRKSRC}/portsclean + do-install: cd ${WRKSRC} && ${RUBY} install.rb |