Date: Thu, 11 Oct 2018 02:19:45 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481779 - in head/lang/duktape: . files Message-ID: <201810110219.w9B2Jj9i038882@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Thu Oct 11 02:19:45 2018 New Revision: 481779 URL: https://svnweb.freebsd.org/changeset/ports/481779 Log: lang/duktape: Update to 2.3.0 PR: 232139 Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> (maintainer) Modified: head/lang/duktape/Makefile (contents, props changed) head/lang/duktape/distinfo (contents, props changed) head/lang/duktape/files/patch-Makefile.cmdline (contents, props changed) Modified: head/lang/duktape/Makefile ============================================================================== --- head/lang/duktape/Makefile Thu Oct 11 02:16:16 2018 (r481778) +++ head/lang/duktape/Makefile Thu Oct 11 02:19:45 2018 (r481779) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= duktape -PORTVERSION= 2.2.1 +PORTVERSION= 2.3.0 CATEGORIES= lang devel MASTER_SITES= http://duktape.org/ @@ -11,18 +11,22 @@ COMMENT= Embeddable Javascript engine LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= libedit tar:xz +USES= 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 +PORTDOCS= README.rst +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/duk ${STAGEDIR}${PREFIX}/bin + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/lang/duktape/distinfo ============================================================================== --- head/lang/duktape/distinfo Thu Oct 11 02:16:16 2018 (r481778) +++ head/lang/duktape/distinfo Thu Oct 11 02:19:45 2018 (r481779) @@ -1,3 +1,3 @@ -TIMESTAMP = 1524915777 -SHA256 (duktape-2.2.1.tar.xz) = 3abe2eed2553305262b892c98f550bb1a94cf4fd73b51dc5c176fe08e7ade7f2 -SIZE (duktape-2.2.1.tar.xz) = 966496 +TIMESTAMP = 1539010714 +SHA256 (duktape-2.3.0.tar.xz) = ed6e2f3ab2061628a7aeee27ccff16538ba6a151480cccf2e846bd061e45afe8 +SIZE (duktape-2.3.0.tar.xz) = 997572 Modified: head/lang/duktape/files/patch-Makefile.cmdline ============================================================================== --- head/lang/duktape/files/patch-Makefile.cmdline Thu Oct 11 02:16:16 2018 (r481778) +++ head/lang/duktape/files/patch-Makefile.cmdline Thu Oct 11 02:19:45 2018 (r481779) @@ -1,15 +1,11 @@ ---- Makefile.cmdline.orig 2017-09-23 01:06:08 UTC +--- Makefile.cmdline.orig 2018-10-08 14:59:26 UTC +++ Makefile.cmdline -@@ -8,9 +8,9 @@ DUKTAPE_SOURCES = src/duktape.c +@@ -8,7 +8,7 @@ DUKTAPE_SOURCES = src/duktape.c CMDLINE_SOURCES = \ examples/cmdline/duk_cmdline.c --CC = gcc --CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer --CCOPTS += -I./examples/cmdline -I./src # duktape.h and duk_config.h must be in include path -+CC ?= gcc -+CCOPTS = ${CFLAGS} -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer -+CCOPTS += -I./examples/cmdline -I./src ${CPPFLAGS} # duktape.h and duk_config.h must be in include path - CCLIBS = -lm - - # Enable print() and alert() for command line using an optional extra module. +-CC = gcc ++CC = cc + CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer + CCOPTS += -I./examples/cmdline -I./src # duktape.h and duk_config.h must be in include path + CCLIBS = -lm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810110219.w9B2Jj9i038882>