mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Update to 1.1.0
Use libedit from ports instead of libreadline
This commit is contained in:
parent
ce179c4f7e
commit
4c7f530152
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377210
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user