8896345626
while here: - replace PKGNAMEPREFIX with PYTHON_PKGNAMEPREFIX - move pkg-plist contents to PLIST_FILES - using of bsd.port.pre|post.mk isn't needed here PR: 177580 Submitted by: Veniamin Gvozdikov <g.veanimin@googlemail.com> (maintainer)
28 lines
700 B
Makefile
28 lines
700 B
Makefile
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= avro
|
|
PORTVERSION= 1.7.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.sai.msu.su/apache/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ \
|
|
APACHE
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/stable
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
|
|
|
MAINTAINER= g.veniamin@googlemail.com
|
|
COMMENT= Data serialization system for python
|
|
|
|
USE_PYDISTUTILS= easy_install
|
|
USE_PYTHON= yes
|
|
|
|
PLIST_FILES= bin/avro \
|
|
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/lang/py
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} 's|@AVRO_VERSION@|${PORTVERSION}|g' \
|
|
${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|