On Fri, Jun 21, 2013 at 07:16:41AM +0200, Florian Stinglmayr wrote:
> On Thu, Jun 20, 2013 at 05:53:27PM +0100, Stuart Henderson wrote:
> >
> > I would actually go the other way, make PKGNAME be ag-$VERSION,
> > and put "the_silver_searcher" or similar in the COMMENT, this is a
> > very awkward PKGNAME for somebody to type..
> >
> 
> I am reluctant to rename the package, because it is called like this
> (the_silver_searcher) in many other package systems. Including FreeBSD
> ports [1], and other Linux package systems including those of Gentoo and
> Feodra [2] [3].
> 
> So for the sake of consistency it will remain the_silver_searcher.
> 
> > > Be more precise with what license it is. License is Apache 2.0.
> > >
> > > Don't use DISTFILES since you're only pulling one item.
> > > Instead, try:
> > > DISTNAME =        ${V}
> >
> > this filename format (versionnumber.tar.gz) isn't acceptable directly
> > in the distfiles directory.
> >
> 
> Is there any way I can rename it using the ports framework? The problem
> is that this tarball comes from GitHub. Github names those archives
> based on a git tag ${TAGNAME}.tar.gz instead of
> ${REPONAME}-${TAGNAME}.tar.gz.

Yes, make sure you're using current, and read through the relevant part
of bsd.port.mk(5).

Reply via email to