blob: ab4b4cc12eb1f2b4be539d833eb01bfbca5f6412 (
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
|
# Created by: 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
BROKEN= Does not configure
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
NO_STAGE= yes
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>
|