1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/www/eliom/Makefile
John Marino 33ae985c0e Add new Ocaml port: www/eliom
The initial version submitted in the PR was augmented by later changes
seen in pkgsrc where the counterpart is maintained by the submitter.

Note that due to a problem with bsd.ocaml.mk, the USE_OCAML_LDCONFIG
option had to be disabled.  This could be changed when the problem is
resolved.

==
Eliom is a framework for programming web sites and client/server web
applications. It uses very new concepts making programming very different
from all other web programming tools, and allowing to write a complex web
site in very few lines of code.

WWW: http://ocsigen.org/eliom/
==

PR:		ports/176165
Submitted by:	Jaap Boender
Maintainer:	Jaap Boender
Stage support:	Taken from pkgsrc
2014-03-27 17:39:30 +00:00

53 lines
1.7 KiB
Makefile

# Created by: Jaap Boender <jaapb@kerguelen.org>
# $FreeBSD$
PORTNAME= eliom
PORTVERSION= 3.0.3
CATEGORIES= www
MASTER_SITES= http://ocsigen.org/download/
MAINTAINER= jaapb@kerguelen.org
COMMENT= Ocaml dynamic webpage generation library
LICENSE= LGPL21_SSLEX
LICENSE_NAME= Lesser GPL 2.1 with a special OpenSSL exception clause
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= ${PORTREQS}
RUN_DEPENDS= ${PORTREQS}
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
SA_DIR= ${PREFIX}/${OCAML_SITELIBDIR}
# As of 27 March 2014, USE_OCAML_LDCONFIG and USE_OCAMLFIND_PLIST compete
# for the same directores -- both add a removal step ot the TMPPLIST
# automatically. The bsd.ocaml.mk file has to be fixed, then then former
# can be used again. (alternatively we could provide a manually generated
# complete pkg-plist and keep using ocaml's ldconfig)
USES= gmake
HAS_CONFIGURE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAMLFIND_PLIST= yes
#USE_OCAML_LDCONFIG= yes
CONFIGURE_ARGS= --temproot ${STAGEDIR} \
--prefix ${PREFIX} \
--libdir ${PREFIX}/lib/ocaml/site-lib \
--enable-natdynlink
PORTREQS= ocaml-deriving-ocsigen>=0.3:${PORTSDIR}/devel/ocaml-deriving-ocsigen \
js_of_ocaml>=1.3.2:${PORTSDIR}/lang/js_of_ocaml \
ocsigen>=2.2:${PORTSDIR}/www/ocsigen \
ocaml-tyxml>=2.2:${PORTSDIR}/textproc/ocaml-tyxml \
${SA_DIR}/react/react.a:${PORTSDIR}/devel/ocaml-react \
${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl \
${SA_DIR}/calendar/calendarLib.a:${PORTSDIR}/devel/ocaml-calendar \
${SA_DIR}/cryptokit/cryptokit.a:${PORTSDIR}/security/ocaml-cryptokit
do-configure:
(cd ${WRKSRC} && ${SH} ./configure ${CONFIGURE_ARGS})
.include <bsd.port.mk>