8 export ASSUME_ALWAYS_YES="YES"
9 export PKG_DBDIR="/tmp/pkg"
10 export PERMISSIVE="YES"
11 export REPO_AUTOUPDATE="NO"
12 export PKGCMD="/usr/sbin/pkg -d"
14 DVD_PACKAGES="archivers/unzip
16 devel/subversion-static
17 emulators/linux_base-f10
29 x11-drivers/xf86-video-vmware
34 # If NOPORTS is set for the release, do not attempt to build pkg(8).
35 if [ ! -f /usr/ports/Makefile ]; then
39 if [ ! -x /usr/local/sbin/pkg ]; then
40 /usr/bin/make -C /usr/ports/ports-mgmt/pkg install clean
43 PKG_ABI=$(pkg -vv | grep ^ABI | awk '{print $3}')
44 PKG_ABI="${PKG_ABI%\";}"
45 PKG_ABI="${PKG_ABI#\"}"
47 export PKG_REPODIR="dvd/packages/${PKG_ABI}"
48 export PKG_CACHEDIR="${PKG_REPODIR}/All"
50 /bin/mkdir -p ${PKG_CACHEDIR}
52 # Print pkg(8) information to make debugging easier.
55 ${PKGCMD} fetch -d ${DVD_PACKAGES}
57 ${PKGCMD} repo ${PKG_REPODIR}
59 # Always exit '0', even if pkg(8) complains about conflicts.