summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-12 05:41:26 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-12 05:41:26 +0000
commit7ce5e709fa1db9acc5950ac708dbd0b88988bca7 (patch)
tree3fc6688aff4cffa4f94bc8ea04fbc07dcbf304d5 /devel
parentUtilize the PORTNAME variable. (diff)
Update MASTER_SITES. Remove a no longer needed hack.
Notes
Notes: svn path=/head/; revision=46107
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-strscan/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/devel/ruby-strscan/Makefile b/devel/ruby-strscan/Makefile
index 76baae3316e9..727cbf5cca31 100644
--- a/devel/ruby-strscan/Makefile
+++ b/devel/ruby-strscan/Makefile
@@ -8,10 +8,7 @@
PORTNAME= strscan
PORTVERSION= 0.6.3
CATEGORIES= devel ruby
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://www9.xdsl.ne.jp/~aamine/soft/ \
- http://www.xdsl.ne.jp/Cd/aamine/soft/
-MASTER_SITE_SUBDIR= knu
+MASTER_SITES= http://www.loveruby.net/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
@@ -28,17 +25,14 @@ DOCS_JA= README.ja \
doc.ja/changes.html doc.ja/index.html \
doc.ja/reference.html doc.ja/usage.html
-post-patch:
- ${RUBY} -i -pe "gsub /'ARCH'/, %q/'arch'/" ${WRKSRC}/setup.rb
-
-do-install:
+post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_DOCDIR}/strscan/ja
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/strscan/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/strscan/ja/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
.endif