diff options
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 6 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 6 | ||||
-rw-r--r-- | sysutils/portupgrade-devel/Makefile | 6 | ||||
-rw-r--r-- | sysutils/portupgrade/Makefile | 6 |
4 files changed, 20 insertions, 4 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index 8fb3e616228b..11e74a58ba61 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20010823 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://www.iDaemons.org/distfiles/ @@ -49,7 +50,10 @@ DOCS= ChangeLog README EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} post-patch: - ${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb +.for f in pkgdb.rb pkgtools.rb + ${RUBY} -i~ -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/${f} +.endfor + ${RUBY} -i~ -pe 'sub %r:(PORTS_DBDIR = .* )PORTSDIR$$:, "\\1PORTS_DIR"' ${WRKSRC}/portsdb.rb do-install: cd ${WRKSRC} && ${RUBY} install.rb diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 8fb3e616228b..11e74a58ba61 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20010823 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://www.iDaemons.org/distfiles/ @@ -49,7 +50,10 @@ DOCS= ChangeLog README EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} post-patch: - ${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb +.for f in pkgdb.rb pkgtools.rb + ${RUBY} -i~ -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/${f} +.endfor + ${RUBY} -i~ -pe 'sub %r:(PORTS_DBDIR = .* )PORTSDIR$$:, "\\1PORTS_DIR"' ${WRKSRC}/portsdb.rb do-install: cd ${WRKSRC} && ${RUBY} install.rb diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile index 8fb3e616228b..11e74a58ba61 100644 --- a/sysutils/portupgrade-devel/Makefile +++ b/sysutils/portupgrade-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20010823 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://www.iDaemons.org/distfiles/ @@ -49,7 +50,10 @@ DOCS= ChangeLog README EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} post-patch: - ${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb +.for f in pkgdb.rb pkgtools.rb + ${RUBY} -i~ -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/${f} +.endfor + ${RUBY} -i~ -pe 'sub %r:(PORTS_DBDIR = .* )PORTSDIR$$:, "\\1PORTS_DIR"' ${WRKSRC}/portsdb.rb do-install: cd ${WRKSRC} && ${RUBY} install.rb diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile index 8fb3e616228b..11e74a58ba61 100644 --- a/sysutils/portupgrade/Makefile +++ b/sysutils/portupgrade/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20010823 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://www.iDaemons.org/distfiles/ @@ -49,7 +50,10 @@ DOCS= ChangeLog README EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} post-patch: - ${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb +.for f in pkgdb.rb pkgtools.rb + ${RUBY} -i~ -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/${f} +.endfor + ${RUBY} -i~ -pe 'sub %r:(PORTS_DBDIR = .* )PORTSDIR$$:, "\\1PORTS_DIR"' ${WRKSRC}/portsdb.rb do-install: cd ${WRKSRC} && ${RUBY} install.rb |