1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/databases/ruby-oci8/Makefile

40 lines
963 B
Makefile

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