1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/ocamlweb/Makefile
2012-06-01 05:26:28 +00:00

43 lines
960 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
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= http://www.lri.fr/~filliatr/ftp/ocamlweb/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTDOCS}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= hrs@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
PLIST_SUB+= TEXMFDIR=${TEXMFDIR} \
MKTEXLSR=${MKTEXLSR}
TEXMFDIR?= share/texmf
MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr
.if !defined(NOPORTDOCS)
PORTDOCS= ${PORTNAME}-${PORTVERSION}-man.ps.gz
.endif
MAN1= ocamlweb.1
post-install:
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>