2022-08-20 10:08:12 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2022/08/20 08:08:20 wiz Exp $
|
2022-02-16 11:11:00 +01:00
|
|
|
|
|
|
|
DISTNAME= retrie-1.2.0.1
|
|
|
|
PKGNAME= ${DISTNAME}
|
2022-08-20 10:08:12 +02:00
|
|
|
PKGREVISION= 3
|
2022-02-16 11:11:00 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
COMMENT= Powerful, easy-to-use codemodding tool for Haskell
|
|
|
|
LICENSE= mit
|
|
|
|
|
2022-02-26 09:26:12 +01:00
|
|
|
# If retrie is to be linked dynamically, it will depend on more than 80
|
|
|
|
# shared objects and the dynamic linker will spend too much time to resolve
|
|
|
|
# symbols on startup. This is unacceptable because retrie tends to be
|
|
|
|
# launched very frequently by editors and IDEs. This wastes storage, but
|
|
|
|
# time is more expensive than disks.
|
|
|
|
HASKELL_ENABLE_DYNAMIC_EXECUTABLE= no
|
|
|
|
|
|
|
|
# retrie is built with optparse-applicative, and can generate shell
|
|
|
|
# completion scripts automatically.
|
|
|
|
.include "../../devel/hs-optparse-applicative/application.mk"
|
|
|
|
|
|
|
|
# lib:retrie
|
2022-02-16 11:11:00 +01:00
|
|
|
.include "../../devel/hs-ansi-terminal/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-async/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-data-default/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-ghc-exactprint/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-list-t/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-optparse-applicative/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-random-shuffle/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-syb/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-unordered-containers/buildlink3.mk"
|
2022-02-26 09:26:12 +01:00
|
|
|
|
|
|
|
# exe:retrie
|
2022-02-16 11:11:00 +01:00
|
|
|
.include "../../devel/hs-ghc-paths/buildlink3.mk"
|
|
|
|
.include "../../devel/hs-haskell-src-exts/buildlink3.mk"
|
2022-02-26 09:26:12 +01:00
|
|
|
|
2022-02-16 11:11:00 +01:00
|
|
|
.include "../../mk/haskell.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|