blob: 258ef1733d39a74120108a665a472b9e0f60b873 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# $NetBSD: Makefile,v 1.6 2007/06/08 15:18:42 rillig Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/tcpd-/}
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jlam@pkgsrc.org
COMMENT= Courier TCP socket and TLS servers
HOMEPAGE= http://www.courier-mta.org/
CONFLICTS= courier-imap<4.11
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
PKG_SUPPORTED_OPTIONS= # none
.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+= ${VARBASE}/run ${COURIER_STATEDIR}
BUILD_DEFS+= VARBASE
.include "../../security/openssl/buildlink3.mk"
SUBST_CLASSES+= bdb
SUBST_MESSAGE.bdb= Configuring to use ${BDB_LIBS}
SUBST_STAGE.bdb= post-patch
SUBST_FILES.bdb= configure bdbobj/configure.in bdbobj/configure
SUBST_SED.bdb= -e s,-ldb,${BDB_LIBS:M*:Q},g
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertcpd \
${PREFIX}/sbin/couriertcpd
${INSTALL_MAN} ${WRKSRC}/tcpd/couriertcpd.1 \
${PREFIX}/${PKGMANDIR}/man1/couriertcpd.1
${INSTALL_DATA} ${WRKSRC}/tcpd/couriertcpd.html \
${DOCDIR}/couriertcpd.html
${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertls \
${PREFIX}/bin/couriertls
${INSTALL_MAN} ${WRKSRC}/tcpd/couriertls.1 \
${PREFIX}/${PKGMANDIR}/man1/couriertls.1
${INSTALL_DATA} ${WRKSRC}/tcpd/couriertls.html \
${DOCDIR}/couriertls.html
.include "../../mk/bsd.pkg.mk"
|