mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
d16c2e222e
- Remove USE_GO (unused after r296612) - Convert Makefile headers to new style Approved by: portmgr (bapt) Feature safe: yes
27 lines
703 B
Makefile
27 lines
703 B
Makefile
# 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
|
|
|
|
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>
|