blob: c8d97b58254d6fffc5a0b430c9a253b12e815aaf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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>
|