summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/duktape-lib/Makefile20
-rw-r--r--lang/duktape-lib/distinfo6
-rw-r--r--lang/duktape-lib/pkg-plist8
3 files changed, 19 insertions, 15 deletions
diff --git a/lang/duktape-lib/Makefile b/lang/duktape-lib/Makefile
index 6338c8e85882..5c0884c20539 100644
--- a/lang/duktape-lib/Makefile
+++ b/lang/duktape-lib/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= duktape
-DISTVERSION= 2.4.0
+DISTVERSION= 2.5.0
CATEGORIES= lang devel
MASTER_SITES= https://duktape.org/
PKGNAMESUFFIX= -lib
@@ -18,13 +18,25 @@ USE_LDCONFIG= yes
MAKE_ARGS+= CC=${CC}
MAKEFILE= Makefile.sharedlibrary
+MAJOR= 205
+MINOR= 20500
+
+PLIST_FILES= include/duk_config.h \
+ include/duktape.h \
+ lib/libduktape.so \
+ lib/libduktape.so.${MAJOR} \
+ lib/libduktape.so.${MAJOR}.${MINOR} \
+ lib/libduktaped.so \
+ lib/libduktaped.so.${MAJOR} \
+ lib/libduktaped.so.${MAJOR}.${MINOR}
+
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}.204.20400 ${STAGEDIR}${PREFIX}/lib
- ${RLN} ${STAGEDIR}${PREFIX}/lib/${l}.204.20400 ${STAGEDIR}${PREFIX}/lib/${l}
- ${RLN} ${STAGEDIR}${PREFIX}/lib/${l}.204.20400 ${STAGEDIR}${PREFIX}/lib/${l}.204
+ ${INSTALL_LIB} ${WRKSRC}/${l}.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib
+ ${RLN} ${STAGEDIR}${PREFIX}/lib/${l}.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib/${l}
+ ${RLN} ${STAGEDIR}${PREFIX}/lib/${l}.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib/${l}.${MAJOR}
.endfor
.include <bsd.port.mk>
diff --git a/lang/duktape-lib/distinfo b/lang/duktape-lib/distinfo
index 09f9ea02b4d4..c65ac4e54aaa 100644
--- a/lang/duktape-lib/distinfo
+++ b/lang/duktape-lib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1564524546
-SHA256 (duktape-2.4.0.tar.xz) = 86a89307d1633b5cedb2c6e56dc86e92679fc34b05be551722d8cc69ab0771fc
-SIZE (duktape-2.4.0.tar.xz) = 1027744
+TIMESTAMP = 1575253869
+SHA256 (duktape-2.5.0.tar.xz) = 83d411560a1cd36ea132bd81d8d9885efe9285c6bc6685c4b71e69a0c4329616
+SIZE (duktape-2.5.0.tar.xz) = 1031188
diff --git a/lang/duktape-lib/pkg-plist b/lang/duktape-lib/pkg-plist
deleted file mode 100644
index 7ca5ad644ba1..000000000000
--- a/lang/duktape-lib/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-include/duk_config.h
-include/duktape.h
-lib/libduktape.so
-lib/libduktape.so.204
-lib/libduktape.so.204.20400
-lib/libduktaped.so
-lib/libduktaped.so.204
-lib/libduktaped.so.204.20400