head	1.13;
access;
symbols;
locks; strict;
comment	@# @;


1.13
date	2013.03.06.13.34.48;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.12.31.17.09.09;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.11.17.05.58.53;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.08.21.22.36.41;	author mezz;	state Exp;
branches;
next	1.9;

1.9
date	2012.08.21.19.00.32;	author beat;	state Exp;
branches;
next	1.8;

1.8
date	2012.08.04.19.56.17;	author mezz;	state Exp;
branches;
next	1.7;

1.7
date	2012.07.28.15.57.55;	author cs;	state Exp;
branches;
next	1.6;

1.6
date	2012.06.19.01.52.37;	author mezz;	state Exp;
branches;
next	1.5;

1.5
date	2012.06.12.17.29.53;	author mezz;	state Exp;
branches;
next	1.4;

1.4
date	2012.06.12.02.35.26;	author mezz;	state Exp;
branches;
next	1.3;

1.3
date	2012.06.01.05.21.19;	author dinoex;	state Exp;
branches;
next	1.2;

1.2
date	2012.04.16.03.27.32;	author mezz;	state Exp;
branches;
next	1.1;

1.1
date	2012.04.14.02.37.58;	author mezz;	state Exp;
branches;
next	;


desc
@@


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313476
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lang/opa/Makefile 313476 2013-03-05 20:22:02Z bf $

PORTNAME=	opa
PORTVERSION=	1.0.5.${GITVER}
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://download.opalang.org/tar-gz/
DISTNAME=	${PORTNAME}_v${GITVER}

MAINTAINER=	mezz@@FreeBSD.org
COMMENT=	Open source, simple, and unified platform for writing web apps

