mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
447c80d90f
Submitted by: bento
41 lines
1000 B
Makefile
41 lines
1000 B
Makefile
# New ports collection makefile for: Ruby module for SQL Relay
|
|
# Date created: 2 July 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ${SQLRELAY_PORTNAME}
|
|
PORTVERSION= ${SQLRELAY_PORTVERSION}
|
|
CATEGORIES= databases ruby
|
|
MASTER_SITES= # none
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= A Ruby module to access to SQL Relay
|
|
|
|
EXTRACT_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch
|
|
LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR}
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
RUBY_EXTCONF_SUBDIRS= src/api/ruby
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
BUILD_WRKSRC= ${WRKSRC}/src/api/ruby
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
|
|
--with-ruby-prefix="${LOCALBASE}"
|
|
INSTALL_TARGET= site-install
|
|
|
|
.include "${.CURDIR}/../sqlrelay/Makefile.common"
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKDIR}
|
|
${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
|
|
${RM} -f ${WRKSRC}/config.cache
|
|
|
|
.include <bsd.port.mk>
|