diff options
Diffstat (limited to 'lang/duktape/Makefile')
-rw-r--r-- | lang/duktape/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/duktape/Makefile b/lang/duktape/Makefile new file mode 100644 index 00000000000..c550505aabc --- /dev/null +++ b/lang/duktape/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2016/05/05 03:59:48 agc Exp $ + +DISTNAME= duktape-1.5.0 +CATEGORIES= devel +MASTER_SITES= http://duktape.org/ +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://duktape.org/ +COMMENT= Embeddable Javascript engine +LICENSE= mit + +do-build: + (cd ${WRKSRC} && \ + ${CC} ${CFLAGS} examples/cmdline/duk_cmdline.c \ + -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lduktape -lm -o duk) + +do-install: + mkdir -p ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/duk ${DESTDIR}${PREFIX}/bin + +.include "../../lang/libduktape/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" |