diff options
-rw-r--r-- | textproc/ruby-erb/Makefile | 14 | ||||
-rw-r--r-- | textproc/ruby-erb/distinfo | 2 | ||||
-rw-r--r-- | textproc/ruby-erb/pkg-plist | 10 |
3 files changed, 8 insertions, 18 deletions
diff --git a/textproc/ruby-erb/Makefile b/textproc/ruby-erb/Makefile index 75a9b3873226..89e9db4bb3e4 100644 --- a/textproc/ruby-erb/Makefile +++ b/textproc/ruby-erb/Makefile @@ -6,7 +6,7 @@ # PORTNAME= erb -PORTVERSION= 1.3.3 +PORTVERSION= 1.4.0 CATEGORIES= textproc ruby MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -18,20 +18,16 @@ USE_RUBY= yes NO_BUILD= yes -post-extract: - ${MKDIR} ${WRKSRC}/sample/ja - ${MV} ${WRKSRC}/sample/sample.rhtml ${WRKSRC}/sample/ja - post-patch: - ${RUBY} -i -pe '$$. == 1 and $$_ = "#!${RUBY}\n" + $$_' \ - ${WRKSRC}/lib/erb/erb.rb + ${RUBY} -i -pe '$$. == 1 and $$_ = "#!${RUBY}\n" + $$_' ${WRKSRC}/lib/erb/erb.rb do-install: @cd ${WRKSRC}; \ ${RUBY} install.rb - ${LN} -s ${RUBY_SITELIBDIR}/erb/erb.rb ${PREFIX}/bin/erb + ${LN} -sf ${RUBY_SITELIBDIR}/erb/erb.rb ${PREFIX}/bin/erb .if !defined(NOPORTDOCS) - ${CP} -R ${WRKSRC}/sample ${RUBY_EXAMPLESDIR}/erb/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_DOCDIR}/${PORTNAME}/ .endif .include <bsd.port.mk> diff --git a/textproc/ruby-erb/distinfo b/textproc/ruby-erb/distinfo index cb51a70875ae..089fd485d134 100644 --- a/textproc/ruby-erb/distinfo +++ b/textproc/ruby-erb/distinfo @@ -1 +1 @@ -MD5 (ruby/erb-1.3.3.tar.gz) = c32910a629f69546dc491e4ce235d433 +MD5 (ruby/erb-1.4.0.tar.gz) = 2643abf5ed73dfb8fcfae15f4ee1141c diff --git a/textproc/ruby-erb/pkg-plist b/textproc/ruby-erb/pkg-plist index a26ce2a4d180..bd8f50bbf247 100644 --- a/textproc/ruby-erb/pkg-plist +++ b/textproc/ruby-erb/pkg-plist @@ -7,11 +7,5 @@ bin/erb %%RUBY_SITELIBDIR%%/erb/main.rb %%RUBY_SITELIBDIR%%/erb/strio.rb @dirrm %%RUBY_SITELIBDIR%%/erb -%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/cgi_test.rhtml -%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/dot.htaccess -%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/erbux.rb -%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/err.rhtml -%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/succ.rhtml -%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/ja/sample.rhtml -%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/erb/ja -%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/erb +%%PORTDOCS%%%%RUBY_DOCDIR%%/erb/ChangeLog +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/erb |