Files
ports/lang/quickjs/Makefile
T
Sergey A. Osokin b95fb1127e lang/quickjs: update to 2026.06.04
PR:		295896
Approved by:	yuri (maintainer, timeout >2 weeks)

Sponsored by:	tipi.work
2026-07-01 10:49:14 -04:00

34 lines
676 B
Makefile

PORTNAME= quickjs
DISTVERSION= 2026.06.04
CATEGORIES= lang devel
MASTER_SITES= https://bellard.org/${PORTNAME}/
DISTNAME= ${PORTNAME}-${DISTVERSION:S/./-/g}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Embeddable Javascript interpreter in C
WWW= https://bellard.org/quickjs/
LICENSE= MIT
USES= compiler:c11 cpe gmake tar:xz
USE_LDCONFIG= yes
CPE_VENDOR= ${PORTNAME}_project
CONFLICTS= quickjs-ng
TEST_TARGET= test
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
post-patch:
@${REINPLACE_CMD} -e 's/%%GCC_DEFAULT%%/${GCC_DEFAULT}/' \
${WRKSRC}/Makefile
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libquickjs.so
.include <bsd.port.post.mk>