diff options
author | ad <ad@pkgsrc.org> | 1999-09-07 13:22:50 +0000 |
---|---|---|
committer | ad <ad@pkgsrc.org> | 1999-09-07 13:22:50 +0000 |
commit | 68bdb99c19f24c7ba1ae18ca17d6f29223a236ee (patch) | |
tree | fc7fa9650b0f4fb8a31d6e0894e3c8ec651ccbed /mail | |
parent | 88e67247f7076a7b1d67c8a2b086541404768fc2 (diff) | |
download | pkgsrc-68bdb99c19f24c7ba1ae18ca17d6f29223a236ee.tar.gz |
Makefile for exim.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/exim/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile new file mode 100644 index 00000000000..e00446454d4 --- /dev/null +++ b/mail/exim/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1 1999/09/07 13:22:50 ad Exp $ + +DISTNAME= exim-3.03 +CATEGORIES= mail +MASTER_SITES= ftp://ftp.exim.org/pub/exim/ \ + ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/ \ + ftp://ftp.esat.net/pub/networking/mail/mta/exim/ + +MAINTAINER= ad@netbsd.org +HOMEPAGE= http://www.exim.org/ + +DEPENDS+= perl-5.00404:../../lang/perl5 + +pre-patch: + ${MKDIR} ${WRKSRC}/Local + ${CP} ${WRKSRC}/src/EDITME ${WRKSRC}/Local/Makefile.netbsd + +pre-configure: + ${SED} -e 's:@PREFIX@:${PREFIX}:' \ + < ${WRKSRC}/Local/Makefile.netbsd \ + > ${WRKSRC}/Local/Makefile + +pre-install: + ${MKDIR} ${PREFIX}/etc/exim + ${MKDIR} /var/log/exim + ${CHMOD} 750 /var/log/exim + strip ${WRKSRC}/build*/exim + strip ${WRKSRC}/build*/exim_dbmbuild + strip ${WRKSRC}/build*/exim_tidydb + strip ${WRKSRC}/build*/exim_fixdb + strip ${WRKSRC}/build*/exim_dumpdb + strip ${WRKSRC}/build*/exim_lock + +post-install: + (cd ${PREFIX}/sbin; ${RM} -f mailq; ${LN} -s exim mailq) + ${MKDIR} ${PREFIX}/etc/rc.d + ${SED} -e 's:@PREFIX@:${PREFIX}:' \ + < ${FILESDIR}/exim.sh \ + > ${PREFIX}/etc/rc.d/exim.sh + +.include "../../mk/bsd.pkg.mk" |