diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-strscan/Makefile | 16 |
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 |