Line 0
Link Here
|
|
|
1 |
# Created by: loader@FreeBSD.org |
2 |
# $FreeBSD$ |
3 |
|
4 |
PORTNAME= lzma |
5 |
PORTVERSION= ${PYTHON_PORTVERSION} |
6 |
CATEGORIES= archivers python |
7 |
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
DISTNAME= Python-${PORTVERSION} |
10 |
DIST_SUBDIR= python |
11 |
|
12 |
MAINTAINER= python@FreeBSD.org |
13 |
COMMENT= Standard Python binding to the LZMA library (Python ${PYTHON_VER}) |
14 |
|
15 |
LICENSE= PSFL |
16 |
LICENSE_FILE= ${WRKDIR}/Python-${PORTVERSION}/LICENSE |
17 |
|
18 |
PORTSCOUT= ignore:1 |
19 |
|
20 |
USES= python:3.5 tar:xz |
21 |
USE_PYTHON= autoplist distutils |
22 |
|
23 |
DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo |
24 |
WRKSRC= ${WRKDIR}/Python-${PORTVERSION}/Modules |
25 |
|
26 |
PYDISTUTILS_INSTALLARGS+= --install-lib ${PYTHON_LIBDIR}/lib-dynload |
27 |
|
28 |
.include <bsd.port.pre.mk> |
29 |
|
30 |
post-extract: |
31 |
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/setup.py |
32 |
|
33 |
post-install: |
34 |
${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/lib-dynload/_lzma.so |
35 |
|
36 |
.include <bsd.port.post.mk> |