From fcdf9d9f8af51eb935fcb8d75e659d4f765cb188 Mon Sep 17 00:00:00 2001 From: jmmv Date: Thu, 24 Apr 2003 19:49:24 +0000 Subject: Move the example mailer.conf file to the examples tree and bump PKGREVISION to 2. Ok'ed by is@. --- mail/mini_sendmail/MESSAGE | 6 +++--- mail/mini_sendmail/Makefile | 4 ++-- mail/mini_sendmail/Makefile.common | 10 +++++++--- mail/mini_sendmail/PLIST | 5 +++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/mail/mini_sendmail/MESSAGE b/mail/mini_sendmail/MESSAGE index d8866c24d61..5eea320750f 100644 --- a/mail/mini_sendmail/MESSAGE +++ b/mail/mini_sendmail/MESSAGE @@ -1,8 +1,8 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.2 2003/02/15 22:34:24 wiz Exp $ +$NetBSD: MESSAGE,v 1.3 2003/04/24 19:49:24 jmmv Exp $ -Before you install ${PREFIX}/etc/mailer.conf.mini_sendmail as -/etc/mailer.conf, edit it to replace ``relayhost'' with the name of +Before you install ${PREFIX}/share/examples/mini_sendmail/mailer.conf +as /etc/mailer.conf, edit it to replace ``relayhost'' with the name of the smart mail relay host. See the manual page for details. diff --git a/mail/mini_sendmail/Makefile b/mail/mini_sendmail/Makefile index 3c091caad2c..de201d6604c 100644 --- a/mail/mini_sendmail/Makefile +++ b/mail/mini_sendmail/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2003/03/01 11:36:36 is Exp $ +# $NetBSD: Makefile,v 1.6 2003/04/24 19:49:24 jmmv Exp $ # PKGNAME= mini_sendmail-1.3.2 -PKGREVISION= 1 +PKGREVISION= 2 BUILD_DEFS+= USE_INET6 diff --git a/mail/mini_sendmail/Makefile.common b/mail/mini_sendmail/Makefile.common index fbdfb47eee1..2572c684b0f 100644 --- a/mail/mini_sendmail/Makefile.common +++ b/mail/mini_sendmail/Makefile.common @@ -1,5 +1,6 @@ -# $NetBSD: Makefile.common,v 1.5 2003/03/01 11:36:37 is Exp $ +# $NetBSD: Makefile.common,v 1.6 2003/04/24 19:49:24 jmmv Exp $ # + DISTNAME= mini_sendmail-1.3.2 CATEGORIES= mail MASTER_SITES= http://www.acme.com/software/mini_sendmail/ @@ -10,6 +11,8 @@ COMMENT= accept email on behalf of the real sendmail without spooling FILESDIR= ${.CURDIR}/../mini_sendmail/files +EGDIR= ${PREFIX}/share/examples/mini_sendmail + .include "../../mk/bsd.prefs.mk" .if (${OPSYS} == SunOS) @@ -18,9 +21,10 @@ MAKE_ENV+="SYSV_LIBS=-lsocket -lnsl" post-build: ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ - <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf.mini_sendmail + <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf post-install: - ${INSTALL_DATA} ${WRKDIR}/mailer.conf.mini_sendmail ${PREFIX}/etc + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EGDIR} .include "../../mk/bsd.pkg.mk" diff --git a/mail/mini_sendmail/PLIST b/mail/mini_sendmail/PLIST index 952c3975995..66b182ce286 100644 --- a/mail/mini_sendmail/PLIST +++ b/mail/mini_sendmail/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1 2003/02/15 22:11:24 is Exp $ -etc/mailer.conf.mini_sendmail +@comment $NetBSD: PLIST,v 1.2 2003/04/24 19:49:24 jmmv Exp $ man/man8/mini_sendmail.8 sbin/mini_sendmail +share/examples/mini_sendmail/mailer.conf +@dirrm share/examples/mini_sendmail -- cgit v1.2.3