freebsd-ports/devel/ocamlweb/Makefile
Joseph Koshy d6750163c4 Upgrade to v1.34. Unbreak with OCaml v3.08. Pick up the version number
of the documentation PS file from PORTVERSION.
2004-08-16 16:15:19 +00:00

36 lines
848 B
Makefile

# New ports collection makefile for: ocamlweb
# Date created: 4 February 2001
# Whom: Patrick Doane <patrick@watson.org>
#
# $FreeBSD$
#
PORTNAME= ocamlweb
PORTVERSION= 1.34
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
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} ${PREFIX}/share/doc/${PORTNAME}
@${INSTALL_DATA} ${DISTDIR}/${DOCFILES} ${DOCSDIR}
.endif
.include <bsd.port.mk>