svn commit: r377210 - in head/lang/duktape: . files
Baptiste Daroussin
bapt at FreeBSD.org
Sat Jan 17 01:46:20 UTC 2015
Author: bapt
Date: Sat Jan 17 01:46:19 2015
New Revision: 377210
URL: https://svnweb.freebsd.org/changeset/ports/377210
QAT: https://qat.redports.org/buildarchive/r377210/
Log:
Update to 1.1.0
Use libedit from ports instead of libreadline
Modified:
head/lang/duktape/Makefile
head/lang/duktape/distinfo
head/lang/duktape/files/patch-Makefile.cmdline
Modified: head/lang/duktape/Makefile
==============================================================================
--- head/lang/duktape/Makefile Sat Jan 17 01:37:59 2015 (r377209)
+++ head/lang/duktape/Makefile Sat Jan 17 01:46:19 2015 (r377210)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= duktape
-PORTVERSION= 1.0.2
+PORTVERSION= 1.1.0
CATEGORIES= lang devel
MASTER_SITES= http://duktape.org/
@@ -11,19 +11,24 @@ COMMENT= Embeddable Javascript engine
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= readline tar:xz
+USES= tar:xz
+LIB_DEPENDS= libedit.so.0:${PORTSDIR}/devel/libedit
MAKEFILE= Makefile.cmdline
ALL_TARGET= #
PLIST_FILES= bin/duk
-# for readline
+# for libedit
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -I${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= CC="${CC}"
+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
Modified: head/lang/duktape/distinfo
==============================================================================
--- head/lang/duktape/distinfo Sat Jan 17 01:37:59 2015 (r377209)
+++ head/lang/duktape/distinfo Sat Jan 17 01:46:19 2015 (r377210)
@@ -1,2 +1,2 @@
-SHA256 (duktape-1.0.2.tar.xz) = 916f4ae8f8a679c4cd976ca8442d3e863205bb858e6e8483997f4fa0f487b784
-SIZE (duktape-1.0.2.tar.xz) = 428588
+SHA256 (duktape-1.1.0.tar.xz) = 15faf9778f919844440665568088462cee5a876bb0b54f63484485b73506aa69
+SIZE (duktape-1.1.0.tar.xz) = 460312
Modified: head/lang/duktape/files/patch-Makefile.cmdline
==============================================================================
--- head/lang/duktape/files/patch-Makefile.cmdline Sat Jan 17 01:37:59 2015 (r377209)
+++ head/lang/duktape/files/patch-Makefile.cmdline Sat Jan 17 01:46:19 2015 (r377210)
@@ -14,7 +14,7 @@
-#CCOPTS += -DDUK_CMDLINE_FANCY
-#CCLIBS += -lreadline
+CCOPTS += -DDUK_CMDLINE_FANCY
-+CCLIBS += ${LDFLAGS} -lreadline
++CCLIBS += ${LDFLAGS} -ledit
#CCLIBS += -lncurses
# Optional feature defines, see: http://duktape.org/guide.html#compiling
More information about the svn-ports-head
mailing list