freebsd-ports/devel/yajl/Makefile
Mathieu Arnold c6457ffef4 Update ports in the [bcd]* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-06 15:16:53 +00:00

28 lines
519 B
Makefile

# $FreeBSD$
PORTNAME= yajl
PORTVERSION= 2.1.0
CATEGORIES= devel
MAINTAINER= ports@FreeBSD.org
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}
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>