blob: b92ee7db22e514ee0796cd3c2bbef4ad963cd2e9 (
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
|
# $NetBSD: Makefile,v 1.5 1999/10/07 17:41:55 tron Exp $
DISTNAME= sendmail.8.9.3
PKGNAME= sendmail-8.9.3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
ftp://ftp.cert.dfn.de/pub/tools/net/sendmail/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.sendmail.org/
DEPENDS+= db-2.7.3:../../databases/db
LICENSE= no-profit
NO_CONFIGURE= yes
MAKE_ENV+= BSD_BINOWN="${BINOWN}" BSD_BINGRP="${BINGRP}" \
BSD_MANOWN="${MANOWN}" BSD_MANGRP="${MANGRP}"
MESSAGE_FILE= ${WRKDIR}/MESSAGE
WRKSRC= ${WRKDIR}/${PKGNAME}
OBJDIR!= echo obj.`uname -srm | tr \ .`
post-build:
${SED} -e 's#@@PKGNAME@@#${PKGNAME}#g' \
-e 's#@@PREFIX@@#${PREFIX}#g' \
<${PKGDIR}/MESSAGE >${MESSAGE_FILE}
${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
<${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf.sendmail
pre-install:
${MKDIR} ${PREFIX}/libexec/sendmail
post-install:
${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/etc
${CP} -pr ${WRKSRC}/cf ${PREFIX}/share/sendmail
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
.include "../../mk/bsd.pkg.mk"
|