freebsd-ports/devel/ocaml-extlib/Makefile
Volker Stolz 2d63e0cf6f Fix plist for NOPORTDOCS
PR:		ports/77560
Submitted by:	Jun Mukai (maintainer)
2005-02-15 21:52:21 +00:00

40 lines
803 B
Makefile

# Ports collection makefile for: extlib
# Date created: Nov 2, 2004
# Whom: mukai
#
# $FreeBSD$
#
PORTNAME= extlib
PORTVERSION= 1.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ocaml-lib
PKGNAMEPREFIX= ocaml-
EXTRACT_SUFX= .tgz
MAINTAINER= mukai@jmuk.org
COMMENT= A complete - yet small - standard library for OCaml
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
USE_GMAKE= yes
ALL_TARGET= all opt
ALL_TARGET= all opt
.if !defined(NOPORTDOCS)
ALL_TARGET+= doc
PLIST_SUB+= PORTDOCS=""
.else
PLIST_SUB+= PORTDOCS="@comment "
.endif
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>