freebsd-ports/devel/prettygo/Makefile
Grzegorz Blach ed1ad7e1b9 - Change my email address to gblach@FreeBSD.org
- Change Makefile headers to shorter form

Feature safe:	yes
2012-11-04 13:05:04 +00:00

27 lines
709 B
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= prettygo
PORTVERSION= 20120306
CATEGORIES= devel
MASTER_SITES= LOCAL/jlaffaye
MAINTAINER= gblach@FreeBSD.org
COMMENT= Pretty-printing package for go values
USE_GO= yes
GO_PKGNAME= github.com/kr/pretty
SUBLIBDIR= github.com/kr
do-install:
${MKDIR} ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${INSTALL_DATA} ${GO_WRKDIR_PKG}/${SUBLIBDIR}/pretty.a ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${MKDIR} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}
.for f in diff.go formatter.go pretty.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>