1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/lang/duktape/Makefile
2017-10-10 13:21:16 +00:00

29 lines
534 B
Makefile

# $FreeBSD$
PORTNAME= duktape
PORTVERSION= 2.2.0
CATEGORIES= lang devel
MASTER_SITES= http://duktape.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Embeddable Javascript engine
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= libedit tar:xz
MAKEFILE= Makefile.cmdline
ALL_TARGET= duk
PLIST_FILES= bin/duk
post-patch:
@${REINPLACE_CMD} -e "/history\.h/d ; s,readline/,editline/,g " \
${WRKSRC}/examples/cmdline/duk_cmdline.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/duk ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>