# New ports collection makefile for: hs-utf8-string-ghc # Date created: 2008-10-21 # Whom: Ashish Shukla # # $FreeBSD: ports/devel/hs-utf8-string-ghc/Makefile,v 1.6 2010/01/06 17:53:45 pgj Exp $ # PORTNAME= utf8-string PORTVERSION= 0.3.6 CATEGORIES= devel haskell MASTER_SITES= ${MASTER_SITES_HACKAGE} PKGNAMEPREFIX= hs- PKGNAMESUFFIX= -ghc MAINTAINER= wahjava@gmail.com COMMENT= Support for reading/writing UTF8 strings for Haskell programs USE_GHC= true USE_CABAL= true CABAL_SETUP= Setup.lhs # utf8-string don't really depends on following dependencies, they're # there just to demonstrate the USE_HACKAGE and USE_HACKAGE_RUNTIME # variables. USE_HACKAGE_RUNTIME= ghc-paths USE_HACKAGE= ghc-paths:>=0.1.0.5 HTTP UTF8STR_VERSION= ${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} UTF8STR_LIBDIR_REL= lib/${DISTNAME} PLIST_SUB= GHC_VERSION=${GHC_VERSION} \ UTF8STR_VERSION=${UTF8STR_VERSION} \ UTF8STR_LIBDIR_REL=${UTF8STR_LIBDIR_REL} .if defined(NOPORTDOCS) PLIST_SUB+= NOPORTDOCS="" .else PLIST_SUB+= NOPORTDOCS="@comment " .endif .include "../../lang/ghc/Makefile.haskell" .include