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"
|
||||
origin = "base"
|
||||
version = "%VERSION%"
|
||||
comment = "32bits libraries
|
||||
comment = "32bits libraries"
|
||||
categories = [ base ]
|
||||
maintainer = "re@FreeBSD.org"
|
||||
www = "http://www.FreeBSD.org"
|
||||
|
@ -25,7 +25,7 @@
|
||||
if (length(tags) == 0)
|
||||
next
|
||||
if (tags ~ /package=/) {
|
||||
ext = pkgname = ""
|
||||
ext = pkgname = pkgend = ""
|
||||
split(tags, a, ",");
|
||||
for (i in a) {
|
||||
if (a[i] ~ /^package=/) {
|
||||
@ -33,17 +33,29 @@
|
||||
gsub(/package=/, "", pkgname)
|
||||
} else if (a[i] == "config") {
|
||||
type="config"
|
||||
} else if (a[i] == "development" || a[i] == "profile") {
|
||||
pkgend=a[i]
|
||||
} else {
|
||||
if (ext != "")
|
||||
ext=ext"-"a[i]
|
||||
else
|
||||
ext=a[i]
|
||||
}
|
||||
}
|
||||
if (length(ext) > 0) {
|
||||
if (ext != "") {
|
||||
if (pkgname == "runtime") {
|
||||
pkgname=ext
|
||||
} else {
|
||||
pkgname=pkgname"-"ext
|
||||
}
|
||||
}
|
||||
if (pkgend != "") {
|
||||
if (pkgname == "runtime") {
|
||||
pkgname=pkgend
|
||||
} else {
|
||||
pkgname=pkgname"-"pkgend
|
||||
}
|
||||
}
|
||||
} else {
|
||||
print "No packages specified in line: $0" > 2
|
||||
next
|
||||
|
Loading…
Reference in New Issue
Block a user