freebsd-ports/lang/js_of_ocaml/files/patch-Makefile
John Marino f41e7b9979 Add new Ocaml port: lang/js_of_ocaml
The initial version submitted in the PR was augmented by later changes
seen in pkgsrc where the counterpart is maintained by the submitter.

==
Js_of_ocaml is a compiler of OCaml bytecode to Javascript. It makes it
possible to run Ocaml programs in a Web browser.

WWW: http://ocsigen.org/js_of_ocaml/
==

PR:		ports/176163
Submitted by:	Jaap Boender
Maintainer:	Jaap Boender
Stage support:	Taken from pkgsrc
2014-03-27 12:29:54 +00:00

14 lines
555 B
Text

$NetBSD: patch-Makefile,v 1.2 2012/12/14 14:40:24 jaapb Exp $
Install to DESTDIR
--- Makefile.orig 2012-12-07 19:39:02.000000000 +0000
+++ Makefile
@@ -31,7 +31,7 @@ include Makefile.filelist
VERSION := $(shell head -n 1 VERSION)
install:
- ocamlfind install -patch-version ${VERSION} $(LIBRARY) lib/META $(INTF) $(IMPL) $(OTHERS) $(DOC)
+ ocamlfind install -ldconf ignore -destdir ${DESTDIR}${OCAML_SITELIBDIR} -patch-version ${VERSION} $(LIBRARY) lib/META $(INTF) $(IMPL) $(OTHERS) $(DOC)
install -d -m 755 $(BINDIR)
install $(BIN) $(BINDIR)