2012-04-15 15:13:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2019-09-19 16:43:12 +00:00
|
|
|
_BRANCH!= ${MAKE} -C ${SRCTOP}/release -V BRANCH
|
|
|
|
BRANCH?= ${_BRANCH}
|
2019-10-08 18:58:23 +00:00
|
|
|
.if ${BRANCH:MCURRENT} != ""
|
|
|
|
PKGCONFBRANCH?= latest
|
|
|
|
.else
|
2019-09-19 16:43:12 +00:00
|
|
|
. if ${BRANCH:MBETA*} || ${BRANCH:MRC*} || ${BRANCH:MRELEASE*}
|
|
|
|
PKGCONFBRANCH?= quarterly
|
|
|
|
. else
|
2019-10-08 18:58:23 +00:00
|
|
|
. if ${MACHINE} != "amd64" && ${MACHINE} != "i386"
|
|
|
|
PKGCONFBRANCH?= quarterly
|
|
|
|
. else
|
2019-04-24 06:25:21 +00:00
|
|
|
PKGCONFBRANCH?= latest
|
2019-10-08 18:58:23 +00:00
|
|
|
. endif
|
2019-09-19 16:43:12 +00:00
|
|
|
. endif
|
|
|
|
.endif
|
2019-04-24 06:25:21 +00:00
|
|
|
CONFS= FreeBSD.conf.${PKGCONFBRANCH}
|
|
|
|
CONFSNAME= FreeBSD.conf
|
2018-07-31 16:42:03 +00:00
|
|
|
CONFSDIR= /etc/pkg
|
|
|
|
CONFSMODE= 644
|
2012-04-15 15:13:36 +00:00
|
|
|
PROG= pkg
|
2013-03-05 13:31:06 +00:00
|
|
|
SRCS= pkg.c dns_utils.c config.c
|
2013-10-30 10:39:14 +00:00
|
|
|
MAN= pkg.7
|
2012-04-15 15:13:36 +00:00
|
|
|
|
2017-03-04 11:38:03 +00:00
|
|
|
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
|
|
|
|
.PATH: ${SRCTOP}/contrib/libucl/include
|
2015-09-08 21:25:36 +00:00
|
|
|
LIBADD= archive fetch ucl sbuf crypto ssl
|
2012-04-15 15:13:36 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|