1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/devel/yajl/Makefile
Luca Pizzamiglio 21215bc725 devel/yajl: Take maintainership
PR:		226095
Submitted by:	Greg Fitzgerald <gregf@hugops.pw>
2018-02-22 15:39:25 +00:00

31 lines
545 B
Makefile

# $FreeBSD$
PORTNAME= yajl
PORTVERSION= 2.1.0
CATEGORIES= devel
MAINTAINER= gregf@hugops.pw
COMMENT= Portable JSON parsing and serialization library in ANSI C
LICENSE= ISCL
USE_GITHUB= yes
GH_ACCOUNT= lloyd
CFLAGS+= -g -O0
USE_LDCONFIG= yes
USES= cmake:outsource
PLIST_SUB= VERSION=${PORTVERSION}
TEST_TARGET= test test-api
post-patch:
@${REINPLACE_CMD} -e "s,share/pkgconfig,libdata/pkgconfig,g" \
${WRKSRC}/src/CMakeLists.txt
@${REINPLACE_CMD} -e 's|include/yajl|include|' \
${WRKSRC}/src/yajl.pc.cmake
.include <bsd.port.mk>