summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-06-07 21:28:39 +0000
committerminskim <minskim@pkgsrc.org>2006-06-07 21:28:39 +0000
commit4aacd2f915ffa036063f57b4ae2a12d38fc0dec8 (patch)
treea27be88eeb2627efdd20db8b879e0329ec73e7af /www
parent98d8232af23cf4c4668b93464f9852232837a3a9 (diff)
downloadpkgsrc-4aacd2f915ffa036063f57b4ae2a12d38fc0dec8.tar.gz
Fix check-interpreter errors and warnings.
Diffstat (limited to 'www')
-rw-r--r--www/ruby-actionpack/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/ruby-actionpack/Makefile b/www/ruby-actionpack/Makefile
index 21c46214c6c..8e25578d270 100644
--- a/www/ruby-actionpack/Makefile
+++ b/www/ruby-actionpack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/11/02 14:48:39 taca Exp $
+# $NetBSD: Makefile,v 1.4 2006/06/07 21:28:39 minskim Exp $
DISTNAME= actionpack-1.10.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -13,10 +13,15 @@ COMMENT= Two-step approach to web response generation
DEPENDS+= ${RUBY_PKGPREFIX}-activesupport-[0-9]*:../../devel/ruby-activesupport
NO_BUILD= yes
-NO_CONFIGURE= yes
USE_RUBY_INSTALL= yes
EXAMPLESDIR= ${RUBY_EXAMPLESDIR}/actionpack
+REPLACE_RUBY+= lib/action_controller/session/drb_server.rb
+REPLACE_RUBY+= examples/*.cgi examples/*.fcgi examples/*.rbx
+
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/replace.mk"
+
post-install:
${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/action_controller/support
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/actionpack
@@ -26,5 +31,4 @@ post-install:
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
${CHOWN} -R ${BINOWN}:${BINGRP} ${EXAMPLESDIR}
-.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"