development and profile are special tags and should always be the last component
of the name if present
This commit is contained in:
parent
9269ba461b
commit
6b710cc6fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-pkg/; revision=280215
13
release/packages/lib32-development.ucl
Normal file
13
release/packages/lib32-development.ucl
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name = "FreeBSD-lib32-development"
|
||||||
|
origin = "base"
|
||||||
|
version = "%VERSION%"
|
||||||
|
comment = "32bits libraries"
|
||||||
|
categories = [ base ]
|
||||||
|
maintainer = "re@FreeBSD.org"
|
||||||
|
www = "http://www.FreeBSD.org"
|
||||||
|
prefix = "/"
|
||||||
|
licenselogic = "single"
|
||||||
|
licenses = [ BSD2CLAUSE ]
|
||||||
|
desc = <<EOD
|
||||||
|
TODO
|
||||||
|
EOD
|
13
release/packages/lib32-profile.ucl
Normal file
13
release/packages/lib32-profile.ucl
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name = "FreeBSD-lib32-profile"
|
||||||
|
origin = "base"
|
||||||
|
version = "%VERSION%"
|
||||||
|
comment = "32bits libraries"
|
||||||
|
categories = [ base ]
|
||||||
|
maintainer = "re@FreeBSD.org"
|
||||||
|
www = "http://www.FreeBSD.org"
|
||||||
|
prefix = "/"
|
||||||
|
licenselogic = "single"
|
||||||
|
licenses = [ BSD2CLAUSE ]
|
||||||
|
desc = <<EOD
|
||||||
|
TODO
|
||||||
|
EOD
|
@ -1,7 +1,7 @@
|
|||||||
name = "FreeBSD-lib32"
|
name = "FreeBSD-lib32"
|
||||||
origin = "base"
|
origin = "base"
|
||||||
version = "%VERSION%"
|
version = "%VERSION%"
|
||||||
comment = "32bits libraries
|
comment = "32bits libraries"
|
||||||
categories = [ base ]
|
categories = [ base ]
|
||||||
maintainer = "re@FreeBSD.org"
|
maintainer = "re@FreeBSD.org"
|
||||||
www = "http://www.FreeBSD.org"
|
www = "http://www.FreeBSD.org"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
if (length(tags) == 0)
|
if (length(tags) == 0)
|
||||||
next
|
next
|
||||||
if (tags ~ /package=/) {
|
if (tags ~ /package=/) {
|
||||||
ext = pkgname = ""
|
ext = pkgname = pkgend = ""
|
||||||
split(tags, a, ",");
|
split(tags, a, ",");
|
||||||
for (i in a) {
|
for (i in a) {
|
||||||
if (a[i] ~ /^package=/) {
|
if (a[i] ~ /^package=/) {
|
||||||
@ -33,17 +33,29 @@
|
|||||||
gsub(/package=/, "", pkgname)
|
gsub(/package=/, "", pkgname)
|
||||||
} else if (a[i] == "config") {
|
} else if (a[i] == "config") {
|
||||||
type="config"
|
type="config"
|
||||||
|
} else if (a[i] == "development" || a[i] == "profile") {
|
||||||
|
pkgend=a[i]
|
||||||
} else {
|
} else {
|
||||||
ext=a[i]
|
if (ext != "")
|
||||||
|
ext=ext"-"a[i]
|
||||||
|
else
|
||||||
|
ext=a[i]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (length(ext) > 0) {
|
if (ext != "") {
|
||||||
if (pkgname == "runtime") {
|
if (pkgname == "runtime") {
|
||||||
pkgname=ext
|
pkgname=ext
|
||||||
} else {
|
} else {
|
||||||
pkgname=pkgname"-"ext
|
pkgname=pkgname"-"ext
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (pkgend != "") {
|
||||||
|
if (pkgname == "runtime") {
|
||||||
|
pkgname=pkgend
|
||||||
|
} else {
|
||||||
|
pkgname=pkgname"-"pkgend
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
print "No packages specified in line: $0" > 2
|
print "No packages specified in line: $0" > 2
|
||||||
next
|
next
|
||||||
|
Loading…
Reference in New Issue
Block a user