6d1908035c
HLint is a tool for suggesting possible improvements to Haskell code. These suggestions include ideas such as using alternative functions, simplifying code and spotting redundancies. feedback/ok kili@
34 lines
725 B
Makefile
34 lines
725 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2010/09/26 18:36:09 jasper Exp $
|
|
|
|
COMMENT= source code suggestions for Haskell
|
|
|
|
DISTNAME= hlint-1.8
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://community.haskell.org/~ndm/hlint/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c gmp m pthread util
|
|
|
|
MODULES= converters/libiconv \
|
|
lang/ghc
|
|
|
|
MODGHC_BUILD= cabal hackage haddock register
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= ::devel/cpphs,-lib \
|
|
:hscolour->=1.17:devel/hscolour \
|
|
::devel/hs-uniplate \
|
|
::lang/hs-haskell-src-exts
|
|
LIB_DEPENDS= ::devel/gmp
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/data/hlint.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|