Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 1997 01:14:31 -0700 (PDT)
From:      i.vaudrey@cableinet.co.uk
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/4667: Ocaml port does not install reference manual
Message-ID:  <199710010814.BAA27619@hub.freebsd.org>
Resent-Message-ID: <199710010820.BAA28049@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4667
>Category:       ports
>Synopsis:       Ocaml port does not install reference manual
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct  1 01:20:00 PDT 1997
>Last-Modified:
>Originator:     Ian Vaudrey
>Organization:
>Release:        2.2-STABLE
>Environment:
FreeBSD test.nemko.ltd.uk 2.2-STABLE FreeBSD 2.2-STABLE #0: Sun Sep 14 22:30:18
BST 1997     ian@test.nemko.ltd.uk:/usr/src/sys/compile/TESTBOX  i386

>Description:

The ocaml port does not install the language reference manual, which is
avaliable in various formats from the ocaml master sites.

>How-To-Repeat:

>Fix:

The following diff patches the port so that it fetches and installs
the HTML version of the reference manual. Please apply and commit.

diff -ruN ocaml.orig/Makefile ocaml/Makefile
--- ocaml.orig/Makefile	Fri Jan  3 11:25:46 1997
+++ ocaml/Makefile	Tue Sep 30 19:08:40 1997
@@ -7,6 +7,10 @@
 #
 
 DISTNAME=	ocaml-1.03
+DISTFILES=	${DISTNAME}.tar.gz
+.if !defined(NOPORTDOCS)
+DISTFILES+=     ${DISTNAME}-refman.html.tar.gz
+.endif
 CATEGORIES=	lang
 MASTER_SITES=	ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/caml-light/ \
 		ftp://ftp.inria.fr/lang/caml-light/
@@ -20,6 +24,10 @@
 		ocamlopt.1 ocamlprof.1 ocamlrun.1 ocamlyacc.1 
 
 post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${PREFIX}/share/doc/ocaml/html
+	cd ${WRKDIR}/htmlman; ${INSTALL_DATA} * ${PREFIX}/share/doc/ocaml/html
+.endif
 	@strip ${PREFIX}/bin/ocamlrun ${PREFIX}/bin/ocamlyacc
 
 .include <bsd.port.mk>
diff -ruN ocaml.orig/files/md5 ocaml/files/md5
--- ocaml.orig/files/md5	Fri Jan  3 11:25:46 1997
+++ ocaml/files/md5	Tue Sep 30 18:57:22 1997
@@ -1 +1,2 @@
 MD5 (ocaml-1.03.tar.gz) = 933ececf83e12d713e1867e5f7423d0e
+MD5 (ocaml-1.03-refman.html.tar.gz) = 4a00b7ae77353b2b03dfebe40287f226
diff -ruN ocaml.orig/pkg/PLIST ocaml/pkg/PLIST
--- ocaml.orig/pkg/PLIST	Fri Jan  3 11:25:47 1997
+++ ocaml/pkg/PLIST	Tue Sep 30 19:28:14 1997
@@ -166,3 +166,70 @@
 man/man1/ocamlprof.1.gz
 man/man1/ocamlrun.1.gz
 man/man1/ocamlyacc.1.gz
+share/doc/ocaml/html/contents_motif.gif
+share/doc/ocaml/html/index.html
+share/doc/ocaml/html/next_motif.gif
+share/doc/ocaml/html/node1.html
+share/doc/ocaml/html/node10.html
+share/doc/ocaml/html/node11.html
+share/doc/ocaml/html/node12.html
+share/doc/ocaml/html/node13.html
+share/doc/ocaml/html/node14.html
+share/doc/ocaml/html/node15.html
+share/doc/ocaml/html/node16.1.html
+share/doc/ocaml/html/node16.10.html
+share/doc/ocaml/html/node16.11.html
+share/doc/ocaml/html/node16.12.html
+share/doc/ocaml/html/node16.13.html
+share/doc/ocaml/html/node16.14.html
+share/doc/ocaml/html/node16.15.html
+share/doc/ocaml/html/node16.16.html
+share/doc/ocaml/html/node16.17.html
+share/doc/ocaml/html/node16.18.html
+share/doc/ocaml/html/node16.19.html
+share/doc/ocaml/html/node16.2.html
+share/doc/ocaml/html/node16.20.html
+share/doc/ocaml/html/node16.21.html
+share/doc/ocaml/html/node16.22.html
+share/doc/ocaml/html/node16.23.html
+share/doc/ocaml/html/node16.24.html
+share/doc/ocaml/html/node16.25.html
+share/doc/ocaml/html/node16.3.html
+share/doc/ocaml/html/node16.4.html
+share/doc/ocaml/html/node16.5.html
+share/doc/ocaml/html/node16.6.html
+share/doc/ocaml/html/node16.7.html
+share/doc/ocaml/html/node16.8.html
+share/doc/ocaml/html/node16.9.html
+share/doc/ocaml/html/node16.html
+share/doc/ocaml/html/node17.html
+share/doc/ocaml/html/node18.html
+share/doc/ocaml/html/node19.html
+share/doc/ocaml/html/node2.html
+share/doc/ocaml/html/node20.html
+share/doc/ocaml/html/node21.html
+share/doc/ocaml/html/node22.html
+share/doc/ocaml/html/node3.html
+share/doc/ocaml/html/node4.html
+share/doc/ocaml/html/node5.1.html
+share/doc/ocaml/html/node5.10.html
+share/doc/ocaml/html/node5.11.html
+share/doc/ocaml/html/node5.12.html
+share/doc/ocaml/html/node5.13.html
+share/doc/ocaml/html/node5.2.html
+share/doc/ocaml/html/node5.3.html
+share/doc/ocaml/html/node5.4.html
+share/doc/ocaml/html/node5.5.html
+share/doc/ocaml/html/node5.6.html
+share/doc/ocaml/html/node5.7.html
+share/doc/ocaml/html/node5.8.html
+share/doc/ocaml/html/node5.9.html
+share/doc/ocaml/html/node5.html
+share/doc/ocaml/html/node6.html
+share/doc/ocaml/html/node7.html
+share/doc/ocaml/html/node8.html
+share/doc/ocaml/html/node9.html
+share/doc/ocaml/html/previous_motif.gif
+@dirrm share/doc/ocaml/html
+@dirrm share/doc/ocaml
+

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710010814.BAA27619>