mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
62a6b3eebc
While here, pet portlint. Approved by: portmgr (tier-2 blanket)
32 lines
836 B
Makefile
32 lines
836 B
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= avro
|
|
PORTVERSION= 1.8.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.sai.msu.su/apache/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ \
|
|
APACHE/${PORTNAME}/stable
|
|
PKGNAMESUFFIX= -cpp
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
|
|
|
MAINTAINER= vg@FreeBSD.org
|
|
COMMENT= Data serialization system for C++
|
|
|
|
LIB_DEPENDS= libboost_regex.so:devel/boost-libs
|
|
|
|
USES= cmake python:build
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/lang/c++
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|COMMAND python|COMMAND "${PYTHON_CMD}"|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
@${REINPLACE_CMD} -e 's|BOOST_CHECKPOINT|BOOST_TEST_CHECKPOINT|' \
|
|
${WRKSRC}/test/SchemaTests.cc
|
|
@${REINPLACE_CMD} -e 's|BOOST_MESSAGE|BOOST_TEST_MESSAGE|' \
|
|
${WRKSRC}/test/buffertest.cc
|
|
|
|
.include <bsd.port.mk>
|