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 18PKGCONF?= FreeBSD.conf.${PKGCONFBRANCH} 19CONFS= ${PKGCONF} 20CONFSNAME_${PKGCONF}= ${PKGCONF:C/\.conf.+$/.conf/} 21CONFSDIR= /etc/pkg 22CONFSMODE= 644 23PROG= pkg 24SRCS= pkg.c dns_utils.c config.c 25MAN= pkg.7 26 27CFLAGS+=-I${SRCTOP}/contrib/libucl/include 28.PATH: ${SRCTOP}/contrib/libucl/include 29LIBADD= archive fetch ucl crypto ssl util 30 31.include <bsd.prog.mk> 32