The NewBinary package is an older binary serialization library for
Haskell used by a number of projects. Consider it legacy code, i.e. don't use it for new projects. This port is reqired for security/hs-crypto.
This commit is contained in:
parent
87a3f71582
commit
cf75de7983
54
devel/hs-newbinary/Makefile
Normal file
54
devel/hs-newbinary/Makefile
Normal file
@ -0,0 +1,54 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/21 17:17:00 kili Exp $
|
||||
|
||||
COMMENT= binary serialization library for Haskell
|
||||
|
||||
V= 0.1
|
||||
DISTNAME= NewBinary-${V}
|
||||
PKGNAME= hs-newbinary-${V}
|
||||
CATEGORIES= devel
|
||||
|
||||
HACKAGE= http://hackage.haskell.org/
|
||||
HOMEPAGE= ${HACKAGE}/cgi-bin/hackage-scripts/package/NewBinary-0.1/
|
||||
|
||||
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
||||
|
||||
# NHC style (some awfully complicated BSD like thing with the option of
|
||||
# using GPL). See http://www.cs.york.ac.uk/fp/nhc98/copyright.html for
|
||||
# the full blurb.
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MODULES= lang/ghc
|
||||
|
||||
MASTER_SITES= ${HACKAGE}packages/archive/NewBinary/$V/
|
||||
|
||||
CONFIGURE_ARGS= configure -g --prefix=${PREFIX}
|
||||
CONFIGURE_ENV= HOME=${PORTHOME}
|
||||
SUBST_VARS= V
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
post-install:
|
||||
.for f in register.sh unregister.sh
|
||||
${INSTALL_SCRIPT} ${WRKBUILD}/$f ${PREFIX}/lib/NewBinary-${V}
|
||||
.endfor
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && exec ${SETENV} ${CONFIGURE_ENV} \
|
||||
runhaskell Setup.lhs ${CONFIGURE_ARGS}
|
||||
|
||||
do-build:
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
runhaskell Setup.lhs build
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
runhaskell Setup.lhs register --gen-script
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
runhaskell Setup.lhs unregister --gen-script
|
||||
|
||||
do-install:
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
runhaskell Setup.lhs copy --destdir=${DESTDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/hs-newbinary/distinfo
Normal file
5
devel/hs-newbinary/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (NewBinary-0.1.tar.gz) = jShE5XhhEv3C0LW/mOoKYQ==
|
||||
RMD160 (NewBinary-0.1.tar.gz) = KKXMIKfoFvOY94fYzEzTnp1lda8=
|
||||
SHA1 (NewBinary-0.1.tar.gz) = n5BeCwOhsZKaCQl2v/4Jjzq72WA=
|
||||
SHA256 (NewBinary-0.1.tar.gz) = A384wVPocM3Eeuuprbv/Km162hYkhswzyhQ1VlMIy9I=
|
||||
SIZE (NewBinary-0.1.tar.gz) = 10200
|
3
devel/hs-newbinary/pkg/DESCR
Normal file
3
devel/hs-newbinary/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
The NewBinary package is an older binary serialization library for
|
||||
Haskell used by a number of projects. Consider it legacy code, i.e.
|
||||
don't use it for new projects.
|
13
devel/hs-newbinary/pkg/PLIST
Normal file
13
devel/hs-newbinary/pkg/PLIST
Normal file
@ -0,0 +1,13 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/21 17:17:00 kili Exp $
|
||||
lib/NewBinary-${V}/
|
||||
lib/NewBinary-${V}/ghc-6.6.1/
|
||||
lib/NewBinary-${V}/ghc-6.6.1/HSNewBinary-${V}.o
|
||||
lib/NewBinary-${V}/ghc-6.6.1/NewBinary/
|
||||
lib/NewBinary-${V}/ghc-6.6.1/NewBinary/Binary.hi
|
||||
lib/NewBinary-${V}/ghc-6.6.1/NewBinary/FastMutInt.hi
|
||||
lib/NewBinary-${V}/ghc-6.6.1/include/
|
||||
lib/NewBinary-${V}/ghc-6.6.1/libHSNewBinary-${V}.a
|
||||
lib/NewBinary-${V}/register.sh
|
||||
@exec /usr/bin/env HOME=/nonexistent %D/lib/NewBinary-${V}/register.sh
|
||||
@unexec /usr/bin/env HOME=/nonexistent %D/lib/NewBinary-${V}/unregister.sh
|
||||
lib/NewBinary-${V}/unregister.sh
|
Loading…
Reference in New Issue
Block a user