summaryrefslogtreecommitdiff
path: root/databases/ruby-vapor
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 17:30:09 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 17:30:09 +0000
commit74f82c6e68e36c29d74b9a3def0a26b44e852fa1 (patch)
treefc7cd88e28551dd6ad7c165f325518d8f492a46b /databases/ruby-vapor
parent1b578cf5453fec16bd4274909b841bc9958ae018 (diff)
downloadpkgsrc-74f82c6e68e36c29d74b9a3def0a26b44e852fa1.tar.gz
DESTDIR support
Diffstat (limited to 'databases/ruby-vapor')
-rw-r--r--databases/ruby-vapor/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/ruby-vapor/Makefile b/databases/ruby-vapor/Makefile
index b1d49abbd82..afd0f45ae28 100644
--- a/databases/ruby-vapor/Makefile
+++ b/databases/ruby-vapor/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/10/19 15:32:14 tnn Exp $
+# $NetBSD: Makefile,v 1.22 2010/01/29 17:34:23 joerg Exp $
DISTNAME= vapor-0.81
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://vapor.rubyforge.org/
COMMENT= Ruby transparent persistence to postgresql
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= ${RUBY_PKGPREFIX}-dbd-pg>=0.0.20:../../databases/ruby-dbd-pg
USE_TOOLS= pax
@@ -25,7 +27,7 @@ CONFIGURE_ARGS+= --site-ruby-common=${PREFIX}/${RUBY_VENDORLIB_BASE} \
--so-dir==${PREFIX}/${RUBY_VENDORARCHLIB}
-INSTALLATION_DIRS= ${RUBY_DOC}/vapor
+INSTALLATION_DIRS= ${RUBY_DOC}/vapor ${RUBY_EG}
post-install:
cd ${WRKSRC}/doc; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_DOC}/vapor