mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
This package provides efficient cryptographic hash implementations for
strict and lazy bytestrings for the functional programming language Haskell. WWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/digest Reviewed by: gabor Approved by: tabthorpe
This commit is contained in:
parent
95f83d9f19
commit
da4ace3067
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226745
@ -185,6 +185,7 @@
|
||||
SUBDIR += hmap
|
||||
SUBDIR += horde-jeta
|
||||
SUBDIR += hostsentry
|
||||
SUBDIR += hs-digest-ghc
|
||||
SUBDIR += httprint
|
||||
SUBDIR += hunch
|
||||
SUBDIR += hydra
|
||||
|
55
security/hs-digest-ghc/Makefile
Normal file
55
security/hs-digest-ghc/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# New ports collection makefile for: hs-digest-ghc
|
||||
# Date created: January 22, 2009
|
||||
# Whom: Gabor Pali <pgj@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= digest
|
||||
PORTVERSION= 0.0.0.2
|
||||
CATEGORIES= security haskell
|
||||
MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
|
||||
PKGNAMEPREFIX= hs-
|
||||
PKGNAMESUFFIX= -ghc
|
||||
|
||||
MAINTAINER= haskell@FreeBSD.org
|
||||
COMMENT= Efficient cryptographic hash implementations in Haskell
|
||||
|
||||
BUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc
|
||||
RUN_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc
|
||||
|
||||
GHC_VERSION= 6.8.3
|
||||
CABALCMD= ${LOCALBASE}/bin/runghc Setup.hs
|
||||
CABALDIR= lib/ghc-${GHC_VERSION}/cabal
|
||||
|
||||
SUBDIR= lib/${PORTNAME}-${PORTVERSION}
|
||||
PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
|
||||
PORTNAME=${PORTNAME} \
|
||||
PORTVERSION=${PORTVERSION} \
|
||||
SUBDIR=${CABALDIR}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
|
||||
PORTDOCS= LICENSE html
|
||||
|
||||
CONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${PREFIX}/${CABALDIR} --libsubdir='' --datasubdir=''
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
|
||||
PLIST_SUB+= RMLIC="@comment "
|
||||
.else
|
||||
PLIST_SUB+= RMLIC=""
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${WRKSRC} && ${CABALCMD} haddock
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${CABALCMD} install
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${CABALDIR}/${PORTNAME}-register.sh
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/hs-digest-ghc/distinfo
Normal file
3
security/hs-digest-ghc/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (digest-0.0.0.2.tar.gz) = c093bf8ba6b0e94492e125d2aae710e1
|
||||
SHA256 (digest-0.0.0.2.tar.gz) = f91066f0f1c3b7b0126e8bbcf774d8a1d3f4fa78cd28693411cda7a37172b8ac
|
||||
SIZE (digest-0.0.0.2.tar.gz) = 44339
|
5
security/hs-digest-ghc/pkg-descr
Normal file
5
security/hs-digest-ghc/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
This package provides efficient cryptographic hash implementations for
|
||||
strict and lazy bytestrings for the functional programming language
|
||||
Haskell.
|
||||
|
||||
WWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/digest
|
13
security/hs-digest-ghc/pkg-plist
Normal file
13
security/hs-digest-ghc/pkg-plist
Normal file
@ -0,0 +1,13 @@
|
||||
%%SUBDIR%%/Data/Digest/Adler32.hi
|
||||
%%SUBDIR%%/Data/Digest/CRC32.hi
|
||||
%%SUBDIR%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
|
||||
%%SUBDIR%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
|
||||
%%SUBDIR%%/%%PORTNAME%%-register.sh
|
||||
%%RMLIC%%%%DOCSDIR%%/LICENSE
|
||||
%%RMLIC%%@dirrm %%DOCSDIR%%
|
||||
@dirrmtry %%SUBDIR%%/Data/Digest
|
||||
@dirrmtry %%SUBDIR%%/Data
|
||||
@exec sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
|
||||
@exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
||||
@unexec ghc-pkg unregister %%PORTNAME%%
|
||||
@unexec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
55
security/hs-digest/Makefile
Normal file
55
security/hs-digest/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# New ports collection makefile for: hs-digest-ghc
|
||||
# Date created: January 22, 2009
|
||||
# Whom: Gabor Pali <pgj@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= digest
|
||||
PORTVERSION= 0.0.0.2
|
||||
CATEGORIES= security haskell
|
||||
MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
|
||||
PKGNAMEPREFIX= hs-
|
||||
PKGNAMESUFFIX= -ghc
|
||||
|
||||
MAINTAINER= haskell@FreeBSD.org
|
||||
COMMENT= Efficient cryptographic hash implementations in Haskell
|
||||
|
||||
BUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc
|
||||
RUN_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc
|
||||
|
||||
GHC_VERSION= 6.8.3
|
||||
CABALCMD= ${LOCALBASE}/bin/runghc Setup.hs
|
||||
CABALDIR= lib/ghc-${GHC_VERSION}/cabal
|
||||
|
||||
SUBDIR= lib/${PORTNAME}-${PORTVERSION}
|
||||
PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
|
||||
PORTNAME=${PORTNAME} \
|
||||
PORTVERSION=${PORTVERSION} \
|
||||
SUBDIR=${CABALDIR}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
|
||||
PORTDOCS= LICENSE html
|
||||
|
||||
CONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${PREFIX}/${CABALDIR} --libsubdir='' --datasubdir=''
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
|
||||
PLIST_SUB+= RMLIC="@comment "
|
||||
.else
|
||||
PLIST_SUB+= RMLIC=""
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${WRKSRC} && ${CABALCMD} haddock
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${CABALCMD} install
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${CABALDIR}/${PORTNAME}-register.sh
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/hs-digest/distinfo
Normal file
3
security/hs-digest/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (digest-0.0.0.2.tar.gz) = c093bf8ba6b0e94492e125d2aae710e1
|
||||
SHA256 (digest-0.0.0.2.tar.gz) = f91066f0f1c3b7b0126e8bbcf774d8a1d3f4fa78cd28693411cda7a37172b8ac
|
||||
SIZE (digest-0.0.0.2.tar.gz) = 44339
|
5
security/hs-digest/pkg-descr
Normal file
5
security/hs-digest/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
This package provides efficient cryptographic hash implementations for
|
||||
strict and lazy bytestrings for the functional programming language
|
||||
Haskell.
|
||||
|
||||
WWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/digest
|
13
security/hs-digest/pkg-plist
Normal file
13
security/hs-digest/pkg-plist
Normal file
@ -0,0 +1,13 @@
|
||||
%%SUBDIR%%/Data/Digest/Adler32.hi
|
||||
%%SUBDIR%%/Data/Digest/CRC32.hi
|
||||
%%SUBDIR%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
|
||||
%%SUBDIR%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
|
||||
%%SUBDIR%%/%%PORTNAME%%-register.sh
|
||||
%%RMLIC%%%%DOCSDIR%%/LICENSE
|
||||
%%RMLIC%%@dirrm %%DOCSDIR%%
|
||||
@dirrmtry %%SUBDIR%%/Data/Digest
|
||||
@dirrmtry %%SUBDIR%%/Data
|
||||
@exec sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
|
||||
@exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
||||
@unexec ghc-pkg unregister %%PORTNAME%%
|
||||
@unexec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
Loading…
Reference in New Issue
Block a user