1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/webgo/Makefile
Julien Laffaye 7dca9e3dd5 - Update to 20120419
PR:		ports/167344
Approved by:	wen (maintainer)
2012-05-14 22:09:38 +00:00

33 lines
829 B
Makefile

# New ports collection makefile for: webgo
# Date created: Nov 22, 2010
# Whom: Wen Heping <wen@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= webgo
PORTVERSION= 0.1.0.${SVNVERSION}
CATEGORIES= www
MASTER_SITES= LOCAL/jlaffaye
DISTNAME= ${PORTNAME}-${SVNVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Simplest way to write web applications in the Go programming language
SVNVERSION= 20120419
USE_GO= yes
GO_PKGNAME= ${SUBLIBDIR}/web
SUBLIBDIR= github.com/hoisie
do-install:
${MKDIR} ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${INSTALL_DATA} ${GO_WRKDIR_PKG}/${SUBLIBDIR}/web.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>