aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-11 10:07:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-11 10:07:05 +0000
commit68b126ec35200d35c0552224158293c49a9492d2 (patch)
tree0f948bf0380f024d77ebdce9e37876004c8f7064 /sysutils
parent22d14000a56aaaf6fff38301370ef8173417a08d (diff)
downloadports-68b126ec35200d35c0552224158293c49a9492d2.tar.gz
ports-68b126ec35200d35c0552224158293c49a9492d2.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/portupgrade-devel/Makefile3
-rw-r--r--sysutils/portupgrade/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile
index 16fb600aa621..34478d947f6b 100644
--- a/sysutils/portupgrade-devel/Makefile
+++ b/sysutils/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
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile
index 16fb600aa621..34478d947f6b 100644
--- a/sysutils/portupgrade/Makefile
+++ b/sysutils/portupgrade/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