Nuno Teixeira 26d6e4a87a textproc/libfyaml: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-22 22:05:27 +00:00

33 lines
826 B
Makefile

PORTNAME= libfyaml
DISTVERSION= 0.9
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= https://github.com/pantoniou/libfyaml/releases/download/v${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= YAML parser and emitter
WWW= https://github.com/pantoniou/libfyaml
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= git:devel/git \
bash:shells/bash
USES= gmake libtool shebangfix # will change to cmake soon
USE_LDCONFIG= yes
SHEBANG_FILES= test/testemitter.test
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
INSTALL_TARGET= install-strip
TEST_TARGET= check # one test fails, see https://github.com/pantoniou/libfyaml/issues/103
post-patch:
@${GREP} -rl "#include <alloca\\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -E "s|#include <alloca\\.h>|#include <stdlib.h>|"
.include <bsd.port.mk>