aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ocamlweb/Makefile
blob: e2e0c8e1a43c7047d9d8117b454a3b1204317aab (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
32
33
34
35
36
37
# New ports collection makefile for:    ocamlweb
# Date created:             4 February 2001
# Whom:                 Patrick Doane <patrick@watson.org>
#
# $FreeBSD$
#

PORTNAME=   ocamlweb
PORTVERSION=    1.34
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.lri.fr/~filliatr/ftp/ocamlweb/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= jkoshy@FreeBSD.ORG
COMMENT=    A literate programming tool for Objective Caml

BUILD_DEPENDS=  ocamlc:${PORTSDIR}/lang/ocaml
RUN_DEPENDS=    latex:${PORTSDIR}/print/teTeX-base

GNU_CONFIGURE= yes

.if !defined(NOPORTDOCS)
DOCFILES=   ${PORTNAME}-${PORTVERSION}-man.ps.gz
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.endif

MAN1=       ocamlweb.1

post-install:
.if !defined{NOPORTDOCS}
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${DISTDIR}/${DOCFILES} ${DOCSDIR}
.endif

.include <bsd.port.mk>