ports/devel/ocaml-extlib/Makefile
Stanislav Sedov 3d36cd46d3 - Bump portrevisions on all ocaml libraries, as it appears that compiled
interface files (.cmi) are not backward compatible with a newer ocaml
  version.

PR:		ports/156195
Suggested by:	mandree
2011-04-05 22:23:33 +00:00

42 lines
838 B
Makefile

# Ports collection makefile for: extlib
# Date created: Nov 2, 2004
# Whom: mukai
#
# $FreeBSD$
#
PORTNAME= extlib
PORTVERSION= 1.5.1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://ocaml-extlib.googlecode.com/files/
MASTER_SITE_SUBDIR= ocaml-lib
PKGNAMEPREFIX= ocaml-
MAINTAINER= stas@FreeBSD.org
COMMENT= A complete - yet small - standard library for OCaml
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
USE_GMAKE= yes
USE_DOS2UNIX= yes
ALL_TARGET= all opt
.if !defined(NOPORTDOCS)
ALL_TARGET+= doc
.endif
PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e '/css/d' ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>