a24d16fedc
PR: ports/122788 Submitted by: Jaap Boender <jaapb@kerguelen.org> (maintainer)
37 lines
813 B
Makefile
37 lines
813 B
Makefile
# New ports collection makefile for: ocamlduce
|
|
# Date created: Feb 24, 2007
|
|
# Whom: Jaap Boender <jaapb@kerguelen.rg>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ocamlduce
|
|
PORTVERSION= 3.10.0.1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://gallium.inria.fr/~frisch/ocamlcduce/download/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= jaapb@kerguelen.org
|
|
COMMENT= Library to integrate XML features into OCaml
|
|
|
|
USE_GMAKE= yes
|
|
USE_OCAML= yes
|
|
OCAMLC_DEPEND= ocaml>=3.10.0:${OCAMLC_PORT}
|
|
USE_OCAML_FINDLIB= yes
|
|
USE_OCAML_LDCONFIG= yes
|
|
USE_OCAML_PLIST= yes
|
|
|
|
ALL_TARGET= all opt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-extract:
|
|
# For nonstandard prefixes
|
|
.if !exists(${OCAMLFIND_DESTDIR})
|
|
${MKDIR} ${OCAMLFIND_DESTDIR}
|
|
.endif
|
|
.if !exists(${OCAMLFIND_LDCONF})
|
|
${TOUCH} ${OCAMLFIND_LDCONF}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|