455327225c
The Math_FractionOp static class contains definitions for: - basic arithmetic operations - comparing fractions - greatest common divisor (gcd) and least common multiple (lcm) of two integers - simplifying (reducing) and getting the reciprocal of a fraction - converting a float to fraction. WWW: http://pear.php.net/package/Math_Fraction/
26 lines
637 B
Makefile
26 lines
637 B
Makefile
# Ports collection makefile for: pear-Math_Fraction
|
|
# Date created: 05 August 2007
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Math_Fraction
|
|
PORTVERSION= 0.4.1
|
|
CATEGORIES= devel www pear
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= Classes that represent and manipulate fractions.
|
|
|
|
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
|
|
RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
|
|
|
|
CATEGORY= Math
|
|
FILES= Fraction.php FractionOp.php
|
|
|
|
EXAMPLES= using_fractionop.php
|
|
_EXAMPLESDIR= docs/examples
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
|
.include <bsd.port.post.mk>
|