Changes: * Backport: allow array and hash query parameters. Array route parameters are converted/to/a/path as before. * Demote Hash#to_xml to use XmlSimple#xml_in_string so it can't read files or stdin. * Document Object#blank?. * Update Dependencies to ignore constants inherited from ancestors. * Improved multibyte performance by relying less on exception raising
34 lines
1 KiB
Makefile
34 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2007/10/16 02:56:02 minskim Exp $
|
|
|
|
DISTNAME= activesupport-1.4.4
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://rubyforge.org/frs/download.php/26548/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://rubyforge.org/projects/activesupport/
|
|
COMMENT= Collection of classes and extensions for Rails
|
|
|
|
NO_BUILD= yes
|
|
NO_CONFIGURE= yes
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
pre-install:
|
|
${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f
|
|
|
|
do-install:
|
|
${CP} -R ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}
|
|
${CHOWN} -R ${LIBOWN}:${LIBGRP} ${RUBY_SITELIBDIR}/active_support*
|
|
${FIND} ${RUBY_SITELIBDIR}/active_support -type d \
|
|
-exec ${CHMOD} ${PKGDIRMODE} {} \;
|
|
${FIND} ${RUBY_SITELIBDIR}/active_support* -type f \
|
|
-exec ${CHMOD} ${LIBMODE} {} \;
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/active_support
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGELOG \
|
|
${RUBY_DOCDIR}/active_support
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${RUBY_DOCDIR}/active_support
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|