Subject: Re: New pkg submit: pkgsrc/sysutils/logrotate
To: Brian A. Seklecki <>
From: Thomas Klausner <>
List: tech-pkg
Date: 08/02/2003 13:09:30
On Sat, Aug 02, 2003 at 02:59:42AM -0400, Brian A. Seklecki wrote:
> 1) The name of the package is "logrotate-3.6.5" but the name of the
> source distribution tarball is "logrotate_3.6.5.orig.tar.gz"
> So I set:
> DISTNAME=       ${PKGNAME:S/-/_/}.orig
> PKGNAME=        logrotate-3.6.5

Usually we derive PKGNAME from DISTNAME, not the other
way round.
DISTNAME=	logrotate_3.6.5.orig
PKGNAME=	${DISTNAME:S/_/-/:S/.orig//}