ports/176067: [maintainer update] databases/ocaml-sqlite3 to 2.0.4
Jaap Boender
jaapb at kerguelen.org
Tue Feb 12 13:30:00 UTC 2013
>Number: 176067
>Category: ports
>Synopsis: [maintainer update] databases/ocaml-sqlite3 to 2.0.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 12 13:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jaap Boender
>Release: 9.1-RELEASE
>Organization:
>Environment:
FreeBSD purcell.mdx.ac.uk 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This is an update of databases/ocaml-sqlite3 to 2.0.4. Changes include a new build system and a change in distribution method, as well as bugfixes and some small extensions. It also fixes a build failure on my system.
>How-To-Repeat:
n/a
>Fix:
svn diff of port directory included.
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 311755)
+++ Makefile (working copy)
@@ -6,47 +6,30 @@
#
PORTNAME= sqlite3
-PORTVERSION= 1.6.1
+PORTVERSION= 2.0.4
CATEGORIES= databases
-MASTER_SITES= http://hg.ocaml.info/release/${PKGNAMEPREFIX}${PORTNAME}/archive/
+MASTER_SITES= http://cdn.bitbucket.org/mmottl/sqlite3-ocaml/downloads/
PKGNAMEPREFIX= ocaml-
-DISTNAME= release-${PORTVERSION}
+DISTNAME= ${PORTNAME}-ocaml-${PORTVERSION}
MAINTAINER= jaapb at kerguelen.org
COMMENT= OCaml bindings to sqlite3 library
-WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-release-${PORTVERSION}
-
-USE_AUTOTOOLS= autoconf
-USE_GMAKE= yes
USE_SQLITE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAMLFIND_PLIST= yes
MAKE_JOBS_UNSAFE= yes
+CONFIGURE_ARGS= --disable-docs # doesn't install anything anyway
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= CC="${CC}"\
- CFLAGS="${CFLAGS}"\
- CPPFLAGS="-UHAVE_ALLOCA_H -I${PREFIX}/include"\
- LDFLAGS="-L${PREFIX}/lib"\
- LIBS="${PTHREAD_LIBS}"
+do-configure:
+ @cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}
-USE_BZIP2= yes
+do-build:
+ @cd ${WRKSRC} && ocaml setup.ml -build
-DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-PORTDOCS= style.css *.html
+do-install:
+ @cd ${WRKSRC} && ocaml setup.ml -install
-PLIST_FILES= bin/sqlite3top
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @( cd ${WRKSRC}/doc;\
- for f in `${FIND} . -type f -print`; do\
- ${INSTALL_DATA} $${f} ${DOCSDIR};\
- done )
-.endif
-
.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo (revision 311755)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (release-1.6.1.tar.bz2) = 9d5ed422de61497436475329c3a9956870cfb8d0a272f764a9e57faff7ebea9f
-SIZE (release-1.6.1.tar.bz2) = 54462
+SHA256 (sqlite3-ocaml-2.0.4.tar.gz) = 51ccb4c7a240eb40652c59e1770cfe1827dfa1eb926c969d19ff414aef4e80a1
+SIZE (sqlite3-ocaml-2.0.4.tar.gz) = 60665
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list