ports/lang/ott/Makefile
2025-01-17 22:45:46 +01:00

33 lines
617 B
Makefile

PORTNAME= ott
DISTVERSION= 0.33
CATEGORIES= lang
MAINTAINER= domagoj.stolfa@cl.cam.ac.uk
COMMENT= Tool for writing definitions of programming languages and calculi
WWW= https://github.com/ott-lang/ott
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENCE
BUILD_DEPENDS= ${OCAMLFIND_DEPEND} \
ocaml-ocamlgraph>=0:math/ocaml-ocamlgraph
USES= gmake ocaml
USE_GITHUB= yes
GH_ACCOUNT= ott-lang
ALL_TARGET= world
PLIST_FILES= bin/ott
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USE_BINUTILS= yes
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/ott ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>