freebsd-ports/databases/py-pytc/Makefile
Marcus von Appen e1555011ab - Convert ports from databases/ and deskutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-19 08:50:17 +00:00

24 lines
526 B
Makefile

# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
# $FreeBSD$
PORTNAME= pytc
PORTVERSION= 0.8
PORTREVISION= 7
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Tokyo Cabinet Python bindings
LIB_DEPENDS= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/setup.py
.include <bsd.port.post.mk>