aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ocaml-doc/Makefile
blob: f1aee46663d6326e76936010f068c7e9fd4db923 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    ocaml-doc
# Date created:     2004-02-03
# Whom:         Eugene Ossintsev
#
# $FreeBSD$
#

PORTNAME=   ocaml
PORTVERSION=    3.09
CATEGORIES= lang
MASTER_SITES=   http://caml.inria.fr/distrib/${DISTNAME}/ \
        ftp://ftp.inria.fr/INRIA/caml-light/${DISTNAME}/ \
        ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/caml-light/${DISTNAME}/
PKGNAMESUFFIX=  -doc
DISTFILES=  ${DISTNAME}-refman.html.tar.gz ${DISTNAME}-refman.ps.gz
EXTRACT_ONLY=   ${DISTNAME}-refman.html.tar.gz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Documentation (HTML, PS) for the Objective Caml

NO_BUILD=   yes

PORTDOCS=   *

do-install:
    @${MKDIR} ${DOCSDIR}/html/libref
    cd ${WRKDIR}/htmlman/libref && ${INSTALL_DATA} * ${DOCSDIR}/html/libref
    cd ${WRKDIR}/htmlman && ${INSTALL_DATA} [a-km-z]* libg* ${DOCSDIR}/html
    ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}-refman.ps.gz ${DOCSDIR}

.include <bsd.port.mk>