1 2PACKAGE= pkg-bootstrap 3 4_BRANCH!= ${MAKE} -C ${SRCTOP}/release -V BRANCH 5BRANCH?= ${_BRANCH} 6.if ${BRANCH:MCURRENT} != "" 7PKGCONFBRANCH?= latest 8.else 9. if ${BRANCH:MBETA*} || ${BRANCH:MRC*} || ${BRANCH:MRELEASE*} 10PKGCONFBRANCH?= quarterly 11. else 12. if ${MACHINE} != "amd64" && ${MACHINE} != "i386" && ${MACHINE} != "arm64" 13PKGCONFBRANCH?= quarterly 14. else 15PKGCONFBRANCH?= latest 16. endif 17. endif 18.endif 19PKGCONF?= FreeBSD.conf.${PKGCONFBRANCH} 20CONFS= ${PKGCONF} 21CONFSNAME_${PKGCONF}= ${PKGCONF:C/\.conf.+$/.conf/} 22CONFSDIR= /etc/pkg 23CONFSMODE= 644 24PROG= pkg 25SRCS= pkg.c dns_utils.c config.c hash.c 26MAN= pkg.7 27 28CFLAGS+=-I${SRCTOP}/contrib/libucl/include 29.PATH: ${SRCTOP}/contrib/libucl/include 30LIBADD= archive fetch ucl crypto ssl util md 31 32.include <bsd.prog.mk> 33