aboutsummaryrefslogtreecommitdiff
path: root/databases/ocaml-sqlite3
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-12-29 14:58:10 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-12-29 14:58:10 +0000
commitb086916847cbbb1ffd015d1ba1a4aed257e00689 (patch)
treef436fbff6fc43e7484ed30fbd6df13ea64c94f9b /databases/ocaml-sqlite3
parent9e6e548e9f025a67296235a4d978bb91c847722c (diff)
downloadports-b086916847cbbb1ffd015d1ba1a4aed257e00689.tar.gz
ports-b086916847cbbb1ffd015d1ba1a4aed257e00689.zip
- Update to 1.6.1
PR: 163409 Submitted by: Jaap Boender <jaapb@kerguelen.org> (maintainer)
Notes
Notes: svn path=/head/; revision=288230
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