[PC-BSD Commits] r16105 - pcbsd/current/src-qt4/EasyPBI

svn at pcbsd.org svn at pcbsd.org
Fri Mar 30 09:12:37 PDT 2012


Author: kenmoore
Date: 2012-03-30 16:12:36 +0000 (Fri, 30 Mar 2012)
New Revision: 16105

Modified:
   pcbsd/current/src-qt4/EasyPBI/pbi.cpp
Log:
Add some extra port categories to be auto-detected for specific menu categories in EasyPBI



Modified: pcbsd/current/src-qt4/EasyPBI/pbi.cpp
===================================================================
--- pcbsd/current/src-qt4/EasyPBI/pbi.cpp	2012-03-30 16:07:27 UTC (rev 16104)
+++ pcbsd/current/src-qt4/EasyPBI/pbi.cpp	2012-03-30 16:12:36 UTC (rev 16105)
@@ -789,6 +789,12 @@
        strcpy(cat, "Office");
    else if ( strstr(data->port_dir, "sysutils") )
        strcpy(cat, "System");
+   else if ( strstr(data->port_dir, "biology") )
+       strcpy(cat, "Education");
+   else if ( strstr(data->port_dir, "science") )
+       strcpy(cat, "Education");
+   else if ( strstr(data->port_dir, "math") )
+       strcpy(cat, "Education");
    else
        strcpy(cat, "Utility");
 



More information about the Commits mailing list