Bug 176165 - [new port] www/eliom 3.0.3 (web programming framework; was part of ocsigen)
Summary: [new port] www/eliom 3.0.3 (web programming framework; was part of ocsigen)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 11:10 UTC by jaapb
Modified: 2014-03-27 17:42 UTC (History)
0 users

See Also:


Attachments
file.shar (3.36 KB, text/plain)
2013-02-15 11:10 UTC, jaapb
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaapb 2013-02-15 11:10:01 UTC
This is a new port that has been split of off www/ocsigen - ocsigen now contains only the web server, and eliom the web programming framework.

Fix: shar included.

Patch attached with submission follows:
How-To-Repeat: n/a
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-02-15 12:15:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-03-28 06:19:26 UTC
Responsible Changed
From-To: miwi->bf

pass over to bf, he is dealing with the big ocaml update.
Comment 3 John Marino freebsd_committer freebsd_triage 2014-03-27 08:36:25 UTC
Responsible Changed
From-To: bf->marino

I'll overtake it
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-03-27 17:39:36 UTC
Author: marino
Date: Thu Mar 27 17:39:30 2014
New Revision: 349348
URL: http://svnweb.freebsd.org/changeset/ports/349348
QAT: https://qat.redports.org/buildarchive/r349348/

Log:
  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

Added:
  head/www/eliom/
  head/www/eliom/Makefile   (contents, props changed)
  head/www/eliom/distinfo   (contents, props changed)
  head/www/eliom/files/
  head/www/eliom/files/patch-src_Makefile   (contents, props changed)
  head/www/eliom/files/patch-src_client   (contents, props changed)
  head/www/eliom/files/patch-src_client_Makefile.filelist   (contents, props changed)
  head/www/eliom/pkg-descr   (contents, props changed)
  head/www/eliom/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Thu Mar 27 16:56:10 2014	(r349347)
+++ head/www/Makefile	Thu Mar 27 17:39:30 2014	(r349348)
@@ -182,6 +182,7 @@
     SUBDIR += egueb
     SUBDIR += elgg
     SUBDIR += elinks
+    SUBDIR += eliom
     SUBDIR += elog
     SUBDIR += emacs-w3m
     SUBDIR += emacs-w3m-emacs21

Added: head/www/eliom/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/eliom/Makefile	Thu Mar 27 17:39:30 2014	(r349348)
@@ -0,0 +1,52 @@
+# 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>

Added: head/www/eliom/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/eliom/distinfo	Thu Mar 27 17:39:30 2014	(r349348)
@@ -0,0 +1,2 @@
+SHA256 (eliom-3.0.3.tar.gz) = b598bfbfc37fb9164024df71352e74d26d6ce2095f89f3d52072b3f7334a5b86
+SIZE (eliom-3.0.3.tar.gz) = 743842

Added: head/www/eliom/files/patch-src_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/eliom/files/patch-src_Makefile	Thu Mar 27 17:39:30 2014	(r349348)
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_Makefile,v 1.2 2012/12/15 16:18:42 jaapb Exp $
+
+Use correct BSD installation tools (JRM - modified)
+--- src/Makefile.orig	2012-12-13 16:16:17.000000000 +0000
++++ src/Makefile
+@@ -60,9 +60,8 @@ install: install.META install.man
+ 	${MAKE} -C tools install
+ 
+ install.man: install.META
+-	$(INSTALL) -m 755 -d $(TEMPROOT)$(MANDIR)/man1
+-	$(INSTALL) -m 755 files/eliomc.1 $(TEMPROOT)$(MANDIR)/man1
+-	$(INSTALL) -m 755 files/eliom-destillery.1 $(TEMPROOT)$(MANDIR)/man1
++	$(BSD_INSTALL_MAN) files/eliomc.1 $(TEMPROOT)$(MANDIR)/man1
++	$(BSD_INSTALL_MAN) files/eliom-destillery.1 $(TEMPROOT)$(MANDIR)/man1
+ 	ln -sf eliomc.1 $(TEMPROOT)$(MANDIR)/man1/js_of_eliom.1
+ 	ln -sf eliomc.1 $(TEMPROOT)$(MANDIR)/man1/eliomopt.1
+ 	ln -sf eliomc.1 $(TEMPROOT)$(MANDIR)/man1/eliomcp.1

