30 lines
693 B
Makefile
30 lines
693 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= backports.csv
|
|
PORTVERSION= 1.0.7
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Backport of Python 3 csv module
|
|
|
|
LICENSE= PSFL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>0:devel/py-backports@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
USE_PYTHON= autoplist distutils
|
|
USES= python:2.7
|
|
|
|
POST_PLIST= trim-backports-namespace
|
|
|
|
post-install:
|
|
@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py*
|
|
|
|
trim-backports-namespace:
|
|
@${REINPLACE_CMD} '/backports\/__init__.py*/d' ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|