On 2016/07/11 16:51, Edgar Pettijohn wrote:
> On 16-07-11 09:21:18, Stuart Henderson wrote:
> > On 2016/07/10 23:54, Edgar Pettijohn wrote:
> > > I'm attempting to port libxlsxwriter.  The problem I'm having is
> > > that I can't seem to get the examples to install correctly.
> > > 
> > > In the Makefile I have this:
> > > ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libxlsxwriter
> > > ${INSTALL_DATA} ${WRKSRC}/examples/*.c 
> > > ${PREFIX}/share/examples/libxlsxwriter/
> > > 
> > > pkg/PLIST shows all of the relevent files. 
> > > 
> > > After $ make fake everything looks good in 
> > > /usr/ports/pobj/etc/etc/fake-i386/etc/etc
> > > 
> > > However, after $ make build install the 
> > > /usr/local/share/examples/libxlsxwriter 
> > > directory doesn't exist and obviously none of its intended files either.
> > > 
> > > Everything else works correctly.  I can compile test programs and link 
> > > with 
> > > -lxlsxwriter
> > > -- 
> > > Edgar Pettijohn
> > > 
> > 
> > Perhaps you built a package before adding the examples and didn't remove it
> > before installing?
> > 
> I think I may have found the issue.  The plist under /usr/ports/plist/... 
> still 
> had the wrong info.  Should this have been fixed by $ make update-plist?  If 
> so
> there may be a bug involved.  If not I guess I should double check there in 
> the 
> future.

update-plist updates the file/s in pkg/PLIST* / pkg/PFRAG*.
PLISTs under /usr/ports/plist can be cleaned with 'make clean=plist'.

Reply via email to