pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel devel/pointfree: Import pointfree-1.1.1.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f23abcfe18ab
branches:  trunk
changeset: 448765:f23abcfe18ab
user:      pho <pho%pkgsrc.org@localhost>
date:      Sun Mar 14 09:15:43 2021 +0000

description:
devel/pointfree: Import pointfree-1.1.1.7

This is a command-line tool for converting Haskell expressions to point-free form.

diffstat:

 devel/Makefile           |   3 ++-
 devel/pointfree/DESCR    |   1 +
 devel/pointfree/Makefile |  29 +++++++++++++++++++++++++++++
 devel/pointfree/PLIST    |   3 +++
 devel/pointfree/distinfo |   6 ++++++
 5 files changed, 41 insertions(+), 1 deletions(-)

diffs (72 lines):

diff -r 3c59e74746a4 -r f23abcfe18ab devel/Makefile
--- a/devel/Makefile    Sun Mar 14 08:44:21 2021 +0000
+++ b/devel/Makefile    Sun Mar 14 09:15:43 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3348 2021/03/12 15:02:38 tpaul Exp $
+# $NetBSD: Makefile,v 1.3349 2021/03/14 09:15:43 pho Exp $
 #
 
 COMMENT=       Development utilities
@@ -2148,6 +2148,7 @@
 SUBDIR+=       ply
 SUBDIR+=       pmccabe
 SUBDIR+=       poco
+SUBDIR+=       pointfree
 SUBDIR+=       polly
 SUBDIR+=       popt
 SUBDIR+=       poxml
diff -r 3c59e74746a4 -r f23abcfe18ab devel/pointfree/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pointfree/DESCR     Sun Mar 14 09:15:43 2021 +0000
@@ -0,0 +1,1 @@
+Stand-alone command-line version of the point-less plugin for lambdabot.
diff -r 3c59e74746a4 -r f23abcfe18ab devel/pointfree/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pointfree/Makefile  Sun Mar 14 09:15:43 2021 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2021/03/14 09:15:43 pho Exp $
+#
+
+DISTNAME=      pointfree-1.1.1.7
+PKGNAME=       ${DISTNAME}
+CATEGORIES=    devel
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Convert Haskell expressions to pointfree form
+LICENSE=       mit
+
+# "pointfree.cabal" declares an empty library (exposing no symbols at
+# all), and the executable doesn't depend on the library either. This
+# is not only pointless, but also makes Cabal do a weird thing
+# possibly due to a bug: it embeds an rpath to the *build directory*
+# which serves absolutely no purpose. Disable the library as a
+# workaround.
+SUBST_CLASSES+=        1
+SUBST_STAGE.1= post-extract
+SUBST_FILES.1= pointfree.cabal
+SUBST_SED.1=   -e "s|Library|Library+  buildable: False|"
+
+SUBST_CLASSES+=                2
+SUBST_STAGE.2=         pre-configure
+SUBST_FILES.2=         pointfree.cabal
+SUBST_FILTER_CMD.2=    ${TR} '+' \\n
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3c59e74746a4 -r f23abcfe18ab devel/pointfree/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pointfree/PLIST     Sun Mar 14 09:15:43 2021 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/03/14 09:15:43 pho Exp $
+bin/pointfree
+@pkgdir lib/${PKGNAME}/ghc-8.8.4
diff -r 3c59e74746a4 -r f23abcfe18ab devel/pointfree/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pointfree/distinfo  Sun Mar 14 09:15:43 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/03/14 09:15:43 pho Exp $
+
+SHA1 (pointfree-1.1.1.7.tar.gz) = fe5bfbb5959d3bff723b9e10090b9606ef62ff06
+RMD160 (pointfree-1.1.1.7.tar.gz) = 6f7e5db28fd3bf2d06ff0f55c141e90ef8193b99
+SHA512 (pointfree-1.1.1.7.tar.gz) = e03d9643b659d6a70677ddecb2d9ef26f6f40e94b126e56cd2125638b2c78d2c22f70bb1373a3d6aa97c87e7aef17ae8cd766da62e37f312ecbce9fdb527dd40
+Size (pointfree-1.1.1.7.tar.gz) = 20463 bytes



Home | Main Index | Thread Index | Old Index