pkgsrc/devel/alex/Makefile
fhajny 4b1a91b905 Update devel/alex to 3.1.7. Fix configure env wrap.
Changes in 3.1.7:
- Add support for %encoding directive (allows to control --latin1
  from inside Alex scripts)
- Make code forward-compatible with in-progress proposals
- Suppress more warnings

Changes in 3.1.6:
- sdist for 3.1.5 was mis-generated, causing it to ask for Happy
  when building.

Changes in 3.1.5:
- Generate less warning-laden code, and suppress other warnings.
- Bug fixes.
2016-09-06 14:43:14 +00:00

24 lines
636 B
Makefile

# $NetBSD: Makefile,v 1.4 2016/09/06 14:43:14 fhajny Exp $
DISTNAME= alex-3.1.7
PKGNAME= ${DISTNAME}
CATEGORIES= devel
MAINTAINER= esg@sdf.lonestar.org
COMMENT= Tool for generating lexical analysers in Haskell
LICENSE= modified-bsd
USE_TOOLS+= autoconf
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
pre-configure:
cd ${WRKSRC}/doc && autoconf && ${PKGSRC_SETENV} ${CONFIGURE_ENV} \
${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} ./configure
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/alex.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/haskell.mk"
.include "../../devel/hs-QuickCheck/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"