cvs commit: ports/mail/p5-Mail-SpamAssassin Makefile pkg-plist
ports/mail/p5-Mail-SpamAssassin/files spamd.sh
David O'Brien
obrien at FreeBSD.org
Tue Jan 13 11:00:47 PST 2004
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.
More information about the cvs-all
mailing list