blob: ae785863ad4b49dd6946ad73b5e318976d6748a4 (
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
|
# $NetBSD: Makefile,v 1.17 2003/01/28 22:03:38 jlam Exp $
#
DISTNAME= qmail-1.03
PKGREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/ \
ftp://ftp.ntnu.no/pub/unix/mail/qmail/ \
ftp://ftp.jp.qmail.org/qmail/ \
ftp://ftp.rifkin.technion.ac.il/pub/qmail/ \
ftp://ftp.net.ohio-state.edu/pub/networking/mail/qmail/ \
ftp://ftp.id.wustl.edu/pub/qmail/
MAINTAINER= zuntum@netbsd.org
HOMEPAGE= http://www.qmail.org/
COMMENT= SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems
DEPENDS+= qmail-users>=1.0:../../mail/qmail-users
ALL_TARGET= it man
INSTALL_TARGET= setup check
RESTRICTED= "djb does not permit modified binary packages"
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_PACKAGE= "needs work to function properly as a binary package"
USE_PKGINSTALL= yes
OWN_DIRS+= ${QMAILDIR}
FILES_SUBST+= QMAILDIR=${QMAILDIR}
RCD_SCRIPTS= qmail
RCD_SCRIPTS_EXAMPLEDIR= ${QMAILDIR}/etc/rc.d
.include "../../mk/bsd.prefs.mk"
NO_MTREE= YES
LOCALBASE= /
do-configure:
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
pre-install:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/mailer.conf \
> ${WRKDIR}/mailer.conf.qmail
post-install:
${INSTALL_DATA_DIR} ${QMAILDIR}/etc
${INSTALL_DATA} ${WRKDIR}/mailer.conf.qmail ${QMAILDIR}/etc
${INSTALL_DATA_DIR} ${QMAILDIR}/alias
cd ${QMAILDIR}/alias && \
${TOUCH} .qmail-postmaster .qmail-mailer-daemon .qmail-root
.include "../../mk/bsd.pkg.mk"
|