1a75cb1d44
- 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
29 lines
585 B
Makefile
29 lines
585 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= SHA
|
|
PORTVERSION= 1.6.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= security haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Implementations of the SHA suite of message digest functions
|
|
|
|
LICENSE= BSD
|
|
|
|
OPTIONS_DEFINE= EXE
|
|
|
|
EXE_DESC= Build a SHA2-384 executable similar to 'md5sum'
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.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>
|