blob: ae123c7d7896e0a5d398845b5025da17c2c7da60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# New ports collection makefile for: gosqlite3
# Date created: Apr 11, 2011
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= gosqlite3
PORTVERSION= 20120330
CATEGORIES= databases
MASTER_SITES= LOCAL/jlaffaye
MAINTAINER= lichray@gmail.com
COMMENT= A Go interface for SQLite3
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
USE_GO= yes
GO_PKGNAME= ${SUBLIBDIR}/${PORTNAME}
SUBLIBDIR= github.com/kuroneko
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"
.include <bsd.port.post.mk>
|