# Created by: Volker Stolz # $FreeBSD: head/devel/hs-alex/Makefile 566686 2021-02-27 10:46:06Z arrowd $ PORTNAME= alex PORTVERSION= 3.2.6 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Tool for generating lexical analysers in Haskell LICENSE= BSD3CLAUSE USES= cabal OPTIONS_DEFINE= EXAMPLES PORTEXAMPLES= Makefile *.x *.y post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .include