# freebsd-ports/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The following command was used: ocgitfetch --run \ --deletegit \ https://git.FreeBSD.org/ports.git freebsd-ports #--------------------------------------------------------------------- 2. This package installs a local copy of the FreeBSD "ports" tree. The tree is useful for Linux as well as FreeBSD developers as it includes patches that may apply in both contexts. #--------------------------------------------------------------------- 3. The files are stored in a single XZM file located in the directory "/static/xzm/". #--------------------------------------------------------------------- [buildtimes] 00.03 hours (or 001.77 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] configure = none license = See "license*.txt" in installed tree licfile = COPYRIGHT setup = boot tmpsize = 1088M #--------------------------------------------------------------------- [depends] squashfs-tools #--------------------------------------------------------------------- [build] MNTDIR=/mnt/freebsd-ports XZMDIR=/static/xzm XZMBASE=freebsd-ports.xzm XZMPATH=$XZMDIR/$XZMBASE touch $PKGDIR_PROD/placeholder.txt umount $MNTDIR 2> /dev/null || true umount $XZMPATH 2> /dev/null || true rm -fr $MNTDIR mkdir -p $MNTDIR mkdir -p $XZMDIR rm -fr $XZMPATH mksquashfs . $XZMPATH -b 1048576 tardate $XZMPATH || true #--------------------------------------------------------------------- [setup.boot] if [ -d $PRODTREE/freebsd-ports ]; then MNTDIR=/mnt/freebsd-ports mkdir -p $MNTDIR umount -l $MNTDIR >& /dev/null chmod 777 $MNTDIR xzm-boot-setup freebsd-ports $MNTDIR fi #--------------------------------------------------------------------- [urls] url_debian = n/a url_home = n/a url_lfs = n/a url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 230312 Added package. Started with 91b0cf80a ("git" hash).