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