opnsense-ports/devel/rubygem-oj313/Makefile
Franco Fichtner c7fad71ac0 */*: sync with upstream
Taken from: FreeBSD
2023-05-30 10:59:29 +02:00

24 lines
584 B
Makefile

PORTNAME= oj
PORTVERSION= 3.13.23
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 313
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fast JSON parser and serializer
WWW= https://www.ohler.com/oj/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gem
PORTSCOUT= limit:^3\.13\.
# TODO: find a better way to do this
# Install all header files, some of them are required by devel/rubygem-oj-introspect
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext/oj
${INSTALL_DATA} ${WRKSRC}/ext/oj/*.h ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext/oj/
.include <bsd.port.mk>