openbsd-ports/devel/alex/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

2010-11-15 14:45:56 -05:00
# $OpenBSD: Makefile,v 1.19 2010/11/15 19:45:56 espie Exp $
2010-04-22 17:48:30 -04:00
COMMENT = lexical analyser generator for Haskell
2010-09-12 07:22:20 -04:00
DISTNAME = alex-2.3.3
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
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c gmp 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}
2010-11-15 14:45:56 -05:00
BUILD_DEPENDS += textproc/docbook \
textproc/docbook-xsl \
textproc/libxslt
2010-11-15 14:45:56 -05:00
LIB_DEPENDS = devel/gmp
2010-06-15 13:59:24 -04:00
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
2010-04-22 17:48:30 -04:00
do-regress:
cd ${WRKBUILD}/tests && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} all
.include <bsd.port.mk>