diff options
author | taca <taca@pkgsrc.org> | 2004-11-28 04:54:36 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-11-28 04:54:36 +0000 |
commit | 555817d9710c5fe81a288f2e0fbe914bd9c61c7a (patch) | |
tree | 0d6f59dcf34811f66a24c2e6ff56c796ce5cc326 /www/ap-ruby | |
parent | 5defa8e4fb310de1430c08c4490eccbff1e79bbc (diff) | |
download | pkgsrc-555817d9710c5fe81a288f2e0fbe914bd9c61c7a.tar.gz |
Migrate ap-ruby to use new framework for Ruby packages.
Diffstat (limited to 'www/ap-ruby')
-rw-r--r-- | www/ap-ruby/Makefile | 51 | ||||
-rw-r--r-- | www/ap-ruby/PLIST | 34 |
2 files changed, 43 insertions, 42 deletions
diff --git a/www/ap-ruby/Makefile b/www/ap-ruby/Makefile index d4a743d481d..80a9d869a09 100644 --- a/www/ap-ruby/Makefile +++ b/www/ap-ruby/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2004/05/04 23:46:37 snj Exp $ +# $NetBSD: Makefile,v 1.18 2004/11/28 04:54:36 taca Exp $ # DISTNAME= mod_ruby-${VERSION} -PKGNAME= ap-${RUBY_PKGNAMEPREFIX}${VERSION} +PKGNAME= ap-${RUBY_PKGPREFIX}-${VERSION} CATEGORIES= www ruby MASTER_SITES= http://www.modruby.net/archive/ @@ -10,30 +10,20 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= http://www.modruby.net/ COMMENT= Apache module that embeds Ruby interpreter within -USE_BUILDLINK3= YES -USE_PKGINSTALL= YES -APACHE_MODULE= YES -DIST_SUBDIR= ruby -USE_RUBY= YES -RUBY_REQD= 1.6 -VERSION= 1.0.7 - -HAS_CONFIGURE= yes -CONFIGURE_SCRIPT= ./configure.rb -CONFIGURE_ARGS= --with-apxs="${APXS}" \ - --with-eruby-includes="${BUILDLINK_PREFIX.ruby-eruby}/include" \ - --with-eruby-libraries="${BUILDLINK_PREFIX.ruby-eruby}/lib" -INSTALL_TARGET= site-install - -FILES_SUBST+= RUBY_DOCDIR=${RUBY_DOCDIR} -FILES_SUBST+= RUBY_EXAMPLESDIR=${RUBY_EXAMPLESDIR} +CONFLICTS+= ap2-ruby* + +USE_BUILDLINK3= yes +USE_PKGINSTALL= yes +APACHE_MODULE= yes +VERSION= 1.0.7 +HAS_CONFIGURE= yes +INSTALL_TARGET= site-install +CONFIGURE_SCRIPT= ${RUBY} configure.rb +CONFIGURE_ARGS= --with-apxs="${APXS}" \ + --with-eruby-includes="${BUILDLINK_PREFIX.ruby-eruby}/include" \ + --with-eruby-libraries="${BUILDLINK_PREFIX.ruby-eruby}/lib" MESSAGE_SUBST+= RUBY_DOCDIR=${RUBY_DOCDIR} - DOCS= ChangeLog README.en README.ja -HTMLDOCS= classes.en.html directives.en.html faq.en.html \ - index.en.html install.en.html \ - classes.ja.jis.html directives.ja.jis.html faq.ja.jis.html \ - index.ja.jis.html install.ja.jis.html .include "../../mk/bsd.prefs.mk" @@ -48,19 +38,18 @@ post-build: ${WRKSRC}/examples/httpd.conf > ${WRKDIR}/mod_ruby.conf post-install: - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mod_ruby + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mod_ruby/html .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby .endfor -.for f in ${HTMLDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${RUBY_DOCDIR}/mod_ruby -.endfor + ${INSTALL_DATA} ${WRKSRC}/doc/*.rd ${RUBY_DOCDIR}/mod_ruby + ${INSTALL_DATA} ${WRKSRC}/doc/*.css ${RUBY_DOCDIR}/mod_ruby/html + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${RUBY_DOCDIR}/mod_ruby/html ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mod_ruby ${INSTALL_DATA} ${WRKDIR}/mod_ruby.conf ${RUBY_EXAMPLESDIR}/mod_ruby -.include "../../lang/ruby-base/Makefile.common" -.include "../../lang/ruby-base/buildlink3.mk" +.include "../../lang/ruby/modules.mk" .include "../../textproc/ruby-eruby/buildlink3.mk" +.include "../../textproc/ruby-rdtool/buildlink3.mk" .include "../../www/apache/buildlink3.mk" - .include "../../mk/bsd.pkg.mk" diff --git a/www/ap-ruby/PLIST b/www/ap-ruby/PLIST index 5884e187da7..98b56301979 100644 --- a/www/ap-ruby/PLIST +++ b/www/ap-ruby/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2004/03/11 16:32:03 taca Exp $ +@comment $NetBSD: PLIST,v 1.5 2004/11/28 04:54:36 taca Exp $ lib/httpd/mod_ruby.so ${RUBY_SITELIBDIR}/apache/erb-run.rb ${RUBY_SITELIBDIR}/apache/eruby-debug.rb @@ -11,16 +11,28 @@ ${RUBY_SITELIBDIR}/auto-reload.rb ${RUBY_DOCDIR}/mod_ruby/ChangeLog ${RUBY_DOCDIR}/mod_ruby/README.en ${RUBY_DOCDIR}/mod_ruby/README.ja -${RUBY_DOCDIR}/mod_ruby/classes.en.html -${RUBY_DOCDIR}/mod_ruby/classes.ja.jis.html -${RUBY_DOCDIR}/mod_ruby/directives.en.html -${RUBY_DOCDIR}/mod_ruby/directives.ja.jis.html -${RUBY_DOCDIR}/mod_ruby/faq.en.html -${RUBY_DOCDIR}/mod_ruby/faq.ja.jis.html -${RUBY_DOCDIR}/mod_ruby/index.en.html -${RUBY_DOCDIR}/mod_ruby/index.ja.jis.html -${RUBY_DOCDIR}/mod_ruby/install.en.html -${RUBY_DOCDIR}/mod_ruby/install.ja.jis.html +${RUBY_DOCDIR}/mod_ruby/classes.en.rd +${RUBY_DOCDIR}/mod_ruby/classes.ja.euc.rd +${RUBY_DOCDIR}/mod_ruby/directives.en.rd +${RUBY_DOCDIR}/mod_ruby/directives.ja.euc.rd +${RUBY_DOCDIR}/mod_ruby/faq.en.rd +${RUBY_DOCDIR}/mod_ruby/faq.ja.euc.rd +${RUBY_DOCDIR}/mod_ruby/html/classes.en.html +${RUBY_DOCDIR}/mod_ruby/html/classes.ja.jis.html +${RUBY_DOCDIR}/mod_ruby/html/default.css +${RUBY_DOCDIR}/mod_ruby/html/directives.en.html +${RUBY_DOCDIR}/mod_ruby/html/directives.ja.jis.html +${RUBY_DOCDIR}/mod_ruby/html/faq.en.html +${RUBY_DOCDIR}/mod_ruby/html/faq.ja.jis.html +${RUBY_DOCDIR}/mod_ruby/html/index.en.html +${RUBY_DOCDIR}/mod_ruby/html/index.ja.jis.html +${RUBY_DOCDIR}/mod_ruby/html/install.en.html +${RUBY_DOCDIR}/mod_ruby/html/install.ja.jis.html +@dirrm ${RUBY_DOCDIR}/mod_ruby/html +${RUBY_DOCDIR}/mod_ruby/index.en.rd +${RUBY_DOCDIR}/mod_ruby/index.ja.euc.rd +${RUBY_DOCDIR}/mod_ruby/install.en.rd +${RUBY_DOCDIR}/mod_ruby/install.ja.euc.rd @dirrm ${RUBY_DOCDIR}/mod_ruby ${RUBY_EXAMPLESDIR}/mod_ruby/mod_ruby.conf @dirrm ${RUBY_EXAMPLESDIR}/mod_ruby |