Date: Tue, 13 Jan 2004 14:08:39 -0800 From: "David O'Brien" <obrien@freebsd.org> To: perl@freebsd.org Subject: Re: cvs commit: ports/mail/p5-Mail-SpamAssassin Makefile pkg-plist ports/mail/p5-Mail-SpamAssassin/files spamd.sh Message-ID: <20040113220839.GA32904@dragon.nuxi.com>
next in thread | raw e-mail | index | archive | help
On Tue, Jan 13, 2004 at 12:29:28AM -0800, Edwin Groothuis wrote: > edwin 2004/01/13 00:29:28 PST > > FreeBSD ports repository > > Modified files: > mail/p5-Mail-SpamAssassin Makefile pkg-plist > mail/p5-Mail-SpamAssassin/files spamd.sh > Log: > [PATCH] mail/p5-Mail-SpamAssassin 2.60 > > This patch adds rc_subr support to spamd daemon > of the spamassassin port. > > PR: ports/57384 Why does this have to be so complicated?? +USE_RC_SUBR= yes +RC_DIR= ${PREFIX}/etc/rc.d +RC_SUFX= .sh +SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \ + -e 's|%%RC_DIR%%|${RC_DIR}|g' \ + -e 's|%%RC_SUFX%%|${RC_SUFX}|g' +PLIST_SUB+= RC_DIR=${RC_DIR} \ + RC_SUFX=${RC_SUFX} * Is RC_SUFX changing anytime soon? Isn't it always ".sh"? * Doesn't the PLIST_SUB for RC_DIR put absolute paths into the PLIST, which isn't needed. PLIST already has %D for that.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040113220839.GA32904>