blob: dc1eb7bbb5ad8223b0a69f6a4faeefcc7fbc6837 (
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
|
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= godis
PORTVERSION= 20120405
CATEGORIES= databases
MASTER_SITES= LOCAL/jlaffaye
MAINTAINER= gblach@FreeBSD.org
COMMENT= A Redis client library written in Go
GO_PKGNAME= ${SUBLIBDIR}/${PORTNAME}
SUBLIBDIR= github.com/simonz05
NO_STAGE= yes
do-install:
${MKDIR} ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${INSTALL_DATA} ${GO_WRKDIR_PKG}/${SUBLIBDIR}/godis.a ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${MKDIR} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}
.for f in godis.go commands.go conn.go
${INSTALL_DATA} ${GO_WRKSRC}/${f} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}
.endfor
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>
|