From 9f5ecce4a3836e2bb04f7993aac54f8d83469579 Mon Sep 17 00:00:00 2001 From: knu Date: Mon, 4 Jun 2001 15:56:58 +0000 Subject: Update to 0.9.3. --- textproc/eruby/Makefile | 26 ++++++++++++++++---------- textproc/eruby/distinfo | 3 +-- textproc/eruby/pkg-plist | 10 +++++++++- 3 files changed, 26 insertions(+), 13 deletions(-) (limited to 'textproc') diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile index dc6eb606fe26..648517390f6a 100644 --- a/textproc/eruby/Makefile +++ b/textproc/eruby/Makefile @@ -6,40 +6,46 @@ # PORTNAME= eruby -PORTVERSION= 0.9.2 +PORTVERSION= 0.9.3 CATEGORIES= textproc www ruby MASTER_SITES= http://www.modruby.net/archive/ DIST_SUBDIR= ruby -PATCH_SITES= http://www.ruby-lang.org/~knu/ -PATCHFILES= ${DISTNAME}-2001.05.24.patch.gz -PATCH_DIST_STRIP= -p1 - MAINTAINER= knu@FreeBSD.org USE_RUBY= yes +.if !defined(NOPORTDOCS) +USE_RUBY_RD= yes +.endif -CONFIGURE_ARGS= --enable-shared --default-charset="${DEFAULT_CHARSET}" +CONFIGURE_ARGS= --enable-shared --with-charset="${DEFAULT_CHARSET}" INSTALLS_SHLIB= yes DEFAULT_CHARSET?= ISO-8859-1 MAN1= eruby.1 -DOCS_EN= ChangeLog README.en +DOCS_EN= COPYING ChangeLog README.en eruby.html eruby.rd DOCS_JA= README.ja do-configure: @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb ${CONFIGURE_ARGS} +post-build: +.if !defined(NOPORTDOCS) + cd ${WRKSRC}; ${RUBY_RD} eruby.rd > eruby.html +.endif + post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_DOCDIR}/eruby/ja + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ .endfor .for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby/ja/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/ .endfor .endif diff --git a/textproc/eruby/distinfo b/textproc/eruby/distinfo index 98e1e3c9b294..8c29dc4c8cb2 100644 --- a/textproc/eruby/distinfo +++ b/textproc/eruby/distinfo @@ -1,2 +1 @@ -MD5 (ruby/eruby-0.9.2.tar.gz) = b6706485ca5dc3992eb64dd0a0e25e23 -MD5 (ruby/eruby-0.9.2-2001.05.24.patch.gz) = 3ff503170fbd19f4c9a84c39d3e45a8b +MD5 (ruby/eruby-0.9.3.tar.gz) = 604ff0cc5141b44de016d2584f3c80f4 diff --git a/textproc/eruby/pkg-plist b/textproc/eruby/pkg-plist index 7e9102dadf29..d89e986c17bc 100644 --- a/textproc/eruby/pkg-plist +++ b/textproc/eruby/pkg-plist @@ -1,10 +1,18 @@ bin/eruby include/eruby.h -lib/liberuby.so.9 +lib/liberuby.so.09 lib/liberuby.so lib/liberuby.a +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/eruby/e2r.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/eruby/foo.rhtml +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/eruby/test.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/eruby/test.rhtml +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/eruby +%%PORTDOCS%%%%RUBY_DOCDIR%%/eruby/COPYING %%PORTDOCS%%%%RUBY_DOCDIR%%/eruby/ChangeLog %%PORTDOCS%%%%RUBY_DOCDIR%%/eruby/README.en +%%PORTDOCS%%%%RUBY_DOCDIR%%/eruby/eruby.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/eruby/eruby.rd %%PORTDOCS%%%%RUBY_DOCDIR%%/eruby/ja/README.ja %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/eruby/ja %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/eruby -- cgit