summaryrefslogtreecommitdiff
path: root/mail/mini_sendmail/Makefile.common
blob: 9058fe3709b5d2eb9d51f244b2361b8778eb0a90 (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
# $NetBSD: Makefile.common,v 1.19 2020/01/26 17:31:35 rillig Exp $
#

DISTNAME=	mini_sendmail-1.3.6
CATEGORIES=	mail
MASTER_SITES=	http://www.acme.com/software/mini_sendmail/
LICENSE=	2-clause-bsd

MAINTAINER=	is@NetBSD.org
HOMEPAGE=	https://www.acme.com/software/mini_sendmail/
COMMENT=	Accept email on behalf of the real sendmail without spooling

FILESDIR=	${.CURDIR}/../mini_sendmail/files

EGDIR=		share/examples/mini_sendmail

INSTALLATION_DIRS=	${PKGMANDIR}/man8 sbin ${EGDIR}

MAKE_ENV.SunOS+=	"SYSV_LIBS=-lsocket -lnsl"

post-build:
	${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
	    <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf

post-install:
	${INSTALL_DATA} ${WRKDIR}/mailer.conf ${DESTDIR}${PREFIX}/${EGDIR}

.include "../../mk/bsd.pkg.mk"