- Fix a typo.

Reported by:	David M. Heller <dheller1@rochester.rr.com>

- Replace another occurrence of /usr/local with ${LOCALBASE}.

- Bump PORTREVISION.
This commit is contained in:
Akinori MUSHA 2001-08-23 07:47:23 +00:00
parent d6cae5eecf
commit 7265c072b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46687
4 changed files with 20 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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