diff options
author | Julien Laffaye <jlaffaye@FreeBSD.org> | 2012-05-14 22:03:32 +0000 |
---|---|---|
committer | Julien Laffaye <jlaffaye@FreeBSD.org> | 2012-05-14 22:03:32 +0000 |
commit | 41594ed4bfbea3cf053b8e309e5f81392437f8db (patch) | |
tree | 0b75c2f0117bb795b8d0f3e68869498349505f04 /databases | |
parent | e88fbe13839e6f342d5f620fe61cf1d30e0eb9d8 (diff) |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gosqlite3/Makefile | 19 | ||||
-rw-r--r-- | databases/gosqlite3/distinfo | 4 | ||||
-rw-r--r-- | databases/gosqlite3/pkg-plist | 22 |
3 files changed, 34 insertions, 11 deletions
diff --git a/databases/gosqlite3/Makefile b/databases/gosqlite3/Makefile index f95d291c4ad8..ae123c7d7896 100644 --- a/databases/gosqlite3/Makefile +++ b/databases/gosqlite3/Makefile @@ -6,24 +6,25 @@ # PORTNAME= gosqlite3 -PORTVERSION= 20110316 -PORTREVISION= 3 +PORTVERSION= 20120330 CATEGORIES= databases -MASTER_SITES= LOCAL/wen -DISTNAME= ${GITHUB_USER}-${PORTNAME}-${GIT_REVISION} +MASTER_SITES= LOCAL/jlaffaye MAINTAINER= lichray@gmail.com COMMENT= A Go interface for SQLite3 LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3 -PLIST_FILES= ${GO_LIBDIR}/sqlite3.a - USE_GO= yes -MAKE_ARGS+= CGO_CFLAGS+="-I${LOCALBASE}/include" CFLAGS="-I${LOCALBASE}/${GO_LIBDIR}" CGO_LDFLAGS="-L${LOCALBASE}/lib -lsqlite3" +GO_PKGNAME= ${SUBLIBDIR}/${PORTNAME} + +SUBLIBDIR= github.com/kuroneko -GITHUB_USER= feyeleanor -GIT_REVISION= 0f3e536 +do-install: + ${MKDIR} ${GO_LOCAL_LIBDIR}/${SUBLIBDIR} + ${INSTALL_DATA} ${GO_WRKDIR_PKG}/${SUBLIBDIR}/gosqlite3.a ${GO_LOCAL_LIBDIR}/${SUBLIBDIR} + ${MKDIR} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME} + (cd ${GO_WRKSRC}/ && ${COPYTREE_SHARE} \* ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}) .include <bsd.port.pre.mk> .include "${PORTSDIR}/lang/go/files/bsd.go.mk" diff --git a/databases/gosqlite3/distinfo b/databases/gosqlite3/distinfo index b5e4af3a6bbd..c31e95512f99 100644 --- a/databases/gosqlite3/distinfo +++ b/databases/gosqlite3/distinfo @@ -1,2 +1,2 @@ -SHA256 (feyeleanor-gosqlite3-0f3e536.tar.gz) = 8f6f538846865e6d9e317e5deb30e1c7418f589a8e6c325e53f242678c84d811 -SIZE (feyeleanor-gosqlite3-0f3e536.tar.gz) = 7125 +SHA256 (gosqlite3-20120330.tar.gz) = bb64dacbc61d3ea686ff60d039e7a795a99547ae4c991d544e3e9ef7dd6d64a3 +SIZE (gosqlite3-20120330.tar.gz) = 11079 diff --git a/databases/gosqlite3/pkg-plist b/databases/gosqlite3/pkg-plist new file mode 100644 index 000000000000..236c3cd4aa1f --- /dev/null +++ b/databases/gosqlite3/pkg-plist @@ -0,0 +1,22 @@ +%%GO_LIBDIR%%/github.com/kuroneko/gosqlite3.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README +%%GO_SRCDIR%%/%%GO_PKGNAME%%/backup.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/database.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/database_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/errors.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/helpers_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/progress.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/query_parameter.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/query_parameter_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/result_column.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/result_column_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/sql_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/sqlite3.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/sqlite3_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/statement.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/table.go +@dirrmtry %%GO_LIBDIR%%/github.com/kuroneko +@dirrmtry %%GO_LIBDIR%%/github.com +@dirrm %%GO_SRCDIR%%/%%GO_PKGNAME%% +@dirrmtry %%GO_SRCDIR%%/github.com/kuroneko +@dirrmtry %%GO_SRCDIR%%/github.com |