blob: 8a8401e5e01330f2a52f1208d99fd9d5c9fe6fa0 (
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
37
38
39
40
|
# $NetBSD: Makefile,v 1.24 2010/09/10 04:58:14 taca Exp $
DISTNAME= vapor-0.81
PKGREVISION= 8
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
LICENSE= gnu-gpl-v2 OR ruby-license
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= ruby[1-9][0-9]-vapor-*
DEPENDS+= ${RUBY_PKGPREFIX}-dbd-pg>=0.0.20:../../databases/ruby-dbd-pg
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 ${RUBY_EG}
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"
|