1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/devel/py-avro/Makefile
Vanilla I. Shu c0646a89dd Add py-avro 1.7.3, data serialization system for python.
PR:		ports/175565
Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>
2013-02-01 12:54:00 +00:00

30 lines
750 B
Makefile

# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$
PORTNAME= avro
PORTVERSION= 1.7.3
CATEGORIES= devel
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= ${PORTNAME}/stable
PKGNAMEPREFIX= py-
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= g.veniamin@googlemail.com
COMMENT= Data serialization system for python
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/simplejson/__init__.py:${PORTSDIR}/devel/py-simplejson
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/simplejson/__init__.py:${PORTSDIR}/devel/py-simplejson
USE_PYDISTUTILS= easy_install
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/lang/py
.include <bsd.port.pre.mk>
pre-configure:
${REINPLACE_CMD} 's|@AVRO_VERSION@|${PORTVERSION}|g' \
${WRKSRC}/setup.py
.include <bsd.port.post.mk>