stop other people wasting time on updates which should not be done. ian@ ran into this (while working on devel/hs-aeson and textproc/hs-attoparsec), and even I didn't notice before trying to build all Haskell ports (including meta/haskell-platform) with his diffs.
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.29 2014/06/19 18:58:01 kili Exp $
|
|
|
|
COMMENT= parser generator for Haskell
|
|
|
|
# Dependency of meta/haskell-platform.
|
|
# Please do *not* update without thinking.
|
|
DISTNAME= happy-1.18.10
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.haskell.org/happy/
|
|
|
|
# BSD3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= c m
|
|
|
|
MODULES= lang/ghc converters/libiconv
|
|
MODGHC_BUILD= cabal hackage nort
|
|
|
|
BUILD_DEPENDS+= devel/hs-mtl>=1.0 \
|
|
textproc/docbook-xsl
|
|
|
|
# Required for building the documentation and for the regression tests:
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
|
AUTOCONF_VERSION= 2.61
|
|
AUTOCONF_DIR= ${WRKSRC}/doc
|
|
WRKCONF= ${AUTOCONF_DIR}
|
|
|
|
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 happy ${PREFIX}/share/doc
|
|
|
|
do-test:
|
|
@cd ${WRKBUILD}/tests && exec ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} HAPPY=${WRKBUILD}/dist/build/happy/happy \
|
|
TEST_HAPPY_OPTS="-t ${WRKBUILD} --strict"
|
|
|
|
.include <bsd.port.mk>
|