Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2014 15:09:09 +0000 (UTC)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: staging mail/heirloom-mailx [for review]
Message-ID:  <slrnlorp8l.31fh.naddy@lorvorc.mips.inka.de>
References:  <538d7b28.lVZkXmmgcW3QZagN%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-06-03, Perry Hutchison <perryh@pluto.rain.com> wrote:

>  PLIST_FILES=	bin/${PORTNAME} \
> +		man/man1/${PORTNAME}.1 \
>  		"@unexec if cmp -s %D/etc/nail.rc %D/etc/nail.rc.default; then ${RM} -f %D/etc/nail.rc; fi " \
>  		"etc/nail.rc.default" \
>  		"@exec [ -f %B/nail.rc ] || ${CP} %B/%f %B/nail.rc"

You can replace this @exec/@unexec dance with @sample.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-config.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-keywords.html

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnlorp8l.31fh.naddy>