07ee15b39b
From the [pkgviews] branch.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2002/07/22 23:30:29 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= qmail-1.03
|
|
PKGREVISION= 2
|
|
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
|
|
|
|
NO_PACKAGE= YES
|
|
|
|
OWN_DIRS+= ${QMAILDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
NO_MTREE= YES
|
|
LOCALBASE= /
|
|
|
|
DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL
|
|
|
|
pre-build:
|
|
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
|
${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
|
|
${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${QMAILDIR}/alias
|
|
cd ${QMAILDIR}/alias && \
|
|
${TOUCH} .qmail-postmaster .qmail-mailer-daemon .qmail-root
|
|
|
|
.include "../../mk/bsd.pkg.install.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|