mirror of
https://git.freebsd.org/ports.git
synced 2025-05-23 04:03:14 -04:00
- Enable python 3 support - Allow concurrent installation - Strip library PR: 223070 Submitted by: lbdm@privacychain.ch Approved by: maintainer timeout (che@bein.link, 2 weeks) Differential Revision: https://reviews.freebsd.org/D12702
26 lines
553 B
Makefile
26 lines
553 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= python-pcre
|
|
DISTVERSION= 0.7
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= che@bein.link
|
|
COMMENT= Python PCRE bindings
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libpcre.so:devel/pcre
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/site-packages/_pcre.so
|
|
|
|
.include <bsd.port.mk>
|