aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ocaml-sqlite3
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-12-29 22:58:10 +0800
committermiwi <miwi@FreeBSD.org>2011-12-29 22:58:10 +0800
commit69ae0f1a925604ec678d6cf7ad7506516bbeac8c (patch)
tree85d7ccc950cebc4a727ec404c9b5e300aababf63 /databases/ocaml-sqlite3
parenta903a76713cee833ec62d0ca0c624065811543b7 (diff)
downloadfreebsd-ports-gnome-69ae0f1a925604ec678d6cf7ad7506516bbeac8c.tar.gz
freebsd-ports-gnome-69ae0f1a925604ec678d6cf7ad7506516bbeac8c.tar.zst
freebsd-ports-gnome-69ae0f1a925604ec678d6cf7ad7506516bbeac8c.zip
- Update to 1.6.1
PR: 163409 Submitted by: Jaap Boender <jaapb@kerguelen.org> (maintainer)
Diffstat (limited to 'databases/ocaml-sqlite3')
-rw-r--r--databases/ocaml-sqlite3/Makefile16
-rw-r--r--databases/ocaml-sqlite3/distinfo4
-rw-r--r--databases/ocaml-sqlite3/files/patch-configure.ac11
-rw-r--r--databases/ocaml-sqlite3/pkg-plist1
4 files changed, 23 insertions, 9 deletions
diff --git a/databases/ocaml-sqlite3/Makefile b/databases/ocaml-sqlite3/Makefile
index dc87a49bcfa9..aaab946988b9 100644
--- a/databases/ocaml-sqlite3/Makefile
+++ b/databases/ocaml-sqlite3/Makefile
@@ -6,16 +6,19 @@
#
PORTNAME= sqlite3
-PORTVERSION= 1.0.3
-PORTREVISION= 1
+PORTVERSION= 1.6.1
CATEGORIES= databases
-MASTER_SITES= http://www.ocaml.info/ocaml_sources/
+MASTER_SITES= http://hg.ocaml.info/release/${PKGNAMEPREFIX}${PORTNAME}/archive/
PKGNAMEPREFIX= ocaml-
-DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+DISTNAME= release-${PORTVERSION}
MAINTAINER= jaapb@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
@@ -33,12 +36,13 @@ CONFIGURE_ARGS= CC="${CC}"\
USE_BZIP2= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-PORTDOCS= README style.css *.html
+PORTDOCS= style.css *.html
+
+PLIST_FILES= bin/sqlite3top
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @( cd ${WRKSRC}; ${INSTALL_DATA} README ${DOCSDIR} )
@( cd ${WRKSRC}/doc;\
for f in `${FIND} . -type f -print`; do\
${INSTALL_DATA} $${f} ${DOCSDIR};\
diff --git a/databases/ocaml-sqlite3/distinfo b/databases/ocaml-sqlite3/distinfo
index 676aef1de09d..e7550f9fc77d 100644
--- a/databases/ocaml-sqlite3/distinfo
+++ b/databases/ocaml-sqlite3/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ocaml-sqlite3-1.0.3.tar.bz2) = 2e8890fb3cf93675d8746f7631a399f8c1aec08617af7ccedf5ec597bcfb6950
-SIZE (ocaml-sqlite3-1.0.3.tar.bz2) = 44085
+SHA256 (release-1.6.1.tar.bz2) = 9d5ed422de61497436475329c3a9956870cfb8d0a272f764a9e57faff7ebea9f
+SIZE (release-1.6.1.tar.bz2) = 54462
diff --git a/databases/ocaml-sqlite3/files/patch-configure.ac b/databases/ocaml-sqlite3/files/patch-configure.ac
new file mode 100644
index 000000000000..42997a1ab394
--- /dev/null
+++ b/databases/ocaml-sqlite3/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2011-12-17 13:30:46.622160436 +0100
++++ configure.ac 2011-12-17 13:30:56.046163766 +0100
+@@ -26,7 +26,7 @@
+ AC_CHECKING(for sqlite3 library)
+ AC_CHECK_LIB(
+ sqlite3, sqlite3_open,,
+- AC_ERROR([SQLite is required. See the --with-sqlite3 configure option.]), -ldl)
++ AC_ERROR([SQLite is required. See the --with-sqlite3 configure option.]))
+
+ AC_CHECKING(for Sqlite header files)
+ AC_CHECK_HEADER(sqlite3.h,,
diff --git a/databases/ocaml-sqlite3/pkg-plist b/databases/ocaml-sqlite3/pkg-plist
deleted file mode 100644
index 20573c9235f6..000000000000
--- a/databases/ocaml-sqlite3/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/sqlite3top