1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/databases/py-sqlrelay/Makefile
Pawel Pekala 0fdf155fce - Update devel/rudiments to 0.43 [1]
- Add support for STAGEDIR [1]

- Update databases/sqlrelay to 0.52 (fixes build with new devel/rudiments)
- Remove leading article from COMMENT
- Add support for STAGEDIR
- Remove GTK1 option - no longer available feature
- Rename INTERBASE option to FIREBIRD (globally defined)
- Rename SQLITE2 to SQLITE3 as dependency changed to databases/sqlite3
- Use options substitutions, sort plist

PR:		ports/181880 [1]
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-10-28 22:01:40 +00:00

48 lines
1.2 KiB
Makefile

# Created by: 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= ports@FreeBSD.org
COMMENT= Python modules to access to SQL Relay
EXTRACT_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch
LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR}
USE_PYTHON= yes
USES= perl5
USE_PERL5= build patch
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/src/api/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREADINCLUDES="${PTHREAD_CFLAGS}" \
PTHREADLIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
--with-python-prefix="${LOCALBASE}"
.include "${.CURDIR}/../sqlrelay/Makefile.common"
.include <bsd.port.pre.mk>
do-extract:
${MKDIR} ${WRKDIR}
${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
${RM} -f ${WRKSRC}/config.cache
post-patch:
${PERL} -i -p \
-e 's,"2\.4" "2\.3" "2\.2" "2\.1",${PYTHON_VERSION:S/^python//},g;' \
${WRKSRC}/configure
${CP} ${TEMPLATES}/config.sub ${WRKSRC}
${CP} ${TEMPLATES}/config.guess ${WRKSRC}
.include <bsd.port.post.mk>