aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-12 13:41:26 +0800
committerknu <knu@FreeBSD.org>2001-08-12 13:41:26 +0800
commitd1a4a4c85a71f93c5ce889bcdf70c2f0047fde70 (patch)
tree92008efd70a3500f82581a1b5146b9f6dace6310 /devel
parent8de2717390fa00262eec649a78efc69029bcc396 (diff)
downloadfreebsd-ports-gnome-d1a4a4c85a71f93c5ce889bcdf70c2f0047fde70.tar.gz
freebsd-ports-gnome-d1a4a4c85a71f93c5ce889bcdf70c2f0047fde70.tar.zst
freebsd-ports-gnome-d1a4a4c85a71f93c5ce889bcdf70c2f0047fde70.zip
Update MASTER_SITES. Remove a no longer needed hack.
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