diff options
author | knu <knu@FreeBSD.org> | 2001-08-23 15:47:23 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-23 15:47:23 +0800 |
commit | 821654b5c7849d7637b591fe5bd58dcd5156fcf3 (patch) | |
tree | e1c98296ea9ec8f5ef1b24e93d77e2c698847f33 /sysutils/portupgrade | |
parent | ef863090330576a4b326417e4a89ae7df08ec068 (diff) | |
download | freebsd-ports-gnome-821654b5c7849d7637b591fe5bd58dcd5156fcf3.tar.gz freebsd-ports-gnome-821654b5c7849d7637b591fe5bd58dcd5156fcf3.tar.zst freebsd-ports-gnome-821654b5c7849d7637b591fe5bd58dcd5156fcf3.zip |
- Fix a typo.
Reported by: David M. Heller <dheller1@rochester.rr.com>
- Replace another occurrence of /usr/local with ${LOCALBASE}.
- Bump PORTREVISION.
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r-- | sysutils/portupgrade/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |