23d59ed72e
packaged for wip by esg. Happy is a parser generator for Haskell. Given a grammar specification in BNF, Happy generates Haskell code to parse the grammar. Happy works in a similar way to the yacc tool for C.
23 lines
549 B
Makefile
23 lines
549 B
Makefile
# $NetBSD: Makefile,v 1.1 2015/01/08 11:50:54 szptvlfn Exp $
|
|
|
|
DISTNAME= happy-1.19.5
|
|
PKGNAME= ${DISTNAME}
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= esg@sdf.lonestar.org
|
|
COMMENT= Happy is a parser generator for Haskell
|
|
LICENSE= modified-bsd
|
|
|
|
USE_TOOLS+= autoconf
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC}/doc && autoconf && ./configure
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/happy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/haskell.mk"
|
|
.include "../../devel/hs-mtl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|