aboutsummaryrefslogtreecommitdiffstats
path: root/security/hs-SHA/Makefile
blob: b696fd0b73a97d3a27c2b7f61fb0d62d95ac8304 (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
33
34
35
36
# New ports collection makefile for: hs-SHA
# Date created:        January 8, 2010
# Whom:                Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   SHA
PORTVERSION=    1.5.0.1
PORTREVISION=   1
CATEGORIES= security haskell

MAINTAINER= haskell@FreeBSD.org
COMMENT=    Implementations of the SHA suite of message digest functions

LICENSE=    BSD

CABAL_SETUP=    Setup.hs

OPTIONS_DEFINE=     EXE

EXE_DESC=       Build a SHA2-384 executable similar to 'md5sum'

.include <bsd.port.options.mk>

CONFIGURE_ARGS+=    --flags="-Test"

.if ${PORT_OPTIONS:MEXE}
CONFIGURE_ARGS+=    --flags="exe"
EXECUTABLE+=        sha1 sha384
.else
CONFIGURE_ARGS+=    --flags="-exe"
.endif

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