1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/security/hs-RSA/Makefile
Gabor Pali 1a75cb1d44 - Stagify lang/ghc and all the Haskell Cabal ports
- Update HACKAGE_SITE to follow changes in upstream
- MAKE_ENV now sets LC_ALL and DESTDIR for Haskell Cabal ports
- Further minor cosmetical changes: replace USE_GMAKE with USES, get rid of
  ${DO_NADA}, some refactoring

Obtained from:	FreeBSD Haskell
2014-01-09 21:32:12 +00:00

38 lines
830 B
Makefile

# $FreeBSD$
PORTNAME= RSA
PORTVERSION= 1.2.2.0
PORTREVISION= 5
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Implementation of RSA, using the padding schemes of PKCS#1 v2.1
LICENSE= BSD
USE_CABAL= crypto-api>=0.10 crypto-pubkey-types>=0.2 monadcryptorandom SHA
OPTIONS_DEFINE= MD5 BINARY
OPTIONS_DEFAULT= MD5 BINARY
MD5_DESC= Include support for using MD5
BINARY_DESC= Use the binary package for serialization
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.if ${PORT_OPTIONS:MMD5}
CONFIGURE_ARGS+= --flags="IncludeMD5"
USE_CABAL+= pureMD5
.else
CONFIGURE_ARGS+= --flags="-IncludeMD5"
.endif
.if ${PORT_OPTIONS:MBINARY}
CONFIGURE_ARGS+= --flags="UseBinary"
.else
CONFIGURE_ARGS+= --flags="-UseBinary"
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>