freebsd-ports/security/hs-certificate/Makefile
Gabor Pali db8a630740 - Teach the Haskell Cabal ports to use the new options framework
- Remove some cruft

Obtained from:	FreeBSD Haskell
2012-08-03 02:30:07 +00:00

37 lines
808 B
Makefile

# New ports collection makefile for: hs-certificate
# Date created: December 26, 2011
# Whom: haskell@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= certificate
PORTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Certificates and Key Reader/Writer
LICENSE= BSD
CABAL_SETUP= Setup.hs
USE_CABAL= asn1-data>=0.6.1.3 crypto-pubkey-types>=0.1 mtl pem>=0.1
OPTIONS_DEFINE= EXECUTABLE
EXECUTABLE_DESC= Build the executable
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXECUTABLE}
CONFIGURE_ARGS+= --flags="executable"
USE_CABAL+= cmdargs text>=0.11 cryptohash cryptocipher>=0.3.0
EXECUTABLE+= certificate
.else
CONFIGURE_ARGS+= --flags="-executable"
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>