Files
bsdports/devel/protobuf-c/Makefile
2021-06-02 14:01:43 +00:00

28 lines
653 B
Makefile

# Created by: Aaron Hurt <ahurt@anbcs.com>
# $FreeBSD: head/devel/protobuf-c/Makefile 487272 2018-12-12 01:35:33Z gerald $
PORTNAME= protobuf-c
PORTVERSION= 1.3.2
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= truckman@FreeBSD.org
COMMENT= Code generator and libraries to use Protocol Buffers from pure C
LIB_DEPENDS= libprotobuf.so:devel/protobuf
USES= autoreconf compiler:c++11-lang gmake
GNU_CONFIGURE= yes
USE_GITHUB= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
ALL_TARGET= all
INSTALL_TARGET= install-strip
.include <bsd.port.mk>