aboutsummaryrefslogblamecommitdiff
path: root/www/webgo/Makefile
blob: 9226e61bd27de469aaf7cb89c7acf1940d6438c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                    
                              




                                                                                     
                        

                   








                                                                                           

                          
                                              
                           
# 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>