mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
bd48d39657
Approved by: portmgr (myself)
43 lines
940 B
Makefile
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>
|