freebsd-ports/devel/jsonnet/Makefile
Pawel Pekala 839a71b6bf Jsonnet is a domain specific configuration language that helps you define JSON
data. Jsonnet lets you compute fragments of JSON within the structure, bringing
the same benefit to structured data that templating languages bring to plain
text. The example below illustrates a few features -- referring to another part
of the structure, overriding object fields, and string operations.

WWW: https://github.com/google/jsonnet

PR:		200671
Submitted by:	Gasol Wu <gasol.wu@gmail.com>
2015-10-28 17:41:45 +00:00

31 lines
722 B
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= jsonnet
PORTVERSION= 0.7.6
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= gasol.wu@gmail.com
COMMENT= JSON data templating language
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= google
USES= compiler:c++11-lib gmake
USE_CXXSTD= c++11
USE_LDCONFIG= yes
ALL_TARGET= jsonnet libjsonnet.so
CXXFLAGS+= -fPIC
PLIST_FILES= bin/jsonnet include/libjsonnet.h lib/libjsonnet.so
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/lib${PORTNAME}.h ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>