Sql3 is an interface to the popular Sqlite3 database. The module provides a

minimal wrapper around Sqlite3's C interface which is designed to give the
developer access to all of Sqlite3's features in a way that is convenient
for Pure programmers.

WWW:	http://docs.pure-lang.googlecode.com/hg/pure-sql3.html

PR:		ports/156103
Submitted by:	Zhihao Yuan <lichray at gmail.com>
This commit is contained in:
Martin Wilke 2011-06-27 14:45:31 +00:00
parent c8b2d8c562
commit 91263b07cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276503
4 changed files with 48 additions and 0 deletions

View File

@ -631,6 +631,7 @@
SUBDIR += postgresql91-contrib
SUBDIR += postgresql_autodoc
SUBDIR += powerarchitect
SUBDIR += pure-sql3
SUBDIR += puredb
SUBDIR += pxlib
SUBDIR += pxtools

View File

@ -0,0 +1,39 @@
# New ports collection makefile for: pure-sql3
# Date created: 2011-03-18
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= pure-sql3
PORTVERSION= 0.4
CATEGORIES= databases
MASTER_SITES= http://pure-lang.googlecode.com/files/
MAINTAINER= lichray@gmail.com
COMMENT= Pure langauge binding to the SQLite3 library
LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure \
sqlite3:${PORTSDIR}/databases/sqlite3
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GCC= 4.2+
USE_GMAKE= yes
PLIST_FILES= lib/pure/sql3.pure \
lib/pure/sql3util.so
MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \
LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}"
PORTEXAMPLES= *
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (pure-sql3-0.4.tar.gz) = 6e6835169ad00b18ecc06b3b156f4ea4a26a3e0ee4a7780a88cee2e7deab7ce1
SIZE (pure-sql3-0.4.tar.gz) = 41610

View File

@ -0,0 +1,6 @@
Sql3 is an interface to the popular Sqlite3 database. The module provides a
minimal wrapper around Sqlite3's C interface which is designed to give the
developer access to all of Sqlite3's features in a way that is convenient
for Pure programmers.
WWW: http://docs.pure-lang.googlecode.com/hg/pure-sql3.html