Import time-compat-1.9.2.2

This packages tries to compat as much of time features as possible.
This commit is contained in:
pho 2019-12-31 18:06:15 +00:00
parent 5bc3733493
commit 288f693f5a
5 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1 @@
This packages tries to compat as much of time features as possible.

View file

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1 2019/12/31 18:06:15 pho Exp $
DISTNAME= time-compat-1.9.2.2
CATEGORIES= time
MAINTAINER= pho@cielonegro.org
COMMENT= Compatibility package for time
LICENSE= modified-bsd
# Setup.hs is missing from the package.
post-patch:
${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/Setup.hs
.include "../../mk/haskell.mk"
.include "../../devel/hs-base-orphans/buildlink3.mk"
.include "../../devel/hs-fail/buildlink3.mk"
.include "../../devel/hs-old-locale/buildlink3.mk"
.include "../../math/hs-semigroups/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,17 @@
# $NetBSD: buildlink3.mk,v 1.1 2019/12/31 18:06:15 pho Exp $
BUILDLINK_TREE+= hs-time-compat
.if !defined(HS_TIME_COMPAT_BUILDLINK3_MK)
HS_TIME_COMPAT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-time-compat+= hs-time-compat>=1.9.2.2
BUILDLINK_PKGSRCDIR.hs-time-compat?= ../../time/hs-time-compat
.include "../../devel/hs-base-orphans/buildlink3.mk"
.include "../../devel/hs-fail/buildlink3.mk"
.include "../../devel/hs-old-locale/buildlink3.mk"
.include "../../math/hs-semigroups/buildlink3.mk"
.endif # HS_TIME_COMPAT_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-time-compat

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/12/31 18:06:15 pho Exp $
SHA1 (time-compat-1.9.2.2.tar.gz) = eef4651e2ded276321a8f7cae7b5b1766d772b2f
RMD160 (time-compat-1.9.2.2.tar.gz) = 8999a63b4c62ba9c3adf4f1f2998b2348e22ad71
SHA512 (time-compat-1.9.2.2.tar.gz) = 210e1d6b6b1dcf30337c72d45dd5f229dfbd023a1612f13dccad23131f16437b2b6a43a46e5e1341751c7b6f88f8ef1a9b5efe91b1328b12ff20552e2a952f44
Size (time-compat-1.9.2.2.tar.gz) = 49652 bytes

View file

@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain