blob: bc77fecd1dffdc263ff00be6a5b943f042f6895e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.20 2008/06/19 14:46:07 taca Exp $
DISTNAME= vapor-0.81
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION= 6
CATEGORIES= databases ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/215/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://vapor.rubyforge.org/
COMMENT= Ruby transparent persistence to postgresql
DEPENDS+= ${RUBY_PKGPREFIX}-DBD-postgresql>=0.0.20:../../databases/ruby-DBD-postgresql
USE_TOOLS= pax
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
REPLACE_RUBY= doc/examples/university/createperson \
doc/examples/university/createuni \
doc/examples/university/employment \
doc/examples/university/enroll
CONFIGURE_ARGS+= --site-ruby-common=${PREFIX}/${RUBY_VENDORLIB_BASE} \
--site-ruby=${PREFIX}/${RUBY_VENDORLIB} \
--so-dir==${PREFIX}/${RUBY_VENDORARCHLIB}
INSTALLATION_DIRS= ${RUBY_DOC}/vapor
post-install:
cd ${WRKSRC}/doc; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_DOC}/vapor
${LN} -s ${DESTDIR}${PREFIX}/${RUBY_DOC}/vapor ${DESTDIR}${PREFIX}/${RUBY_EG}/vapor
.include "../../lang/ruby/modules.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|