ports/mail/opensmtpd-extras-table-redis/Makefile

20 lines
456 B
Makefile

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"