aboutsummaryrefslogtreecommitdiffstats
path: root/www/webgo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/webgo/Makefile')
-rw-r--r--www/webgo/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/www/webgo/Makefile b/www/webgo/Makefile
index d4a32c42af4c..9226e61bd27d 100644
--- a/www/webgo/Makefile
+++ b/www/webgo/Makefile
@@ -7,7 +7,6 @@
PORTNAME= webgo
PORTVERSION= 0.1.0.${SVNVERSION}
-PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= LOCAL/jlaffaye
DISTNAME= ${PORTNAME}-${SVNVERSION}
@@ -15,10 +14,18 @@ DISTNAME= ${PORTNAME}-${SVNVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Simplest way to write web applications in the Go programming language
-SVNVERSION= 20110915
-PLIST_FILES= ${GO_LIBDIR}/web.a
+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"