freebsd-ports/lang/duktape-lib/Makefile
Koichiro Iwao 562442e7e8 lang/duktape-lib: respect CC
PR:		233066
Submitted by:	myself
Approved by:	maintainer, mentors (implicit)
2018-11-12 14:54:44 +00:00

30 lines
806 B
Makefile

# $FreeBSD$
PORTNAME= duktape
DISTVERSION= 2.3.0
CATEGORIES= lang devel
MASTER_SITES= http://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
MAKE_ARGS+= CC=${CC}
MAKEFILE= Makefile.sharedlibrary
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}.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>