"0.000", trimming trailing non-zeros and adding back trailing zeros. Fix both the original bug, which was caused by walking off the beginning of the fractional part of the value and into the integer part, as well as the new bug, by terminating the trailing zero stripping when the first non-zero character is encountered. Also, correctly calculate the number number of trailing zeros that should potentially be removed if the format contains trailing text characters. Bump PORTREVISION. Reviewed by: send-pr@oldach.net (Helge Oldach)
20 lines
344 B
Makefile
20 lines
344 B
Makefile
# New ports collection makefile for: sc
|
|
# Date created: 30 July 1998
|
|
# Whom: Heinz Tschabitscher
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sc
|
|
PORTVERSION= 6.21
|
|
PORTREVISION= 2
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://gatekeeper.dec.com/pub/misc/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= semper@doubt.com
|
|
|
|
NO_WRKSUBDIR= yes
|
|
MAN1= sc.1 psc.1
|
|
|
|
.include <bsd.port.mk>
|