freebsd-ports/textproc/jshon/Makefile
Jimmy Olgeni 22d7896c17 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories T-V.

CR:		D509
Approved by:	portmgr (antoine)
2014-08-03 14:15:08 +00:00

33 lines
688 B
Makefile

# $FreeBSD$
PORTNAME= jshon
PORTVERSION= 20121210
PORTREVISION= 3
CATEGORIES= textproc
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= json parser for the shell
LICENSE= MIT
LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= keenerd
GH_COMMIT= b21bc98
GH_TAGNAME= ${GH_COMMIT}
CFLAGS+= -I${LOCALBASE}/include
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>