blob: 1e2a7c4034f5bf5f5b9cc18e11713f81690f8b59 (
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
|
# $NetBSD: Makefile.common,v 1.13 2007/01/07 09:13:58 rillig Exp $
#
DISTNAME= mini_sendmail-1.3.6
CATEGORIES= mail
MASTER_SITES= http://www.acme.com/software/mini_sendmail/
MAINTAINER= is@NetBSD.org
HOMEPAGE= http://www.acme.com/software/mini_sendmail/
COMMENT= Accept email on behalf of the real sendmail without spooling
PKG_INSTALLATION_TYPES= overwrite pkgviews
FILESDIR= ${.CURDIR}/../mini_sendmail/files
EGDIR= ${PREFIX}/share/examples/mini_sendmail
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == SunOS)
MAKE_ENV+="SYSV_LIBS=-lsocket -lnsl"
.endif
post-build:
${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
<${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EGDIR}
.include "../../mk/bsd.pkg.mk"
|