blob: e8e3ec427b07563d312914b7850db8d06de2acc2 (
plain) (
blame)
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
41
42
|
# New ports collection makefile for: ruby-oci8
# Date created: 10 April 2007
# Whom: Simun Mikecin <numisemis at yahoo dot com>
#
# $FreeBSD$
#
PORTNAME= oci8
DISTVERSION= 1.0.0rc1
CATEGORIES= databases ruby
MASTER_SITES= RF
MASTER_SITE_SUBDIR=ruby-oci8
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${DISTVERSION:S/rc/-rc/}
DIST_SUBDIR= ruby
MAINTAINER= numisemis@yahoo.com
COMMENT= Ruby interface to Oracle OCI8
BUILD_DEPENDS= ${LOCALBASE}/oracle8-client/lib/libclntsh.a:${PORTSDIR}/databases/oracle8-client
RUN_DEPENDS= ${LOCALBASE}/oracle8-client/lib/libclntsh.a:${PORTSDIR}/databases/oracle8-client
MAKE_JOBS_UNSAFE= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
RUBY_EXTCONF_SUBDIRS= ext/oci8
CONFIGURE_ARGS= --with-instant-client="${LOCALBASE}/oracle8-client/lib"
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog README
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>
|