1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/mail/emailrelay/Makefile
Tobias C. Berner 985d00b7c7 mail/emailrelay: remove GUI option (Qt4 deprecation)
Approved by:	portmgr (implicit)
2019-03-17 08:34:36 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Robert Nelson <robertn@the-nelsons.org>
# $FreeBSD$
PORTNAME= emailrelay
PORTVERSION= 1.9
PORTREVISION= 5
CATEGORIES= mail ipv6
MASTER_SITES= SF
EXTRACT_SUFX= -src.tar.gz
MAINTAINER= robertn@the-nelsons.org
COMMENT= Simple SMTP proxy and store-and-forward MTA
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= e_spooldir=${PREFIX}/var/spool/emailrelay
CONFIGURE_ARGS= --without-pam
USE_RC_SUBR= ${PORTNAME}
OPTIONS_DEFINE= DOCS DOXYGEN OPENSSL IPV6
OPTIONS_DEFAULT= OPENSSL
OPTIONS_SUB= yes
DOXYGEN_CONFIGURE_WITH= doxygen
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
OPENSSL_CONFIGURE_WITH= openssl
OPENSSL_USES= ssl
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
OPENSSL_CPPFLAGS= -I${OPENSSLINC}
IPV6_CONFIGURE_ENABLE= ipv6
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/emailrelay.auth.template \
${STAGEDIR}${PREFIX}/etc/emailrelay.auth.sample
${MV} ${STAGEDIR}${PREFIX}/etc/emailrelay.conf.template \
${STAGEDIR}${PREFIX}/etc/emailrelay.conf.sample
${RM} -r ${STAGEDIR}${PREFIX}/libexec/emailrelay/init
.include <bsd.port.mk>