Subject: Re: 'ja-' prefix
To: None <root@garbled.net>
From: Kazuki Sakamoto <sakamoto@cec.co.jp>
List: tech-pkg
Date: 06/08/1999 13:27:22
root@garbled.net wrote:

 > But don't we allready have an "a2ps" pkg somewhere else?

Yes. pkgsrc/print/a2ps.

 > It seems like we want
 > to keep the ja- prexif in cases where another pkg with the same name exists. 
 > As a matter of fact, we probably have to, for creation of binary packages.

The name of binary package is designated by DISTNAME or PKGNAME
variable in their Makefile.

 > #  Of course, ${PKGNAME} keep 'ja-' prefix for
 > #   > c) It's where we duplicate pkgs in other categories, with japanese
 > #  support.

japanese/a2ps
	Makefile:
	DISTNAME=	a2ps.pl-1.44
	PKGNAME=	ja-a2ps-1.44

	% make package
	===>  Building package for ja-a2ps-1.44
	Creating package /usr/pkgsrc/packages/All/ja-a2ps-1.44.tgz

print/a2ps
	Makefile:
	DISTNAME=	a2ps-4.10.3

	% make package
	===>  Building package for a2ps-4.10.3
	Creating package /usr/pkgsrc/packages/All/a2ps-4.10.3.tgz
	Registering depends: papersize-1.0 perl-5.00404.
	Creating gzip'd tar ball in '/usr/pkgsrc/packages/All/a2ps-4.10.3.tgz'

There is no problem.


Apart from that,
'japanese/ja-a2ps' should be renamed to 'japanese/a2ps.pl'...

Kazuki Sakamoto