Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2018 15:48:42 +0000 (UTC)
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484197 - in head/lang/duktape-lib: . files
Message-ID:  <201811051548.wA5Fmg5G063134@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: meta
Date: Mon Nov  5 15:48:42 2018
New Revision: 484197
URL: https://svnweb.freebsd.org/changeset/ports/484197

Log:
  lang/duktape-lib: Update to 2.3.0
  
  While here,
  * add USES=gmake, new Makefile.sharedlibrary uses "gnu make" syntax
  
  PR:		232138
  Submitted by:	Alfonso S. Siciliano <alfix86@gmail.com>
  Approved by:	mentors (implicit)

Modified:
  head/lang/duktape-lib/Makefile
  head/lang/duktape-lib/distinfo
  head/lang/duktape-lib/files/patch-Makefile.sharedlibrary
  head/lang/duktape-lib/pkg-plist

Modified: head/lang/duktape-lib/Makefile
==============================================================================
--- head/lang/duktape-lib/Makefile	Mon Nov  5 15:18:54 2018	(r484196)
+++ head/lang/duktape-lib/Makefile	Mon Nov  5 15:48:42 2018	(r484197)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	duktape
-DISTVERSION=	2.2.1
+DISTVERSION=	2.3.0
 CATEGORIES=	lang devel
 MASTER_SITES=	http://duktape.org/
 PKGNAMESUFFIX=	-lib
@@ -12,7 +12,7 @@ COMMENT=	Embeddable Javascript engine (shared lib)
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		tar:xz
+USES=		gmake tar:xz
 USE_LDCONFIG=	yes
 
 MAKEFILE=	Makefile.sharedlibrary
@@ -21,9 +21,9 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/src/duktape.h ${STAGEDIR}${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/src/duk_config.h ${STAGEDIR}${PREFIX}/include
 .for l in libduktape.so libduktaped.so
-	${INSTALL_LIB} ${WRKSRC}/${l}.202.20201 ${STAGEDIR}${PREFIX}/lib
-	${RLN} ${STAGEDIR}${PREFIX}/lib/${l}.202.20201 ${STAGEDIR}${PREFIX}/lib/${l}
-	${RLN} ${STAGEDIR}${PREFIX}/lib/${l}.202.20201 ${STAGEDIR}${PREFIX}/lib/${l}.202
+	${INSTALL_LIB} ${WRKSRC}/${l}.203.20300 ${STAGEDIR}${PREFIX}/lib
+	${RLN} ${STAGEDIR}${PREFIX}/lib/${l}.203.20300 ${STAGEDIR}${PREFIX}/lib/${l}
+	${RLN} ${STAGEDIR}${PREFIX}/lib/${l}.203.20300 ${STAGEDIR}${PREFIX}/lib/${l}.203
 .endfor
 
 .include <bsd.port.mk>

Modified: head/lang/duktape-lib/distinfo
==============================================================================
--- head/lang/duktape-lib/distinfo	Mon Nov  5 15:18:54 2018	(r484196)
+++ head/lang/duktape-lib/distinfo	Mon Nov  5 15:48:42 2018	(r484197)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1524915862
-SHA256 (duktape-2.2.1.tar.xz) = 3abe2eed2553305262b892c98f550bb1a94cf4fd73b51dc5c176fe08e7ade7f2
-SIZE (duktape-2.2.1.tar.xz) = 966496
+TIMESTAMP = 1539089786
+SHA256 (duktape-2.3.0.tar.xz) = ed6e2f3ab2061628a7aeee27ccff16538ba6a151480cccf2e846bd061e45afe8
+SIZE (duktape-2.3.0.tar.xz) = 997572

Modified: head/lang/duktape-lib/files/patch-Makefile.sharedlibrary
==============================================================================
--- head/lang/duktape-lib/files/patch-Makefile.sharedlibrary	Mon Nov  5 15:18:54 2018	(r484196)
+++ head/lang/duktape-lib/files/patch-Makefile.sharedlibrary	Mon Nov  5 15:48:42 2018	(r484197)
@@ -1,16 +1,11 @@
---- Makefile.sharedlibrary.orig	2017-09-23 01:06:08 UTC
+--- Makefile.sharedlibrary.orig	2018-10-09 12:58:18 UTC
 +++ Makefile.sharedlibrary
-@@ -44,11 +44,11 @@ all: libduktape.so.$(REAL_VERSION) libdu
- # to $INSTALL_PREFIX/include on installation.
+@@ -52,7 +52,7 @@ INSTALL_PREFIX = /usr/local
+ DUKTAPE_SRCDIR = ./src
+ #DUKTAPE_SRCDIR = ./src-noline
  
- libduktape.so.$(REAL_VERSION):
--	gcc -shared -fPIC -Wall -Wextra -Os -Wl,-soname,libduktape.so.$(SONAME_VERSION) \
-+	$(CC) -shared $(CFLAGS) -fPIC -Wall -Wextra -Wl,-soname,libduktape.so.$(SONAME_VERSION) \
- 		-o $@ $(DUKTAPE_SRCDIR)/duktape.c
+-CC = gcc
++CC = cc
  
- libduktaped.so.$(REAL_VERSION):
--	gcc -shared -fPIC -g -Wall -Wextra -Os -Wl,-soname,libduktaped.so.$(SONAME_VERSION) \
-+	$(CC) -shared $(CFLAGS) -fPIC -Wall -Wextra -Wl,-soname,libduktaped.so.$(SONAME_VERSION) \
- 		-o $@ $(DUKTAPE_SRCDIR)/duktape.c
- 
- # Symlinks depend on platform conventions.
+ .PHONY: all
+ all: libduktape.$(SO_REALNAME_SUFFIX) libduktaped.$(SO_REALNAME_SUFFIX)

Modified: head/lang/duktape-lib/pkg-plist
==============================================================================
--- head/lang/duktape-lib/pkg-plist	Mon Nov  5 15:18:54 2018	(r484196)
+++ head/lang/duktape-lib/pkg-plist	Mon Nov  5 15:48:42 2018	(r484197)
@@ -1,8 +1,8 @@
 include/duk_config.h
 include/duktape.h
 lib/libduktape.so
-lib/libduktape.so.202
-lib/libduktape.so.202.20201
+lib/libduktape.so.203
+lib/libduktape.so.203.20300
 lib/libduktaped.so
-lib/libduktaped.so.202
-lib/libduktaped.so.202.20201
+lib/libduktaped.so.203
+lib/libduktaped.so.203.20300



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811051548.wA5Fmg5G063134>