pkgsrc-wip/c2hs/Makefile
Thomas Klausner 18dbec4419 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:39 +00:00

35 lines
880 B
Makefile

# $NetBSD: Makefile,v 1.5 2009/05/20 00:58:40 thomasklausner Exp $
#
DISTNAME= c2hs-0.14.5
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
MAINTAINER= emil@math.su.se
HOMEPAGE= http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
COMMENT= C->Haskell, an Interface Generator for Haskell
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
do-configure:
cd ${WRKSRC:Q} && \
runhaskell Setup.hs configure \
--ghc \
--prefix=${PREFIX:Q} \
--with-compiler=${PREFIX:Q}/bin/ghc \
--with-hc-pkg=${PREFIX:Q}/bin/ghc-pkg
do-build:
cd ${WRKSRC:Q} && runhaskell Setup.hs build
do-install:
cd ${WRKSRC:Q} && runhaskell Setup.hs install
post-install:
${INSTALL_DATA_DIR} ${EGDIR:Q}
cd ${WRKSRC:Q}/c2hs/tests && ${INSTALL_DATA} * ${EGDIR:Q}
.include "../../lang/ghc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"