You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is the best way to get the description for a [physical] category.
I am not sure how this is done now.
[17:36 empty dan /usr/ports/arabic] % make -V COMMENT
Arabic language support
see verifyport.pm, where you'll find:
$category = $CategoriesChecked{$category_name};
if (!defined($category)) {
$category = FreshPorts::Category->new($dbh);
$category->{name} = $category_name;
my $category_id = $category->FetchByName();
if (defined($category_id)) {
print "Category $category_name has ID = $category_id\n";
} else {
# we need to create this catgory.
# remember to grab ports/<category>/pkg/COMMENT
# actually, it's in ports/<category>/Makefile as a COMMENT
print "creating new category $category_name\n";
FreshPorts::Utilities::ReportError('warning', "creating new category $category_name", 0);
$category->{is_primary} = 1;
$category_id = $category->save();
if (!defined($category_id)) {
FreshPorts::Utilities::ReportError('warning', "failed to create new category $category_name", 1);
}
$CategoriesChecked{$category_name} = $category;
The text was updated successfully, but these errors were encountered:
I think this is the best way to get the description for a [physical] category.
I am not sure how this is done now.
see
verifyport.pm
, where you'll find:The text was updated successfully, but these errors were encountered: