diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 2f293f7088..589bf282cc 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -4915,6 +4915,35 @@ BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \ + + Desktop entries + + Desktop Entries (Freedesktop + standard) can be easily created in your port using + DESKTOP_ENTRIES variable. These entries do + show up in application menus of compliant desktop environments + like GNOME or KDE. The .desktop file will + be created, installed, and added to the + pkg-plist automatically. Syntax is: + + DESKTOP_ENTRIES= "NAME" "COMMENT" "ICON" "COMMAND" "CATEGORY" StartupNotify + + List of possible categories is available on + Freedesktop website. The StartupNotify + indicates, if the application will clear the status in startup + notification aware environment. + + Example: + + DESKTOP_ENTRIES= "ToME" "Roguelike game based on JRR Tolkien's work" \ + "${DATADIR}/xtra/graf/tome-128.png" \ + "tome -v -g" "Application;Game;RolePlaying" \ + false + + +