On 2011-06-25, Mike Korbakov <[email protected]> wrote: > Here is dash port. > > I'm surprised that needs the great patch (which adds one letter). > What do you think, is correct that text utilities, which have always been a > part most > of all UNIX'es now in a separate package (textutils) and has different names?
GNU tools have not by any means been a part of most UNIX-like OS... Anyway it makes more sense to drop textutils and patch to replace "nl" with "cat -n" instead. The output format is the same (check with hexdump -C or something if you want to). > # $Id: Makefile,v 1.4 2011/03/29 18:08:30 mike-kmv Exp $ We use $OpenBSD$ tags. > > COMMENT= Debian Almquist shell, POSIX-compliant, faster than bash > > DISTNAME= dash-0.5.6.1 > PKGREVISION= 0 this isn't pkgsrc ;) we use REVISION which automatically sets p<whatever> in PKGNAME (so there's no need to touch PKGNAME in the typical case where DISTNAME is sane), but we start with no REVISION line at all, then add REVISION=0 after the first update etc, than go back to no REVISION line when DISTNAME is increased to a new version.. > BUILD_DEPENDS= devel/gmake > BUILD_DEPENDS= textproc/textutils dep on gmake here is unnecessary, USE_GMAKE sets it. just as well, because your dep on textutils overrides the variable.. I would suggest that for new ports, you start from a current version of /usr/ports/infrastructure/templates/Makefile.template
