5e2c30f629
While here, set LICENSE=gnu-gpl-v2 and add user-destdir installation support. News ~~~~ THIS PROJECT IS NO LONGER BEING MAINTAINED. IF IT DOESN'T WORK FOR YOU SEE THESE LINKS <http://esmtp.sourceforge.net/links.html>. * Version 1.2 (2009-12-24): * Make force_mda in the esmtprc to work with the -t option (based on patch by Sourav K. Mandal) * Version 1.1 (2009-12-16): * Option to force local only MDA (Robert A.M. Diamond). * Use locking in esmtp-wrapper (Phil Sutter). * Update mutt option name in the user manual (Wu Fengguang). * Version 1.0 (2008-10-09): * Fix NTLM authentication (Nils Rennebarth). * Option to disable Message-ID header (Phil Sutter). * Version 0.6.0 (2007-09-03): * Handle CR-LF newline endings when parsing the headers. * Wrapper script for off-line mail delivery (Phil Sutter). * Document how to get CA certificates. * Corrections to the manpages (Reuben Thomas). * Tips for adding missing Date: headers in messages for local delivery (Bruce Schultz). * Use a reasonable default for the reverse path when one is not specified, instead of an empty one. * Prevent segfault expanding %F in the MDA string when the reverse path is not specified.
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2010/03/12 13:12:08 obache Exp $
|
|
#
|
|
|
|
DISTNAME= esmtp-1.2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=esmtp/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://esmtp.sourceforge.net/
|
|
COMMENT= Relay-only Mail Transfer Agent with sendmail-compatible syntax
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]*
|
|
CONFLICTS+= sendmail-[0-9]*
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= bison flex
|
|
PTHREAD_OPTS+= require
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing hardcoded paths.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= README esmtp.1 esmtprc.5 sample.esmtprc
|
|
SUBST_SED.paths= -e 's|/usr/bin|${PREFIX}/bin|g'
|
|
SUBST_SED.paths+= -e 's|/etc|${PKG_SYSCONFDIR}|g'
|
|
|
|
PKG_SYSCONFSUBDIR= esmtp
|
|
|
|
EGDIR= ${PREFIX}/share/examples/esmtp
|
|
CONF_FILES= ${EGDIR}/sample.esmtprc \
|
|
${PKG_SYSCONFDIR}/esmtprc
|
|
|
|
INSTALLATION_DIRS= ${EGDIR} share/doc/esmtp
|
|
|
|
.include "../../mail/libesmtp/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/sample.esmtprc ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/esmtp
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|