Sysadmin > NetBSD > NetBSDafterboot > NetBSDmkconf
> cat /opt/pkg/etc/mk.conf 
# Example /opt/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Montag, 13. Oktober 2014, 14:17:22 Uhr CEST

.ifdef BSD_PKG_MK       # begin pkgsrc settings

PKGSRC_COMPILER=        gcc

PKG_DBDIR=              /opt/pkg/db/pkg
LOCALBASE=              /opt/pkg
VARBASE=                /var/pkg
PKG_TOOLS_BIN=          /opt/pkg/sbin
PKGINFODIR=             info
PKGMANDIR=              man

TOOLS_PLATFORM.install?=        /opt/pkg/bin/bsdinstall
TOOLS_PLATFORM.sh?=             /opt/pkg/bin/pdksh
TOOLS_PLATFORM.ksh?=            /opt/pkg/bin/pdksh
TOOLS_PLATFORM.awk?=            /opt/pkg/bin/nawk
TOOLS_PLATFORM.sed?=            /opt/pkg/bin/nbsed
TOOLS_PLATFORM.sh?=             /bin/dash

PACKAGES=               /opt/packages
DISTDIR=                /opt/distfiles
PKGSRCDIR=              /usr/pkgsrc

#TEMP
#GCCBASE=/opt/pkg/gcc45/bin/gcc
#USE_NATIVE_GCC=yes
#PKG_DEBUG_LEVEL=       2

CFLAGS+=-O2
CXXFLAGS+=-O2
CC=/opt/pkg/gcc45/bin/gcc
CXX=/opt/pkg/gcc45/bin/g++
X11_TYPE=modular
PKG_DEVELOPER=yes
PKG_DEFAULT_OPTIONS+=freetype truetype mmx subpixel official-mozilla-branding

CFLAGS.SunOS+=  -Du_int32_t=uint32_t
LDFLAGS.SunOS+= -lsocket -lnsl

.endif                  # end pkgsrc settings
ACCEPTABLE_LICENSES+= vim-license
#PKG_OPTIONS.gnupg=idea i586-optimized
ACCEPTABLE_LICENSES+= idea-license
PKG_OPTIONS.gnuplot=gd lua pdf
#PKG_OPTIONS.mysql5=embedded-server -ssl
#PKG_OPTIONS.perl=64bitauto -dtrace threads
#PKG_OPTIONS.perl=64bitauto -dtrace threads debug
ACCEPTABLE_LICENSES+= openssl
PKG_OPTIONS.screen=ncurses
PKG_OPTIONS.irssi=inet6 perl ssl
PKG_OPTIONS.gnuplot=gd lua pdf -x11
PKG_OPTIONS.nmap=lua
ACCEPTABLE_LICENSES+= gnu-agpl-v3