summaryrefslogtreecommitdiff
path: root/devel/ruby-activesupport/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-activesupport/Makefile')
-rw-r--r--devel/ruby-activesupport/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/devel/ruby-activesupport/Makefile b/devel/ruby-activesupport/Makefile
index 06fe30d0d1f..2f780a684c7 100644
--- a/devel/ruby-activesupport/Makefile
+++ b/devel/ruby-activesupport/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/02/09 06:18:27 minskim Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 17:45:37 jlam Exp $
DISTNAME= activesupport-2.0.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/activesupport/
COMMENT= Collection of classes and extensions for Rails
+PKG_DESTDIR_SUPPORT= destdir
+
NO_BUILD= yes
NO_CONFIGURE= yes
@@ -19,16 +21,17 @@ pre-install:
${FIND} ${WRKSRC} -name \*.orig -exec ${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 \
+ ${INSTALL_LIB_DIR} ${DESTDIR}${RUBY_SITELIBDIR}
+ ${CP} -R ${WRKSRC}/lib/* ${DESTDIR}${RUBY_SITELIBDIR}
+ ${CHOWN} -R ${LIBOWN}:${LIBGRP} ${DESTDIR}${RUBY_SITELIBDIR}/active_support*
+ ${FIND} ${DESTDIR}${RUBY_SITELIBDIR}/active_support -type d \
-exec ${CHMOD} ${PKGDIRMODE} {} \;
- ${FIND} ${RUBY_SITELIBDIR}/active_support* -type f \
+ ${FIND} ${DESTDIR}${RUBY_SITELIBDIR}/active_support* -type f \
-exec ${CHMOD} ${LIBMODE} {} \;
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/active_support
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/active_support
${INSTALL_DATA} ${WRKSRC}/CHANGELOG \
- ${RUBY_DOCDIR}/active_support
+ ${DESTDIR}${RUBY_DOCDIR}/active_support
${INSTALL_DATA} ${WRKSRC}/README \
- ${RUBY_DOCDIR}/active_support
+ ${DESTDIR}${RUBY_DOCDIR}/active_support
.include "../../mk/bsd.pkg.mk"