pkgsrc/mail/netqmail/Makefile
schmonz 9da5a78de2 Remove add-on scripts and config files from the qmail and netqmail
packages. They now simply compile and install qmail and its
prerequisites. (The add-on scripts and config files will be revivified
as a separate qmail-run package. Thus, QMAIL_AUTOCONFIG is no longer
needed.)

The user is notified at install time that one popular, well-regarded
way to enable qmail is to follow the directions in "Life with
qmail", and that another way is to install the qmail-run package.

These changes, based on discussion with Charles Cazabon, are intended
to make life easier for the helpful people on the qmail mailing
list by clearly marking custom add-ons as such.

Other changes:

Since netqmail is a tarball containing the qmail tarball plus the
netqmail bits, we can use it for both packages and share more logic
between the two packages: MASTER_SITES, DISTINFO_FILE, WRKSRC, and
the post-extract target.

Now that there's one place to put the distinfo, add Eben Pratt's
simple patch to build and install on Mac OS X 10.3 (the patch is
not applied on other OSes).

Bump PKGREVISION of both packages.
2004-08-02 03:57:17 +00:00

28 lines
736 B
Makefile

# $NetBSD: Makefile,v 1.2 2004/08/02 03:57:17 schmonz Exp $
#
PKGNAME= ${DISTNAME}
PKGREVISION= 1
CATEGORIES= mail
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://qmail.org/netqmail/
COMMENT= Unofficial distribution of qmail that includes basic patches
CONFLICTS+= qmail-[0-9]*
USE_BUILDLINK3= yes
# netqmail is a modification of the qmail source.
RESTRICTED= "modified source and binaries may not be distributed"
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_PACKAGE= "needs work to function properly as a binary package"
APPLY_NETQMAIL= \
${PATCH} ${PATCH_DIST_ARGS} < ../${DISTNAME}.patch; \
cd ..; ${MV} ${QMAIL_VERS} ${DISTNAME}
.include "../../mail/qmail/Makefile.common"
.include "../../mk/bsd.pkg.mk"