1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/textproc/jshon/Makefile

34 lines
689 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= jshon
PORTVERSION= 20121210
2013-09-26 11:37:25 +00:00
PORTREVISION= 1
CATEGORIES= textproc
2013-12-16 20:29:02 +00:00
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= json parser for the shell.
LICENSE= MIT
2013-09-26 11:37:25 +00:00
LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson
2013-07-05 13:44:31 +00:00
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= keenerd
GH_COMMIT= b21bc98
GH_TAGNAME= ${GH_COMMIT}
CFLAGS+= -I${LOCALBASE}/include
2013-09-23 06:19:19 +00:00
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
post-patch:
@${REINPLACE_CMD} -e 's,-ljansson,-L${LOCALBASE}/lib -ljansson,g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>