mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
30 lines
537 B
Makefile
30 lines
537 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= yajl
|
|
PORTVERSION= 2.1.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Portable JSON parsing and serialization library in ANSI C
|
|
|
|
LICENSE= ISCL
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= lloyd
|
|
GH_COMMIT= 66cb08c
|
|
|
|
CFLAGS+= -g -O0
|
|
|
|
USE_LDCONFIG= yes
|
|
USES= cmake:outsource
|
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
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>
|