1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/lang/duktape-lib/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

35 lines
975 B
Makefile

PORTNAME= duktape
DISTVERSION= 2.6.0
CATEGORIES= lang devel
MASTER_SITES= https://duktape.org/
PKGNAMESUFFIX= -lib
MAINTAINER= alfix86@gmail.com
COMMENT= Embeddable Javascript engine (shared lib)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= gmake tar:xz
USE_LDCONFIG= yes
MAKEFILE= Makefile.sharedlibrary
MAJOR= 206
MINOR= 20600
PLIST_FILES= include/duk_config.h \
include/duktape.h \
lib/libduktape.so \
lib/libduktape.so.${MAJOR} \
lib/libduktape.so.${MAJOR}.${MINOR}
do-install:
${INSTALL_DATA} ${WRKSRC}/src/duktape.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/src/duk_config.h ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib
${RLN} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib/libduktape.so
${RLN} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}
.include <bsd.port.mk>