[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / eliom

File: [cvs.NetBSD.org] / pkgsrc / www / eliom / Makefile (download)

Revision 1.5, Wed Feb 6 23:23:59 2013 UTC (6 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.4: +2 -1 lines

PKGREVISION bumps for the security/openssl 1.0.1d update.

# $NetBSD: Makefile,v 1.5 2013/02/06 23:23:59 jperkin Exp $
#

DISTNAME=	eliom-3.0.3
PKGREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://ocsigen.org/download/

MAINTAINER=	jaapb@NetBSD.org
HOMEPAGE=	http://ocsigen.org/download/
COMMENT=	Dynamic webpage generation library
LICENSE=	gnu-lgpl-v2.1

USE_LANGUAGES=	c
USE_TOOLS=	gmake
HAS_CONFIGURE=	yes

DEPENDS+=	ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
DEPENDS+=	js_of_ocaml>=1.3.2:../../devel/js_of_ocaml
DEPENDS+=	ocsigen>=2.2:../../www/ocsigen
DEPENDS+=	ocaml-tyxml>=2.2:../../textproc/ocaml-tyxml
DEPENDS+=	ocaml-react>=0.9.2:../../devel/ocaml-react
DEPENDS+=	ocaml-calendar>=2.01.1:../../time/ocaml-calendar
DEPENDS+=	ocaml-deriving-ocsigen>=0.3:../../devel/ocaml-deriving-ocsigen

CONFIGURE_ARGS+=	--temproot ${DESTDIR} --prefix ${PREFIX} \
			--libdir ${PREFIX}/lib/ocaml/site-lib

INSTALLATION_DIRS=	lib/ocaml/site-lib

PLIST_VARS=	opt
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
    (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
PLIST.opt=	yes
CONFIGURE_ARGS+=	--enable-natdynlink
.else
CONFIGURE_ARGS==	--disable-natdynlink
.endif

.include "../../lang/ocaml/buildlink3.mk"
.include "../../net/ocamlnet/buildlink3.mk"
.include "../../security/ocaml-ssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"