Subject: Re: proto package for BibTool
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-users
Date: 03/19/2006 17:25:34
On Sun, Mar 19, 2006 at 11:06:49AM -0500, Steven M. Bellovin wrote:
> > Include mk/tex.buildlink3.mk. See the top of that file for some
> > variables you can set. You probably want to set TEX_DEPMETHOD
> > to build.
> 
> Is that TEX_DEPMETHOD or BUILDLINK_DEPMETHOD?  The latter is what's
> listed in pkgsrc.tex.

Usually, you want BUILDLINK_DEPMETHOD.foo, but TeX is a special case,
so it's TEX_DEPMETHOD.

> > You can set CONFIGURE_DIRS to the directories in which you want
> > to run configure.
> > It's up to you to decide if you want to install it -- try it out, and
> > if it's doing something useful, you might as well install it. If not,
> > just don't, we can always add it later.
> 
> I'll have to think about this one a bit.  The main directory uses
> 'makefile'; the subdirectory uses Makefile.  I can't set MAKEFILE to
> make both happy.

Perhaps try adding the following to the package's Makefile:

post-extract:
	${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile

Cheers,
 Thomas