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/Makefile.common | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'mail/mini_sendmail/Makefile.common') 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" -- cgit v1.2.3