pkgsrc/net/couriertcpd/Makefile
pettai ef568ee609 courier-0.65.0 et al:
* gpglib/list.c: Handle GnuPG 2 --with-colons output format changes.
* gpglib/mimegpgfork.c: GnuPG 2 wants --batch when specifying passphrase-fd.
* tcpd/configure.in: Check if explicit linking with libgpg-error is required.
* tcpd/libcouriergnutls.c (tls_connect): Fix bad call to
  gnutls_server_name_set(). Affects Courier compiled with GnuTLS support.
* maildrop/mailbot.c (main): Set close-on-exec bit on opened files.
* courier/doc/courier.sgml: Move the SPF section to a separate refsect2
  to work around misformatting by the manpage stylesheet.
* rfc2045/rfc2045reply.c (mkreply): Fix sender's name in the reply salutation.
* html/en-us/newmsg.html: Ditto.
* rfc2045/reformime.sgml: Document the -c option to reformime.
* imapd.c (main): Fix typo in alert message.
* Big quota patch (with some changes).

(See the Changelog(s) for previous releases)

Based on patch(es) from PR pkg/42989 by Brian Candler.
2010-06-15 23:01:23 +00:00

65 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2010/06/15 23:01:23 pettai Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/tcpd-/}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Courier TCP socket and TLS servers
HOMEPAGE= http://www.courier-mta.org/
CONFLICTS= courier-imap<4.1.1
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
.include "options.mk"
.include "../../mail/courier-mta/Makefile.common"
# This package doesn't need to depend on courier-authlib -- just fake
# out the top-level configure script that thinks it needs
# courierauthconfig.
#
CONFIGURE_ENV+= ac_cv_path_COURIERAUTHCONFIG=${TRUE:Q}
# These are files required by the Courier configure scripts.
WRKSRC_FILES= courier/courier.c config.guess config.sub \
configure depcomp install-sh ltmain.sh missing \
sysconftool
WRKSRC_FILES+= Makefile.in courier.spec.in courier.lpspec.in \
dbobj.h.in dbobj.config.in courier.sysvinit.in
# These are subdirectories containing libraries used by couriertcpd.
WRKSRC_SUBDIRS= bdbobj numlib soxwrap md5 random128 rfc1035 \
liblock waitlib tcpd
EXTRACT_ELEMENTS= ${WRKSRC_FILES:S/^/${DISTNAME}\//}
EXTRACT_ELEMENTS+= ${WRKSRC_SUBDIRS:S/^/${DISTNAME}\//}
BUILD_DIRS= ${WRKSRC_SUBDIRS:S/^/${WRKSRC}\//}
INSTALLATION_DIRS= bin sbin ${PKGMANDIR}/man1 ${DOCDIR}
REQD_DIRS= ${DOCDIR}
MAKE_DIRS+= ${COURIER_STATEDIR}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertcpd \
${DESTDIR}${PREFIX}/sbin/couriertcpd
${INSTALL_MAN} ${WRKSRC}/tcpd/couriertcpd.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/couriertcpd.1
${INSTALL_DATA} ${WRKSRC}/tcpd/couriertcpd.html \
${DESTDIR}${DOCDIR}/couriertcpd.html
${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertls \
${DESTDIR}${PREFIX}/bin/couriertls
${INSTALL_MAN} ${WRKSRC}/tcpd/couriertls.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/couriertls.1
${INSTALL_DATA} ${WRKSRC}/tcpd/couriertls.html \
${DESTDIR}${DOCDIR}/couriertls.html
.include "../../mk/bsd.pkg.mk"