freebsd-ports/devel/hs-happy/Makefile
2021-04-21 06:48:23 +02:00

27 lines
595 B
Makefile

# Created by: Simon Marlow <simonmar@microsoft.com>
PORTNAME= happy
PORTVERSION= 1.20.0
PORTREVISION= 1
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 <bsd.port.mk>