Changeset View
Changeset View
Standalone View
Standalone View
head/devel/hs-happy/Makefile
# Created by: Simon Marlow <simonmar@microsoft.com> | # Created by: Simon Marlow <simonmar@microsoft.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= happy | PORTNAME= happy | ||||
PORTVERSION= 1.19.10 | PORTVERSION= 1.19.10 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= devel haskell | CATEGORIES= devel haskell | ||||
MAINTAINER= haskell@FreeBSD.org | MAINTAINER= haskell@FreeBSD.org | ||||
COMMENT= Happy is a parser generator for Haskell | COMMENT= Happy is a parser generator for Haskell | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
USES= cabal | USES= cabal | ||||
PORTEXAMPLES= *.ly README glr/* igloo/* | PORTEXAMPLES= *.ly README glr/* igloo/* | ||||
OPTIONS_DEFINE= EXAMPLES | OPTIONS_DEFINE= EXAMPLES | ||||
post-install-EXAMPLES-on: | post-install-EXAMPLES-on: | ||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | ||||
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${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> | .include <bsd.port.mk> |