Script to install common packages
From FreeBSDwiki
Here's a script that will install common stuff you might want on a workstation. Comment out the things you don't want and uncomment the things you do want -- this is just my preference. There's a port, in misc/instant-workstation that used to do most of this for you, but it's marked as uninstallable and breaks a lot when you try to install it.
#!/bin/sh # #install desktop stuff # pkg_add -r xorg pkg_add -r xfce4 rox rox-mime-editor rox-session #pkg_add -r windowmaker #pkg_add -r gnome #pkg_add -r kde pkg_add -r xscreensaver #pkg_add -r gdm # # teh interwebaolnetslice stuff pkg_add -r firefox thunderbird flashplugin-firefox pkg_add -r curl wget #pkg_add -r mozilla flashplugin-mozilla pkg_add -r gaim gaim-encryption #pkg_add -r gdesklets # # multimedia majicking stuff pkg_add -r xmms pkg_add -r cdparanoia pkg_add -r grip pkg_add -r lame # # various #pkg_add -r filezilla pkg_add -r rdesktop grdesktop pkg_add -r sharity-light pkg_add -r bash3 # # file utilities pkg_add -r unrar pkg_add -r unzip # # file reading/office stuff pkg_add -r xpdf #pkg_add -r openofficeorg #pkg_add -r abiword # # rehash so we can see all this stuff already rehash