summaryrefslogtreecommitdiff
path: root/devel/py-python-pcre/Makefile
blob: 59acafafe84a6282921dbae3abffd9c3b41cb5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $FreeBSD$

PORTNAME=	python-pcre
PORTVERSION=	0.6
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	che@bein.link
COMMENT=	Python PCRE bindings

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	pcre>=6.0:${PORTSDIR}/devel/pcre
LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre

USES=		python:2
USE_PYTHON=	autoplist distutils

post-patch:
	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py

.include <bsd.port.mk>