2011-08-11 13:53:41 +02:00
|
|
|
# New ports collection makefile for: godis
|
|
|
|
# Date created: 20 June , 2011
|
|
|
|
# Whom: Grzegorz Blach <magik@roorback.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= godis
|
2012-05-15 00:01:25 +02:00
|
|
|
PORTVERSION= 20120405
|
2011-08-11 13:53:41 +02:00
|
|
|
CATEGORIES= databases
|
2011-09-22 18:43:10 +02:00
|
|
|
MASTER_SITES= LOCAL/jlaffaye
|
2011-08-11 13:53:41 +02:00
|
|
|
|
|
|
|
MAINTAINER= magik@roorback.net
|
|
|
|
COMMENT= A Redis client library written in Go
|
|
|
|
|
|
|
|
USE_GO= yes
|
2012-05-15 00:01:25 +02:00
|
|
|
GO_PKGNAME= ${SUBLIBDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
SUBLIBDIR= github.com/simonz05
|
|
|
|
|
|
|
|
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
|
2011-08-11 13:53:41 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2011-09-22 18:43:10 +02:00
|
|
|
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
|
2011-08-11 13:53:41 +02:00
|
|
|
.include <bsd.port.post.mk>
|