ports/textproc/typst/Makefile
2024-05-27 23:34:32 +00:00

29 lines
551 B
Makefile

PORTNAME= typst
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.1
CATEGORIES= textproc
MAINTAINER= wen@FreeBSD.org
COMMENT= Markup-based typesetting system
WWW= https://typst.app/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo ssl
USE_GITHUB= yes
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
LTO_UNSAFE= yes
.endif
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/target/*/release/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>