# Created by: Simon Marlow # $FreeBSD: head/devel/hs-happy/Makefile 566699 2021-02-27 12:55:32Z arrowd $ PORTNAME= happy PORTVERSION= 1.20.0 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Parser generator for Haskell LICENSE= BSD3CLAUSE USES= cabal PORTEXAMPLES= *.ly README glr/* igloo/* OPTIONS_DEFINE= EXAMPLES post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} $$(find ${WRKSRC} -name 'HappyTemplate*') ${STAGEDIR}${DATADIR} .include