mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
add gexpr
A shell calculator
This commit is contained in:
parent
b7cf824802
commit
a69120c56a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43961
@ -24,6 +24,7 @@
|
||||
SUBDIR += freefem
|
||||
SUBDIR += fudgit
|
||||
SUBDIR += geg
|
||||
SUBDIR += gexpr
|
||||
SUBDIR += glove
|
||||
SUBDIR += glpk
|
||||
SUBDIR += gnumeric
|
||||
|
24
math/gexpr/Makefile
Normal file
24
math/gexpr/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# ex:ts=8
|
||||
# New ports collection makefile for: gexpr
|
||||
# Date created: Jun 14, 2001
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gexpr
|
||||
PORTVERSION= 2.0.2
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= apps/math/calc
|
||||
|
||||
MAINTAINER= ijliao@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
|
||||
|
||||
MAN1= gexpr.1
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
1
math/gexpr/distinfo
Normal file
1
math/gexpr/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gexpr-2.0.2.tar.gz) = e4cb9b62b1f363bbf788f455ef144885
|
16
math/gexpr/files/patch-Makefile
Normal file
16
math/gexpr/files/patch-Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
--- Makefile.orig Thu Jun 14 05:36:02 2001
|
||||
+++ Makefile Thu Jun 14 05:39:22 2001
|
||||
@@ -1,11 +1,10 @@
|
||||
# Makefile for gexpr
|
||||
# Last updated: 10 February 1999
|
||||
|
||||
-CC = gcc
|
||||
-OPTS = -s -O2 -Wall
|
||||
+OPTS = ${CFLAGS} -I%%LOCALBASE%%/include
|
||||
OBJS = eval.o read_token.o commands.o output.o errors.o gexpr.o
|
||||
GEXPR = gexpr
|
||||
-LIBS = -lm
|
||||
+LIBS = -lm -L%%LOCALBASE%%/lib -lgnugetopt
|
||||
|
||||
all: $(GEXPR)
|
||||
|
1
math/gexpr/pkg-comment
Normal file
1
math/gexpr/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A shell calculator
|
3
math/gexpr/pkg-descr
Normal file
3
math/gexpr/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Gexpr is a shell calculator with floating point, standard C functions,
|
||||
relational operators, and output in base 2/8/10/16. It is a light alternative
|
||||
to bc(1). It can also be used to add floating point math to shell scripts.
|
1
math/gexpr/pkg-plist
Normal file
1
math/gexpr/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/gexpr
|
Loading…
Reference in New Issue
Block a user