Added: head/www/eliom/files/patch-src_client
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/eliom/files/patch-src_client	Thu Mar 27 17:39:30 2014	(r349348)
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_client_Makefile,v 1.1 2012/08/12 17:47:43 wiz Exp $
+
+install library stub with proper permissions
+--- src/client/Makefile.orig	2012-06-11 12:46:54.000000000 +0000
++++ src/client/Makefile
+@@ -97,7 +97,8 @@ odoc: ${DOC:.mli=.odoc}
+ 
+ install: ${PREDEP}
+ 	${INSTALL} -m 755 -d ${CLIENTDIR}
+-	${INSTALL} -m 644 ${INTF} ${IMPL} ${STUBS} ${DOC} ${CLIENTDIR}
++	${INSTALL} -m 644 ${INTF} ${IMPL} ${DOC} ${STUBS} ${CLIENTDIR}
++	${BSD_INSTALL_LIB} ${EXEC_STUBS} ${CLIENTDIR}
+ 
+ uninstall:
+ 	-rm -fr ${CLIENTDIR}

Added: head/www/eliom/files/patch-src_client_Makefile.filelist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/eliom/files/patch-src_client_Makefile.filelist	Thu Mar 27 17:39:30 2014	(r349348)
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_client_Makefile.filelist,v 1.1 2012/08/12 17:47:43 wiz Exp $
+
+install library stub with proper permissions
+--- src/client/Makefile.filelist.orig	2012-06-11 12:46:54.000000000 +0000
++++ src/client/Makefile.filelist
+@@ -21,8 +21,9 @@ NO_MLI := eliom_compatibility_2_1.cmi
+ IMPL := ${PROJECTNAME}_client.cma      \
+         ${PROJECTNAME}_client_main.cmo \
+ 
+-STUBS := dlleliom_client.so \
+-	 libeliom_client.a  \
++EXEC_STUBS := dlleliom_client.so
++
++STUBS := libeliom_client.a  \
+ 	 eliom_client.js    \
+ 
+ NOP4 := eliom_lib.mli

Added: head/www/eliom/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/eliom/pkg-descr	Thu Mar 27 17:39:30 2014	(r349348)
@@ -0,0 +1,6 @@
+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/

Added: head/www/eliom/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/eliom/pkg-plist	Thu Mar 27 17:39:30 2014	(r349348)
@@ -0,0 +1,24 @@
+bin/eliom-destillery
+bin/eliomc
+bin/eliomcp
+bin/eliomdep
+bin/eliomopt
+bin/js_of_eliom
+man/man1/eliom-destillery.1.gz
+man/man1/eliomc.1.gz
+man/man1/eliomcp.1.gz
+man/man1/eliomdep.1.gz
+man/man1/eliomopt.1.gz
+man/man1/js_of_eliom.1.gz
+share/eliom/destillery/basic/Makefile
+share/eliom/destillery/basic/Makefile.options
+share/eliom/destillery/basic/PROJECT_NAME.conf.in
+share/eliom/destillery/basic/PROJECT_NAME.eliom
+share/eliom/destillery/basic/README
+share/eliom/destillery/basic/static!css!PROJECT_NAME.css
+@dirrm share/eliom/destillery/basic
+@dirrm share/eliom/destillery
+@dirrm share/eliom
+@dirrm %%OCAML_SITELIBDIR%%/eliom/syntax
+@dirrm %%OCAML_SITELIBDIR%%/eliom/server
+@dirrm %%OCAML_SITELIBDIR%%/eliom/client
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 John Marino freebsd_committer freebsd_triage 2014-03-27 17:42:47 UTC
State Changed
From-To: open->closed

The last ocaml PR has been submitted, I'm done.