mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
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)
This commit is contained in:
parent
4083313579
commit
80881256b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484197
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user