freebsd-ports/databases/py-sqlrelay/Makefile
Tijl Coosemans 1d4b5dd574 Remove some unneeded patches and other bits so USES=autoreconf can be
removed (avoids a problem with upcoming devel/libtool update)

PR:		194068
2014-10-03 12:05:43 +00:00

39 lines
980 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= ${SQLRELAY_PORTNAME}
PORTVERSION= ${SQLRELAY_PORTVERSION}
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= # none
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= # none
MAINTAINER= ports@FreeBSD.org
COMMENT= Python modules to access to SQL Relay
EXTRACT_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch
LIB_DEPENDS= libsqlrclient.so:${SQLRELAY_PORTDIR}
USES= gmake perl5 python
USE_PERL5= build patch
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/src/api/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
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}
post-patch:
${PERL} -i -p \
-e 's,"2\.4" "2\.3" "2\.2" "2\.1",${PYTHON_VERSION:S/^python//},g;' \
${WRKSRC}/configure
.include <bsd.port.mk>