# Ports collection makefile for: go # Date created: 04 December 2010 # Whom: Devon H. O'Dell # # $FreeBSD$ # PORTNAME= go PORTVERSION= 20101027 PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= LOCAL/wen DISTNAME= go-${PORTVERSION} MAINTAINER= devon.odell@gmail.com COMMENT= An experimental, concurrent, garbage-collected language BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ bison:${PORTSDIR}/devel/bison ONLY_FOR_ARCHS= i386 amd64 USE_GMAKE= yes GOMAKEDIR= lib/go/src SUB_FILES= pkg-message SUB_LIST+= GOOBJ=${GOOBJ} \ ARCH=${GOARCH} .include .if ${ARCH} == "i386" GOARCH=386 GOOBJ=8 .else GOARCH=amd64 GOOBJ=6 .endif GOBIN= ${WRKDIR}/bin MAKE_ENV= GOROOT=${WRKSRC} \ GOARCH=${GOARCH} \ GOBIN=${GOBIN} \ GOOS=freebsd PLIST_SUB+= ARCH=${GOARCH} \ GOOBJ=${GOOBJ} \ GOMAKEDIR=${GOMAKEDIR} pre-build: @${MKDIR} ${GOBIN} .if !defined(MAINTAINER_MODE) do-build: (cd ${WRKSRC}/src && \ GOROOT=${WRKSRC} \ GOARCH=${GOARCH} \ GOBIN=${GOBIN} \ GOOS=freebsd \ bash make.bash) .else (cd ${WRKSRC}/src && \ GOROOT=${WRKSRC} \ GOARCH=${GOARCH} \ GOBIN=${GOBIN} \ GOOS=freebsd \ bash all.bash) .endif post-install: @${CAT} ${PKGMESSAGE} do-install: .if !defined(NOPORTDOCS) ${INSTALL} -d -m 0755 ${DOCSDIR} ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} .endif ${INSTALL} -d -m 0755 ${PREFIX}/${GOMAKEDIR} ${INSTALL} -d -m 0755 ${PREFIX}/lib/go/pkg ${INSTALL} -m 0644 ${WRKSRC}/src/Make.common ${PREFIX}/${GOMAKEDIR} ${INSTALL} -m 0644 ${WRKSRC}/src/Make.pkg ${PREFIX}/${GOMAKEDIR} ${INSTALL} -m 0644 ${WRKSRC}/src/Make.cmd ${PREFIX}/${GOMAKEDIR} ${INSTALL} -m 0644 ${WRKSRC}/src/Make.ccmd ${PREFIX}/${GOMAKEDIR} ${INSTALL} -m 0644 ${WRKSRC}/src/Make.clib ${PREFIX}/${GOMAKEDIR} ${INSTALL} -m 0644 ${WRKSRC}/src/Make.inc ${PREFIX}/${GOMAKEDIR} ${CP} -R ${WRKSRC}/pkg/* ${PREFIX}/lib/go/pkg/ ${CP} -R ${WRKDIR}/bin/* ${PREFIX}/bin/ .include >treecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'GAL_1_99_11'.GAL_1_99_11nobody2004-02-20td>2018-1778420/+61
* Revert previous change, dohRodney Dawes2004-02-202-0/+5
* Fixes #45308 and duplicates.Hans Petter Jansson2004-02-202-6/+16
* Don't set the timeout id to 0 and then immediately return FALSE, whichRodney Dawes2004-02-202-1/+5
* Add sanity checking to the folder name if we are going to create it, justJeffrey Stedfast2004-02-20rts-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - update png to 1.5.10dinoex2012-06-011-1/+1
* - Remove unnecessary PKGNAMEPREFIX declarationsunpoet2011-01-092-3/+0
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* Fix dependency.hrs2009-05-311-2/+1
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Fix build:hrs2007-04-241-2/+3
* Migrate japanese/ptex{,-base,-tetex} to japanese/ptex; the old versionhrs2007-04-081-2/+2
* - Register CONFLICTS with textproc/latex2html [1]gabor2007-01-261-3/+6
* - Some programs needed to build latex2html are listed in "RUN_DEPENDS".clsung2006-11-02