summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2017-07-13 10:41:33 +0000
committerjaapb <jaapb@pkgsrc.org>2017-07-13 10:41:33 +0000
commite6b691639a0cec74567b65f90cbd6bb63c399904 (patch)
tree8dc8b4c0b7269c1d5555d0b2f0d11762a6729d7f /devel
parent2d0c5c10395945452d277811814b319cdea13511 (diff)
downloadpkgsrc-e6b691639a0cec74567b65f90cbd6bb63c399904.tar.gz
Added patch so that bin/bdump gets installed. Thanks to joerg@ for
reporting this.
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-biniou/Makefile4
-rw-r--r--devel/ocaml-biniou/PLIST3
-rw-r--r--devel/ocaml-biniou/distinfo3
-rw-r--r--devel/ocaml-biniou/patches/patch-Makefile17
4 files changed, 24 insertions, 3 deletions
diff --git a/devel/ocaml-biniou/Makefile b/devel/ocaml-biniou/Makefile
index 36599ac12f3..c8b69ba3dfd 100644
--- a/devel/ocaml-biniou/Makefile
+++ b/devel/ocaml-biniou/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+# $NetBSD: Makefile,v 1.2 2017/07/13 10:41:33 jaapb Exp $
GITHUB_PROJECT= biniou
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-1.0.13
PKGNAME= ocaml-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=mjambon/}
@@ -16,6 +17,7 @@ MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake
BUILD_TARGET= byte doc META
OCAML_USE_FINDLIB= yes
+INSTALLATION_DIRS+= bin
.include "../../mk/ocaml.mk"
diff --git a/devel/ocaml-biniou/PLIST b/devel/ocaml-biniou/PLIST
index 19b215c4e10..7ad3adf0435 100644
--- a/devel/ocaml-biniou/PLIST
+++ b/devel/ocaml-biniou/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/07/13 10:41:33 jaapb Exp $
+bin/bdump
${OCAML_SITELIB}/biniou/META
${OCAML_SITELIB}/biniou/bi_dump.cmo
${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_dump.cmx
diff --git a/devel/ocaml-biniou/distinfo b/devel/ocaml-biniou/distinfo
index 82b567e6eda..e4a9c11ed57 100644
--- a/devel/ocaml-biniou/distinfo
+++ b/devel/ocaml-biniou/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+$NetBSD: distinfo,v 1.2 2017/07/13 10:41:33 jaapb Exp $
SHA1 (biniou-1.0.13.tar.gz) = 87d62aeb15437f7ba26654b774b3106f374aad3c
RMD160 (biniou-1.0.13.tar.gz) = 7b3306894c3407190acb707d53078ebd7118e82d
SHA512 (biniou-1.0.13.tar.gz) = 2fe109e83260f546181dd26ea175d2c4f63d0f6604c6d26fa44ee31925ba1fdaac0139a436cd0271a31294de9cd8ea65f8dde0981403c652d31de721ef696788
Size (biniou-1.0.13.tar.gz) = 24327 bytes
+SHA1 (patch-Makefile) = b9cf0685ae977211ebcc45b3f0e67408ae16162c
diff --git a/devel/ocaml-biniou/patches/patch-Makefile b/devel/ocaml-biniou/patches/patch-Makefile
new file mode 100644
index 00000000000..9256f0126fb
--- /dev/null
+++ b/devel/ocaml-biniou/patches/patch-Makefile
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2017/07/13 10:41:33 jaapb Exp $
+
+Install bdump using BSD install commands
+--- Makefile.orig 2017-05-04 17:38:05.000000000 +0000
++++ Makefile
+@@ -109,9 +109,9 @@ doc/index.html: $(MLI)
+
+ install: META byte
+ if [ -f bdump.native ]; then \
+- cp bdump.native $(BINDIR)/bdump$(EXE); \
++ $(BSD_INSTALL_PROGRAM) bdump.native $(DESTDIR)$(BINDIR)/bdump$(EXE); \
+ else \
+- cp bdump.byte $(BINDIR)/bdump$(EXE); \
++ $(BSD_INSTALL_SCRIPT) bdump.byte $(DESTDIR)$(BINDIR)/bdump$(EXE); \
+ fi
+ ocamlfind install biniou META \
+ $(MLI) $(CMI) $(CMT) $(ANNOT) $(CMO) biniou.cma \