1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/lang/quickjs/Makefile
Stefan Eßer 023cf2b724 lang/quickjs: Add CPE information
Approved by:	portmgr (blanket)
2021-10-19 13:14:31 +02:00

28 lines
604 B
Makefile

PORTNAME= quickjs
DISTVERSION= 2021.03.27
CATEGORIES= lang devel
MASTER_SITES= https://bellard.org/${PORTNAME}/
DISTNAME= ${PORTNAME}-${DISTVERSION:S/./-/g}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Embeddable Javascript interpreter in C
LICENSE= MIT
USES= compiler:c11 cpe gmake tar:xz
CPE_VENDOR= ${PORTNAME}_project
EXTRA_PATCHES= ${FILESDIR}/extra-${CHOSEN_COMPILER_TYPE}-patch-Makefile
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
.include <bsd.port.post.mk>