pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang lang: Re-enable lang/go as a meta package.
details: https://anonhg.NetBSD.org/pkgsrc/rev/66f95b05f406
branches: trunk
changeset: 315315:66f95b05f406
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Nov 21 11:25:00 2018 +0000
description:
lang: Re-enable lang/go as a meta package.
This allows users to simply install a "go" package and pull in the latest
version available for their host operating system without having to figure
out the name for the correct suffixed package.
diffstat:
lang/Makefile | 4 ++--
lang/go/DESCR | 8 ++++++++
lang/go/Makefile | 18 ++++++++++++++++++
3 files changed, 28 insertions(+), 2 deletions(-)
diffs (52 lines):
diff -r 5237956c248c -r 66f95b05f406 lang/Makefile
--- a/lang/Makefile Wed Nov 21 11:22:10 2018 +0000
+++ b/lang/Makefile Wed Nov 21 11:25:00 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.499 2018/10/24 08:37:00 leot Exp $
+# $NetBSD: Makefile,v 1.500 2018/11/21 11:25:00 jperkin Exp $
#
COMMENT= Programming languages
@@ -89,7 +89,7 @@
SUBDIR+= ghc7
SUBDIR+= gnat_util
SUBDIR+= gnucobol
-#SUBDIR+= go # only contains Makefile fragments
+SUBDIR+= go
SUBDIR+= go-hcl
SUBDIR+= go110
SUBDIR+= go111
diff -r 5237956c248c -r 66f95b05f406 lang/go/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go/DESCR Wed Nov 21 11:25:00 2018 +0000
@@ -0,0 +1,8 @@
+This is a meta package providing the latest release of the Go
+programming language that is available for the host system.
+
+The actual Go programming language is provided by packages such as
+lang/go111, lang/go110, etc. This package merely allows users to
+install "go" instead of having to figure out the exact package name.
+
+No package should depend on this package directly.
diff -r 5237956c248c -r 66f95b05f406 lang/go/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go/Makefile Wed Nov 21 11:25:00 2018 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.69 2018/11/21 11:25:00 jperkin Exp $
+
+DISTNAME= # empty
+PKGNAME= go-${GO${GOVERSSUFFIX}_VERSION}
+CATEGORIES= lang
+MASTER_SITES= # empty
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://golang.org/
+COMMENT= Meta package providing the current release of the Go language
+LICENSE= modified-bsd
+
+META_PACKAGE= yes
+
+DEPENDS+= ${GO_PACKAGE_DEP}
+
+.include "../../lang/go/version.mk"
+.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index