2b6a2eb093
PR: 215106 Submitted by: gasol.wu@gmail.com(maintainer)
31 lines
740 B
Makefile
31 lines
740 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jsonnet
|
|
PORTVERSION= 0.9.0
|
|
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 -Iinclude
|
|
PLIST_FILES= bin/jsonnet include/libjsonnet.h lib/libjsonnet.so
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/include/lib${PORTNAME}.h ${STAGEDIR}${PREFIX}/include
|
|
${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|