aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hs-citeproc-hs/Makefile
blob: e2e991bf76069093b884cf8303e0dd9742d68dbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for: hs-citeproc-hs
# Date created:        May 14, 2010
# Whom:                Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   citeproc-hs
PORTVERSION=    0.2
CATEGORIES= textproc haskell

MAINTAINER= haskell@FreeBSD.org
COMMENT=    A Citation Style Language implementation in Haskell

USE_HACKAGE=    hxt>=8.1

PORTDATA=   *

OPTIONS=    BIBUTILS "Use Chris Putnam's Bibutils" off

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.include <bsd.port.options.mk>

.if defined(WITH_BIBUTILS)
CONFIGURE_ARGS+=    --flags="bibutils"
USE_HACKAGE+=       hs-bibutils
.else
CONFIGURE_ARGS+=    --flags="-bibutils"
.endif

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>