ports/98837: New port: misc/fcalc

Serge Gagnon serge.gagnon at b2b2c.ca
Sun Jun 11 21:10:36 UTC 2006


>Number:         98837
>Category:       ports
>Synopsis:       New port: misc/fcalc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 11 21:10:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Serge Gagnon
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix1.dyndns.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri May 19 13:21:57 EDT 2006 root at quenix1.dyndns.org:/usr/obj/usr/src/sys/QUENIX1 i386

>Description:
f/Calc is a calculator for photographic formulas. These formulas
are at the heart of many interesting questions about the technical
side of photography. You could compute these functions by hand, but
they range from tedious to difficult, even with a good scientific
calculator. When you let f/Calc do the hard work, you gain an
intuitive feel for what the results mean, because you can quickly
try new input values to see how they affect the result.

WWW: http://tangentsoft.net/fcalc/
>How-To-Repeat:
>Fix:

--- fcalc.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fcalc
#	fcalc/Makefile
#	fcalc/distinfo
#	fcalc/pkg-descr
#	fcalc/pkg-plist
#
echo c - fcalc
mkdir -p fcalc > /dev/null 2>&1
echo x - fcalc/Makefile
sed 's/^X//' >fcalc/Makefile << 'END-of-fcalc/Makefile'
X# New ports collection makefile for:	fcalc
X# Date Created:				11 jun 2006
X# Whom:					Serge Gagnon <serge.gagnon at b2b2c.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fcalc
XPORTVERSION=	1
XCATEGORIES=	misc
XMASTER_SITES=	http://tangentsoft.net/fcalc/
XDISTNAME=	${PORTNAME}-tcl
X
XMAINTAINER=	serge.gagnon at b2b2c.ca
XCOMMENT=	F/Calc is a calculator for photographic formulas
X
XRUN_DEPENDS=	${LOCALBASE}/lib/tix8.1/Tix.tcl:${PORTSDIR}/x11-toolkits/tix
X
XNO_BUILD=	yes
XUSE_X_PREFIX=	yes
XUSE_TK=	84
X
XWRKSRC=	${WRKDIR}/${PORTNAME}-1.00
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|BINDIR=/usr/local/bin|BINDIR=${PREFIX}/bin|' \
X		-e 's|LIBDIR=/usr/local/lib/fcalc|LIBDIR=${PREFIX}/lib/fcalc|' \
X		${WRKSRC}/INSTALL
X	${REINPLACE_CMD} -e 's|netscape|firefox|' ${WRKSRC}/Dialogs.tcl
X	${REINPLACE_CMD} -e 's|exec wish|exec wish8.4|' \
X		-e 's|^set libDir.*||' -e 's|^#set libDir|set libDir|' \
X		${WRKSRC}/fcalc
X
Xdo-install:
X	cd ${WRKSRC}; ./INSTALL
X
X.include <bsd.port.mk>
END-of-fcalc/Makefile
echo x - fcalc/distinfo
sed 's/^X//' >fcalc/distinfo << 'END-of-fcalc/distinfo'
XMD5 (fcalc-tcl.tar.gz) = b12b74f53f61110447ff8b90bf7eadd5
XSHA256 (fcalc-tcl.tar.gz) = db8fb22fe4082be38e5dda96c8676c5d3aa1f81ab0341260071ba15ecfd2f15d
XSIZE (fcalc-tcl.tar.gz) = 42711
END-of-fcalc/distinfo
echo x - fcalc/pkg-descr
sed 's/^X//' >fcalc/pkg-descr << 'END-of-fcalc/pkg-descr'
Xf/Calc is a calculator for photographic formulas. These formulas
Xare at the heart of many interesting questions about the technical
Xside of photography. You could compute these functions by hand, but
Xthey range from tedious to difficult, even with a good scientific
Xcalculator. When you let f/Calc do the hard work, you gain an
Xintuitive feel for what the results mean, because you can quickly
Xtry new input values to see how they affect the result.
X
XWWW: http://tangentsoft.net/fcalc/
END-of-fcalc/pkg-descr
echo x - fcalc/pkg-plist
sed 's/^X//' >fcalc/pkg-plist << 'END-of-fcalc/pkg-plist'
Xbin/fcalc
Xlib/fcalc/AoV.tcl
Xlib/fcalc/Dialogs.tcl
Xlib/fcalc/DoF.tcl
Xlib/fcalc/FoV.tcl
Xlib/fcalc/Hyperfocal.tcl
Xlib/fcalc/LensMath.tcl
Xlib/fcalc/Magnification.tcl
Xlib/fcalc/SpotMeter.tcl
Xlib/fcalc/fNumbers.tcl
Xlib/fcalc/help/AoV.htm
Xlib/fcalc/help/Credits.htm
Xlib/fcalc/help/DoF.htm
Xlib/fcalc/help/FNumber.htm
Xlib/fcalc/help/FoV.htm
Xlib/fcalc/help/Future.htm
Xlib/fcalc/help/Hyperfocal.htm
Xlib/fcalc/help/Introduction.htm
Xlib/fcalc/help/License.htm
Xlib/fcalc/help/Magnification.htm
Xlib/fcalc/help/SpotMetering.htm
Xlib/fcalc/help/angle-of-view.gif
Xlib/fcalc/help/dof-far.gif
Xlib/fcalc/help/dof-near.gif
Xlib/fcalc/help/f-number-to-stops.gif
Xlib/fcalc/help/fov-horz.gif
Xlib/fcalc/help/fov-vert.gif
Xlib/fcalc/help/hyperfocal.gif
Xlib/fcalc/help/magnification.gif
Xlib/fcalc/help/spot-metering.gif
Xlib/fcalc/help/sqrt2.gif
Xlib/fcalc/help/stops-to-f-number.gif
X at dirrm lib/fcalc/help
X at dirrm lib/fcalc
END-of-fcalc/pkg-plist
exit
--- fcalc.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list