openbsd-ports/devel/alex/Makefile

43 lines
952 B
Makefile
Raw Normal View History

2013-03-11 06:50:00 -04:00
# $OpenBSD: Makefile,v 1.28 2013/03/11 10:50:00 espie Exp $
2010-04-22 17:48:30 -04:00
COMMENT = lexical analyser generator for Haskell
2012-12-02 15:29:39 -05:00
DISTNAME = alex-3.0.2
2010-04-22 17:48:30 -04:00
CATEGORIES = devel
2010-04-22 17:48:30 -04:00
HOMEPAGE = http://www.haskell.org/alex/
2010-04-22 17:48:30 -04:00
# BSD3
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c m pthread util
2010-04-22 17:48:30 -04:00
MODULES = lang/ghc converters/libiconv
MODGHC_BUILD = cabal hackage nort
2010-04-22 17:48:30 -04:00
# Required for building the documentation:
USE_GMAKE = Yes
CONFIGURE_STYLE = autoconf no-autoheader
AUTOCONF_VERSION = 2.61
AUTOCONF_DIR = ${WRKSRC}/doc
WRKCONF = ${AUTOCONF_DIR}
2012-09-02 16:09:08 -04:00
BUILD_DEPENDS += devel/hs-QuickCheck>=2 \
textproc/docbook-xsl
post-extract:
@chmod -R a+r ${WRKSRC}
2010-04-22 17:48:30 -04:00
post-build:
@cd ${WRKBUILD}/doc && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc
cd ${WRKBUILD}/doc && umask 022 && pax -rw alex ${PREFIX}/share/doc
2013-03-11 06:50:00 -04:00
do-test:
2011-04-04 05:54:54 -04:00
cd ${WRKBUILD}/tests && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
2012-12-02 15:29:39 -05:00
all
2010-04-22 17:48:30 -04:00
.include <bsd.port.mk>