aboutsummaryrefslogtreecommitdiff
path: root/mail/opensmtpd-extras-table-redis/Makefile
blob: 6e84e7cb450848fdd57e38845d671ff5c8c3eeaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PKGNAMESUFFIX=	-table-redis
PORTREVISION=	1

COMMENT=	Redis table support for OpenSMTPD

LIB_DEPENDS=	libhiredis.so:databases/hiredis

PLIST_FILES=	libexec/opensmtpd/table-redis \
			share/man/man5/table-redis.5.gz

CONFIGURE_ARGS+=	--with-table-redis
CONFIGURE_ENV=	REDIS_CONFIG=${LOCALBASE}/bin/pkgconf
CFLAGS+=	-I${LOCALBASE}/include/hiredis

USES=		pkgconfig

MASTERDIR=	${.CURDIR}/../opensmtpd-extras
SLAVE_PORT=	yes

.include "${MASTERDIR}/Makefile"