1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/databases/ruby-oci8/Makefile
Philip M. Gollucci 8789a9f61c Ruby/OCI8 is a ruby interface for Oracle using OCI8 API.
PR:		ports/111501
Submitted by:	Simun Mikecin <numisemis at yahoo dot com>
2010-12-12 04:10:34 +00:00

43 lines
1.0 KiB
Makefile

# 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>