1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/databases/py-sqlite3/Makefile
Martin Wilke bd48d39657 - Chase database/sqlite3 slib bump
Approved by:	portmgr (myself)
2014-06-27 17:21:06 +00:00

43 lines
940 B
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= sqlite3
PORTVERSION= ${PYTHON_PORTVERSION}
PORTREVISION= 4
CATEGORIES= databases python
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PYTHON_DISTNAME}
MAINTAINER= python@FreeBSD.org
COMMENT= Standard Python binding to the SQLite3 library
LICENSE= PSFL
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
PORTSCOUT= ignore:1
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USES= tar:xz
DIST_SUBDIR= python
DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo
WRKSRC= ${PYTHON_WRKSRC}/Modules
PYDISTUTILS_INSTALLARGS+= --install-lib ${PYTHON_LIBDIR}/lib-dynload
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.pre.mk>
post-extract:
.if ${PYTHON_REL} < 300
@${CP} ${FILESDIR}/setup.py ${WRKSRC}
.else
@${CP} ${FILESDIR}/setup3.py ${WRKSRC}/setup.py
.endif
.include <bsd.port.post.mk>