1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/avro-c/Makefile
Sunpoet Po-Chuan Hsieh 9af74e3545 Fix Requires: in avro-c.pc
- Bump PORTREVISION for package change

PR:		217310
Submitted by:	Alexander Shikov <a.shikov@itcons.net.ua>
2018-02-28 15:13:22 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= avro
PORTVERSION= 1.8.2
DISTVERSIONPREFIX= release-
PORTREVISION= 1
CATEGORIES= devel
PKGNAMESUFFIX= -c
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= C library for Apache Avro
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= fails to build: error: No atomic implementation
BROKEN_armv6= fails to build: error: No atomic implementation
BROKEN_armv7= fails to build: error: No atomic implementation
BROKEN_mips= fails to build: error: No atomic implementation
BROKEN_mips64= fails to build: error: No atomic implementation
BROKEN_sparc64= fails to build
LIB_DEPENDS= libjansson.so:devel/jansson \
libsnappy.so:archivers/snappy
USES= cmake pkgconfig
USE_LDCONFIG= yes
WRKSRC_SUBDIR= lang/c
GH_ACCOUNT= apache
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} '/SNAPPY_PKG/ s|libsnappy|snappy|; /add_subdirectory(docs)/d' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} '1 s|/bin/bash|/bin/sh|' ${WRKSRC}/version.sh
@${REINPLACE_CMD} 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/src/CMakeLists.txt
.include <bsd.port.mk>