Quando um pacote é criado, ele é colocado baixo de /usr/ports/packages/All e links são feitos de um ou mais subdiretórios do /usr/ports/packages. Os nomes destes subdiretórios são especificados pela variável CATEGORIES. It is intended to fazer a vida mais fácil para os usuários quando ele está andando na pilha de pacotes no site FTP ou CDROM. Por favor take a look at the existing categories and pick the ones that are suitable para seu port.
Esta lista também determina onde na arvore do ports o port está importado. Se você colocar mais que uma categoria aqui, it é assumed that os arquivos do port serão colocados no subdiretório com o nome na primeira categoria. Veja a seção categories para mais discussões sobre como escolher as categorias certas.
Se seu port realmente pertence a algo que é diferente de todos os existentes, você pode até criar uma novo nome da categoria. Nesse caso, por favor envie um mail para os lista de discussão sobre FreeBSD ports e o sistema de ports FreeBSD para propor uma nova categoria.
Primeiro, esta é a lista atual de categorias dos ports. Aquelas marcadas com um asterisco (*) são categorias-- virtuais aquelas que não teem um subdiretório correspondente na arvore do ports.
Nota: Para categorias não-virtuais, você encontrará uma descrição de uma-linha no arquivo pkg/COMMENT naquele subdiret'rrio (ex., archivers/pkg/COMMENT).
| Category | Description |
|---|---|
| accessibility* | Ports to help disabled users. |
| afterstep* | Ports to support the AfterStep window manager. |
| arabic | Arabic language support. |
| archivers | Archiving tools. |
| astro | Astronomical ports. |
| audio | Sound support. |
| benchmarks | Benchmarking utilities. |
| biology | Biology-related software. |
| cad | Computer aided design tools. |
| chinese | Chinese language support. |
| comms | Communication software. Mostly software to talk to your serial port. |
| converters | Character code converters. |
| databases | Databases. |
| deskutils | Things that used to be on the desktop before computers were invented. |
| devel | Development utilities. Do not put libraries here just because they are libraries--unless they truly do not belong anywhere else, they should not be in this category. |
| dns | DNS-related software. |
| editors | General editors. Specialized editors go in the section for those tools (e.g., a mathematical-formula editor will go in math). |
| elisp* | Emacs-lisp ports. |
| emulators | Emulators for other operating systems. Terminal emulators do not belong here--X-based ones should go to x11 and text-based ones to either comms or misc, depending on the exact functionality. |
| finance | Monetary, financial and related applications. |
| french | French language support. |
| ftp | FTP client and server utilities. If your port speaks both FTP and HTTP, put it in ftp with a secondary category of www. |
| games | Games. |
| german | German language support. |
| gnome* | Ports from the GNU Object Model Environment (GNOME) Project. |
| graphics | Graphics utilities. |
| haskell* | Software related to the Haskell language. |
| hebrew | Hebrew language support. |
| hungarian | Hungarian language support. |
| ipv6* | IPv6 related software. |
| irc | Internet Relay Chat utilities. |
| japanese | Japanese language support. |
| java | Software related to the Java language. |
| kde* | Ports from the K Desktop Environment (KDE) Project. |
| korean | Korean language support. |
| lang | Programming languages. |
| linux* | Linux applications and support utilities. |
| lisp* | Software related to the Lisp language. |
| Mail software. | |
| math | Numerical computation software and other utilities for mathematics. |
| mbone | MBone applications. |
| misc | Miscellaneous utilities--basically things that do not belong anywhere else. This is the only category that should not appear with any other non-virtual category. If you have misc with something else in your CATEGORIES line, that means you can safely delete misc and just put the port in that other subdirectory! |
| multimedia | Multimedia software. |
| net | Miscellaneous networking software. |
| news | USENET news software. |
| offix* | Ports from the OffiX suite. |
| palm | Software support for the Palm(tm) series. |
| parallel* | Applications dealing with parallelism in computing. |
| pear* | Ports related to the Pear PHP framework. |
| perl5* | Ports that require perl version 5 to run. |
| picobsd | Ports to support PicoBSD. |
| plan9* | Various programs from Plan9. |
| polish | Polish language support. |
| portuguese | Portuguese language support. |
| Printing software. Desktop publishing tools (previewers, etc.) belong here too. | |
| python* | Software related to the Python language. |
| ruby* | Software related to the Ruby language. |
| russian | Russian language support. |
| science | Scientific ports that do not fit into other categories such as astro, biology and math. |
| security | Security utilities. |
| shells | Command line shells. |
| sysutils | System utilities. |
| tcl76* | Ports that use Tcl version 7.6 to run. |
| tcl80* | Ports that use Tcl version 8.0 to run. |
| tcl81* | Ports that use Tcl version 8.1 to run. |
| tcl82* | Ports that use Tcl version 8.2 to run. |
| tcl83* | Ports that use Tcl version 8.3 to run. |
| textproc | Text processing utilities. It does not include desktop publishing tools, which go to print. |
| tk42* | Ports that use Tk version 4.2 to run. |
| tk80* | Ports that use Tk version 8.0 to run. |
| tk81* | Ports that use Tk version 8.1 to run. |
| tk82* | Ports that use Tk version 8.2 to run. |
| tk83* | Ports that use Tk version 8.3 to run. |
| tkstep80* | Ports that use TkSTEP version 8.0 to run. |
| ukrainian | Ukrainian language support. |
| vietnamese | Vietnamese language support. |
| windowmaker* | Ports to support the WindowMaker window manager. |
| www | Software related to the World Wide Web. HTML language support belongs here too. |
| x11 | The X Window System and friends. This category is only for software that directly supports the window system. Do not put regular X applications here. If your port is an X application, define USE_XLIB (implied by USE_IMAKE) and put it in the appropriate categories. Also, many of them go into other x11-* categories (see below). |
| x11-clocks | X11 clocks. |
| x11-fm | X11 file managers. |
| x11-fonts | X11 fonts and font utilities. |
| x11-servers | X11 servers. |
| x11-toolkits | X11 toolkits. |
| x11-wm | X11 window managers. |
| zope* | Zope support. |
Como muitas das categorias coincidem, você frequentemente tem que escolher qual das categorias deve ser a categoria primária de seu port. Há várias regras que governam esta questão. Aqui está a lista de prioridades, em diminuindo a ordem de precedencia:
Categorias específica de lingua sempre vem primeiro. Por exemplo, se seu port instala fontes X11 Japonesas, então sua linha de CATEGORIES leria japanese x11-fonts.
Categorias específicas conquistam as menos-específicas. Para instancia, um editor HTML deve ser listado como www editors, não the other way around. Também, você não precisa listar net quando o port pertence a quaisquer do irc, mail, mbone, news, security, ou www.
x11 é usado como uma categoria secundária somente quando a categoria primária é uma lingua natural. Em particular, você não deve colocar x11 na linha de categoria para aplicações do X.
Emacs modes devem ser colocados na mesma categoria do ports como a aplicação suportada pelo o mode, não em editors. Por exemplo, um Emacs mode para editar arquivos fontes de algumas linguagens de programação deve entrar em lang.
Se seu port realmente não pertence a nenhum local mais, coloque-o em misc.
Se você não está certo sobre que categoria, por favor coloque um comentário para que effect em seu send-pr(1) submission so nós podemos discutí-lo antes que nós o importemos. Se você é um committer, envie uma nota para o lista de discussão sobre FreeBSD ports e o sistema de ports FreeBSD assim nós podemos discutí-lo primeiro--muito frequentemente novos ports são importados a categoria errada somente para ser movidos para certa.