Date: Mon, 25 Oct 2004 21:23:48 +0300 From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> To: dirk.meyer@dinoex.sub.org (Dirk Meyer) Cc: freebsd-ports@freebsd.org Subject: Re: PLIST_SUB= .. problem Message-ID: <20041025212348.56a911b6@it.buh.cameradicommercio.ro> In-Reply-To: <S/fsnwMLqe@dmeyer.dinoex.sub.org> References: <20041021163015.32ab7132@it.buh.cameradicommercio.ro> <S/fsnwMLqe@dmeyer.dinoex.sub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Oct 2004 17:01:21 +0200 dirk.meyer@dinoex.sub.org (Dirk Meyer) wrote: > Ion-Mihai Tetcu schrieb:, > > > PLIST_SUB+= DSPAM_HOME=$|DSPAM_HOME| > > PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} Hmm, I remember trying it this way too; did I misread the Porters Handbook ? I'll try it again. > The Variable shoud be expanded in the Makefile. > > > .for file in firstrun.txt firstspam.txt quarantinefull.txt > > PLIST_FILES+= ${DSPAM_HOME}/${file}.sample > > .endfor > > PLIST_DIRS+= ${DSPAM_HOME} > > > What would be the solution ? > > To include data outside PREFIX you have to use @cwd in your pkg_plist > > @cwd %%DSPAM_HOME%% > %%DSPAM_HOME%%/firstrun.txt.sample > %%DSPAM_HOME%%/firstspam.txt.sample > @dirrm %%DSPAM_HOME%% Many thanks, -- IOnut Unregistered ;) FreeBSD "user"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041025212348.56a911b6>