31 lines
672 B
Makefile
31 lines
672 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= certificate
|
|
PORTVERSION= 1.3.7
|
|
CATEGORIES= security haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Certificates and Key Reader/Writer
|
|
|
|
LICENSE= BSD
|
|
|
|
USE_CABAL= asn1-data>=0.7.1 crypto-pubkey-types>=0.3 cryptohash \
|
|
mtl pem>=0.1
|
|
|
|
OPTIONS_DEFINE= EXECUTABLE
|
|
|
|
EXECUTABLE_DESC= Build the executable
|
|
|
|
NO_STAGE= yes
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
|
|
|
|
.if ${PORT_OPTIONS:MEXECUTABLE}
|
|
CONFIGURE_ARGS+= --flags="executable"
|
|
USE_CABAL+= cmdargs text>=0.11 cryptocipher>=0.3.0
|
|
EXECUTABLE+= certificate
|
|
.else
|
|
CONFIGURE_ARGS+= --flags="-executable"
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
|
.include <bsd.port.mk>
|