Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2004 12:43:37 +0200
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        Dryice Liu <dryice@hotpop.com>
Cc:        ports@freebsd.org
Subject:   Re: net/dictd: @exec in pkg-plist doesn't work?
Message-ID:  <20040812104337.GA52347@i2.informatik.rwth-aachen.de>
In-Reply-To: <86657og3je.fsf@dryice.3322.org>
References:  <86657og3je.fsf@dryice.3322.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd-ports, you wrote:
> Basically I'm install the default one as etc/dictd.conf.sample, and
> use @exec/@unexec to make or copy a etc/dictd.conf. However, only the
> @unexec works as expected. The @exec clause doesn't work, it didn't
> copy a etc/dictd.conf with clean installation. Could anyone help me to
> find out why? I see this is used in many other ports like ftp/lftp and
> net/GeoIp. Thanks!

@exec is only used when installing from a package, not port!

Try using a pkg-[de]install-script: that way, you can save yourself some
hassle with post-install vs. @exec.
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
L-Attriwutgrammatik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040812104337.GA52347>