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