summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/ap-ruby/Makefile23
-rw-r--r--www/ap-ruby/PLIST8
-rw-r--r--www/ap-ruby/distinfo6
3 files changed, 20 insertions, 17 deletions
diff --git a/www/ap-ruby/Makefile b/www/ap-ruby/Makefile
index b1b68df3b78..91d6b9ac7e7 100644
--- a/www/ap-ruby/Makefile
+++ b/www/ap-ruby/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/07/01 14:56:31 taca Exp $
+# $NetBSD: Makefile,v 1.3 2002/01/19 10:20:12 taca Exp $
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.10 2000/12/31 10:14:53 knu Exp $
DISTNAME= mod_ruby-${VERSION}
@@ -16,7 +16,7 @@ DEPENDS+= ${RUBY_PKGNAMEPREFIX}eruby>=0.9:../../textproc/ruby-eruby
DIST_SUBDIR= ruby
USE_RUBY= yes
RUBY_REQD= 1.6
-VERSION= 0.8.5
+VERSION= 0.9.5
APXS= ${LOCALBASE}/sbin/apxs
@@ -26,8 +26,12 @@ CONFIGURE_ARGS= --with-apxs="${APXS}" \
--with-eruby-includes="${LOCALBASE}/include" \
--with-eruby-libraries="${LOCALBASE}/lib"
-DOCS_EN= ChangeLog README.en
-DOCS_JA= README.ja
+CONF_FILES= ${RUBY_EXAMPLESDIR}/mod_ruby/mod_ruby.conf \
+ ${LOCALBASE}/etc/httpd/mod_ruby.conf
+FILES_SUBST+= RUBY_DOCDIR=${RUBY_DOCDIR}
+FILES_SUBST+= RUBY_EXAMPLESDIR=${RUBY_EXAMPLESDIR}
+
+DOCS= ChangeLog README.en README.ja
post-build:
${SED} -e 's|/usr/local/apache/libexec|${LOCALBASE}/lib/httpd|g' \
@@ -35,14 +39,13 @@ post-build:
do-install:
${APXS} -i -A -n ruby ${WRKSRC}/mod_ruby.so
- ${INSTALL_DATA} ${WRKDIR}/mod_ruby.conf ${LOCALBASE}/etc/httpd
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mod_ruby/ja
-.for f in ${DOCS_EN}
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mod_ruby
+ ${INSTALL_DATA} ${WRKDIR}/mod_ruby.conf ${RUBY_EXAMPLESDIR}/mod_ruby
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mod_ruby
+.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby
.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby/ja
-.endfor
.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap-ruby/PLIST b/www/ap-ruby/PLIST
index 42045826513..5a87f82daed 100644
--- a/www/ap-ruby/PLIST
+++ b/www/ap-ruby/PLIST
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:15:57 zuntum Exp $
-etc/httpd/mod_ruby.conf
+@comment $NetBSD: PLIST,v 1.2 2002/01/19 10:20:12 taca Exp $
lib/httpd/mod_ruby.so
@exec %D/sbin/apxs -e -A -n ruby %D/%F
@unexec %D/sbin/apxs -e -A -n ruby %D/%F
${RUBY_DOCDIR}/mod_ruby/ChangeLog
${RUBY_DOCDIR}/mod_ruby/README.en
-${RUBY_DOCDIR}/mod_ruby/ja/README.ja
-@dirrm ${RUBY_DOCDIR}/mod_ruby/ja
+${RUBY_DOCDIR}/mod_ruby/README.ja
@dirrm ${RUBY_DOCDIR}/mod_ruby
+${RUBY_EXAMPLESDIR}/mod_ruby/mod_ruby.conf
+@dirrm ${RUBY_EXAMPLESDIR}/mod_ruby
diff --git a/www/ap-ruby/distinfo b/www/ap-ruby/distinfo
index 1606980b5a4..3b5c0ea131e 100644
--- a/www/ap-ruby/distinfo
+++ b/www/ap-ruby/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:13:48 taca Exp $
+$NetBSD: distinfo,v 1.2 2002/01/19 10:20:12 taca Exp $
-SHA1 (ruby/mod_ruby-0.8.5.tar.gz) = 529cb651ef27f5c90f134496ca8c3b98e2ef936c
-Size (ruby/mod_ruby-0.8.5.tar.gz) = 44917 bytes
+SHA1 (ruby/mod_ruby-0.9.5.tar.gz) = 5bdef67af3f20a953b8020c2e0ac3d85f8133663
+Size (ruby/mod_ruby-0.9.5.tar.gz) = 40733 bytes