PORTNAME= domain-name PORTVERSION= 0.4.0 DISTVERSIONPREFIX= v CATEGORIES= devel PKGNAMEPREFIX= ocaml- MAINTAINER= freebsd@dev.thsi.be COMMENT= OCaml library for representing RFC 1035 Internet domain names WWW= https://github.com/hannesm/domain-name LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= ocaml:dune USE_GITHUB= yes GH_ACCOUNT= hannesm USE_OCAML= yes OPTIONS_DEFINE= DOCS DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= CHANGES.md LICENSE.md README.md post-patch: @${REINPLACE_CMD} \ -e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \ ${WRKSRC}/dune-project post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/domain-name/domain_name.cmxs .include