BUILD_DEPENDS=	${OCAMLFIND_DEPEND} \
		${LOCALBASE}/${OCAML_SITELIBDIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl \
		${LOCALBASE}/${OCAML_SITELIBDIR}/cryptokit/cryptokit.a:${PORTSDIR}/security/ocaml-cryptokit \
		${LOCALBASE}/${OCAML_SITELIBDIR}/zip/zip.a:${PORTSDIR}/archivers/ocaml-zip \
		${LOCALBASE}/${OCAML_LIBDIR}/ocamlgraph/graph.a:${PORTSDIR}/math/ocaml-ocamlgraph \
		${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex \
		${LOCALBASE}/bin/node:${PORTSDIR}/www/node
RUN_DEPENDS=	${LOCALBASE}/${OCAML_SITELIBDIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl \
		${LOCALBASE}/${OCAML_SITELIBDIR}/cryptokit/cryptokit.a:${PORTSDIR}/security/ocaml-cryptokit \
		${LOCALBASE}/${OCAML_SITELIBDIR}/zip/zip.a:${PORTSDIR}/archivers/ocaml-zip \
		${LOCALBASE}/${OCAML_LIBDIR}/ocamlgraph/graph.a:${PORTSDIR}/math/ocaml-ocamlgraph \
		${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex \
		${LOCALBASE}/bin/node:${PORTSDIR}/www/node \
		${LOCALBASE}/bin/npm:${PORTSDIR}/www/npm

GITVER=		2988
USE_JAVA=	yes
JAVA_BUILD=	yes
USE_GMAKE=	yes
USE_ICONV=	yes
USE_OCAML=	yes

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	-prefix ${PREFIX}
MAKE_ENV=	MLSTATELIBS="${WRKSRC}/_build"

MAN1=		bslbrowser.1 filepos.1 gen_opa_manpage.1 \
		gen_opatop_manpage.1 genman.1 globalizer.1 jsstat.1 \
		mlidl.1 ocamlbase.1 odep.1 odeplink.1 ofile.1 opa-cloud.1 \
		opa-db-server.1 opa-db-tool.1 opa-plugin-browser-bin.1 \
		opa-plugin-builder-bin.1 opa-translate.1 opa.1 opa2opa.1 \
		opadep.1 opatop.1 opatrack.1 passdesign.1 ppdebug.1 \
		qmljs.1 trx.1 trx_interpreter.1 wsdl2ml.1

.if defined(WITH_CAMLIDL)
BUILD_DEPENDS+=	${LOCALBASE}/bin/camlidl:${PORTSDIR}/lang/ocaml-camlidl
LIB_DEPENDS+=	natpmp:${PORTSDIR}/net/libnatpmp \
		miniupnpc:${PORTSDIR}/net/miniupnpc
RUN_DEPENDS+=	${LOCALBASE}/bin/camlidl:${PORTSDIR}/lang/ocaml-camlidl
CONFIGURE_ARGS+=-camlidl
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|share/man/|/man/|g' \
		${WRKSRC}/Makefile
	@@${REINPLACE_CMD} -e 's|_git_version = .*"|_git_version = ${GITVER}"|g' \
		${WRKSRC}/compiler/buildinfos/generate_buildinfos.sh
	@@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
		${WRKSRC}/tools/build/myocamlbuild_prefix.ml

.include <bsd.port.mk>
@


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309763
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309763 | mezz | 2012-12-31 17:03:21 +0000 (Mon, 31 Dec 2012) | 4 lines
## SVN ##
## SVN ## Remove the created by me and update those header at the same time. I never
## SVN ## care about those header, so you even can claim that those were created by
## SVN ## you instead of me.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/lang/opa/Makefile 309763 2012-12-31 17:03:21Z mezz $
d5 1
@


1.11
log
@Switch exporter over
@
text
@d1 1
a1 6
# Ports collection makefile for:	opa
# Date created:				27 December 2011
# Whom:					"Mezz" <mezz@@FreeBSD.org>
#
# $FreeBSD: head/lang/opa/Makefile 302908 2012-08-21 22:36:41Z mezz $
#
@


1.10
log
@SVN rev 302908 on 2012-08-21 22:36:41Z by mezz

The tarball has been reroll for some reason as there is no change.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@SVN rev 302890 on 2012-08-21 19:00:32Z by beat

- Mark BROKEN: checksum mismatch

Reported by:	pointyhat
@
text
@a31 2
BROKEN=		checksum mismatch

@


1.8
log
@SVN rev 302028 on 2012-08-04 19:56:17Z by mezz

Update to 1.0.5.2988. Changelog: http://opalang.org/resources/changelog.xmlt
@
text
@d32 2
@


1.7
log
@SVN rev 301663 on 2012-07-28 15:57:55Z by cs

Fix typos in COMMENT

Approved by:	portmgr@@ (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	0.9.4.${GITVER}
d22 2
a23 1
		${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex
d28 3
a30 1
		${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex
d32 1
a32 1
GITVER=		1903
d41 1
d43 7
a49 7
MAN1=		bslbrowser.1 filepos.1 gen_opa_manpage.1 gen_opatop_manpage.1 \
		genman.native.1 jsstat.1 mlidl.1 ocamlbase.1 odep.1 odeplink.1 \
		ofile.1 opa.1 opa-cloud.1 opa-db-server.1 opa-db-tool.1 \
		opa-plugin-browser-bin.1 opa-plugin-builder-bin.1 \
		opa-translate.1 opa2opa.1 opadep.1 opatop.1 opatrack.1 \
		passdesign.1 ppdebug.1 qmljs.1 trx.1 trx_interpreter.1 \
		wsdl2ml.1
d53 2
a54 2
LIB_DEPENDS+=	natpmp.1:${PORTSDIR}/net/libnatpmp \
		miniupnpc.8:${PORTSDIR}/net/miniupnpc
d63 1
a63 1
		${WRKSRC}/buildinfos/generate_buildinfos.sh
d65 1
a65 1
		${WRKSRC}/build/myocamlbuild_prefix.ml
@


1.6
log
@Update to 0.9.4.1903.
@
text
@d15 1
a15 1
COMMENT=	An open source, simple and unified platform for writing web apps
@


1.5
log
@The stubs needs to be compiled with -liconv. Got a iconv sample from one of
developer to test it. Bump the PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	0.9.3.${GITVER}
PORTREVISION=	1
d29 1
a29 1
GITVER=		1869
@


1.4
log
@Update to 0.9.3.1869.
@
text
@d10 1
@


1.3
log
@- update png to 1.5.10
@
text
@d9 1
a9 2
PORTVERSION=	0.9.2.${GITVER}
PORTREVISION=	1
d29 1
a29 1
GITVER=		1635
d33 1
d60 2
@


1.2
log
@Update to 0.9.2.1635.

Security:	slicer,client,protected: fix a security issue introduced by
		3dd938c1fe, refuses again value tagged client and protected.
@
text
@d10 1
@


1.1
log
@Opa is an open source, simple and unified platform for writing web
applications. All aspects are directly written in Opa: Frontend code,
backend code, database queries and configuration. And everything is
strongly statically typed.

WWW: http://opalang.org/
@
text
@d29 1
a29 1
GITVER=		1598
@

