2001-07-06 10:24:50 +00:00
|
|
|
# New ports collection makefile for: Python 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 python
|
|
|
|
MASTER_SITES= # none
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTFILES= # none
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:52:56 +00:00
|
|
|
COMMENT= Python modules to access to SQL Relay
|
2001-07-06 10:24:50 +00:00
|
|
|
|
2003-03-11 09:04:52 +00:00
|
|
|
EXTRACT_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch
|
2001-07-06 10:24:50 +00:00
|
|
|
LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR}
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src/api/python
|
|
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
|
|
|
|
--with-python-prefix="${LOCALBASE}"
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../sqlrelay/Makefile.common"
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKDIR}
|
|
|
|
${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
|
2002-02-23 19:56:02 +00:00
|
|
|
${RM} -f ${WRKSRC}/config.cache
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${PERL} -i -p \
|
|
|
|
-e 's,"1\.5" "1\.6" "2\.0" "2\.1",${PYTHON_VERSION:S/^python//},g;' \
|
|
|
|
${WRKSRC}/configure
|
2001-07-06 10:24:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|