mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
- Update to 1.4.1.1
- Import OPTIONS
This commit is contained in:
parent
cb49698f13
commit
24ddc72704
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254369
@ -6,14 +6,38 @@
|
||||
#
|
||||
|
||||
PORTNAME= SHA
|
||||
PORTVERSION= 1.4.0
|
||||
PORTVERSION= 1.4.1.1
|
||||
CATEGORIES= security haskell
|
||||
|
||||
MAINTAINER= haskell@FreeBSD.org
|
||||
COMMENT= Haskell Implementations of the SHA suite of message digest functions
|
||||
COMMENT= Haskell implementations of the SHA suite of message digest functions
|
||||
|
||||
CABAL_SETUP= Setup.hs
|
||||
|
||||
USE_HACKAGE= binary
|
||||
|
||||
OPTIONS= TEST "Build the SHA test suite" off \
|
||||
EXE "Build a SHA2-384 executable similar to 'md5sum'" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_TEST)
|
||||
CONFIGURE_ARGS+= --flags="Test"
|
||||
EXECUTABLE+= test_sha
|
||||
PLIST_SUB+= MAYBE_TEST=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --flags="-Test"
|
||||
PLIST_SUB+= MAYBE_TEST="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_EXE)
|
||||
CONFIGURE_ARGS+= --flags="exe"
|
||||
EXECUTABLE+= sha1 sha384
|
||||
PLIST_SUB+= MAYBE_EXE=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --flags="-exe"
|
||||
PLIST_SUB+= MAYBE_EXE="@comment "
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (SHA-1.4.0.tar.gz) = b89d52db97559b90246a534b1e66af20
|
||||
SHA256 (SHA-1.4.0.tar.gz) = 7f08042fddadd8e3795d627a042d1884b33e066ab67d03b6de92551a4ad9fc7d
|
||||
SIZE (SHA-1.4.0.tar.gz) = 2711278
|
||||
MD5 (SHA-1.4.1.1.tar.gz) = 51ac8cc9248a2eb162bf25a4db1f77ad
|
||||
SHA256 (SHA-1.4.1.1.tar.gz) = 8ecdc91679d1aa1d4050e1124cf5af79ae2ece66aee3b907e1078d71bf03169a
|
||||
SIZE (SHA-1.4.1.1.tar.gz) = 2713700
|
||||
|
@ -1,4 +1,7 @@
|
||||
@comment $FreeBSD$
|
||||
%%MAYBE_EXE%%bin/sha1
|
||||
%%MAYBE_EXE%%bin/sha384
|
||||
%%MAYBE_TEST%%bin/test_sha
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest/Pure/SHA.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
|
||||
|
Loading…
Reference in New Issue
Block a user