ports/96110: [NEW PORT] math/ump: A graphical, easy to use math program
Nicola Vitale
nivit at email.it
Thu Apr 20 16:50:19 UTC 2006
>Number: 96110
>Category: ports
>Synopsis: [NEW PORT] math/ump: A graphical, easy to use math program
>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: Thu Apr 20 16:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Nicola Vitale
>Release: FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD arancino.domo.sva 6.1-RC FreeBSD 6.1-RC #4: Sat Apr 15 10:17:24 CEST 2006
>Description:
Ump is a graphical, easy to use math program, which works with
complex numbers, matrices, functions and much more.
Author: Mattias Hultgren <mattias_hultgren at tele2.se>
WWW: Http://home.swipnet.se/ump/
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- ump-0.8.3.1.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:
#
# ump
# ump/pkg-descr
# ump/Makefile
# ump/pkg-plist
# ump/distinfo
# ump/files
# ump/files/patch-Makefile
#
echo c - ump
mkdir -p ump > /dev/null 2>&1
echo x - ump/pkg-descr
sed 's/^X//' >ump/pkg-descr << 'END-of-ump/pkg-descr'
XUmp is a graphical, easy to use math program, which works with
Xcomplex numbers, matrices, functions and much more.
X
XAuthor: Mattias Hultgren <mattias_hultgren at tele2.se>
XWWW: Http://home.swipnet.se/ump/
END-of-ump/pkg-descr
echo x - ump/Makefile
sed 's/^X//' >ump/Makefile << 'END-of-ump/Makefile'
X# New ports collection makefile for: ump
X# Date created: 2006-04-20
X# Whom: Nicola Vitale <nivit at email.it>
X#
X# $FreeBSD$
X#
X
XPORTNAME= ump
XPORTVERSION= 0.8.3.1
XCATEGORIES= math
XMASTER_SITES= http://home.swipnet.se/${PORTNAME}/downloads/ \
X http://nivi.interfree.it/distfiles/${PORTNAME}/
XDISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}
X
XMAINTAINER= nivit at email.it
XCOMMENT= A graphical, easy to use math program
X
XUSE_BZIP2= yes
XUSE_GMAKE= yes
XUSE_GNOME= gtk20
XUSE_XLIB= yes
X
XALL_TARGET= ${PORTNAME}
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XFIND_DIRS= -type d
XFIND_DATA= -type f
X
Xpost-patch:
X ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/Makefile
X
X.if !defined(NOPORTDOCS)
XDOCSDIST= ${PORTNAME}-${PORTVERSION:C/\.[0-9]$//}-doc
XDISTFILES+= ${DOCSDIST}${EXTRACT_SUFX}
X
Xpost-install:
X ${MKDIR} ${DOCSDIR}
X cd ${WRKDIR}/${DOCSDIST} && ${FIND} . ${FIND_DIRS} -exec ${MKDIR} ${DOCSDIR}/{} \;
X cd ${WRKDIR}/${DOCSDIST} && ${FIND} . ${FIND_DATA} -exec ${INSTALL_DATA} {} ${DOCSDIR} \;
X
X.endif
X
X.include <bsd.port.mk>
END-of-ump/Makefile
echo x - ump/pkg-plist
sed 's/^X//' >ump/pkg-plist << 'END-of-ump/pkg-plist'
X at comment $FreeBSD$
Xbin/ump
X%%PORTDOCS%%%%DOCSDIR%%/_3d_get_prop.html
X%%PORTDOCS%%%%DOCSDIR%%/_3d_set_prop.html
X%%PORTDOCS%%%%DOCSDIR%%/abs.html
X%%PORTDOCS%%%%DOCSDIR%%/and.html
X%%PORTDOCS%%%%DOCSDIR%%/arg.html
X%%PORTDOCS%%%%DOCSDIR%%/array.html
X%%PORTDOCS%%%%DOCSDIR%%/color_matrix.html
X%%PORTDOCS%%%%DOCSDIR%%/constant_list.html
X%%PORTDOCS%%%%DOCSDIR%%/coordinate_matrix.html
X%%PORTDOCS%%%%DOCSDIR%%/cos.html
X%%PORTDOCS%%%%DOCSDIR%%/dec.html
X%%PORTDOCS%%%%DOCSDIR%%/degree.html
X%%PORTDOCS%%%%DOCSDIR%%/delete.html
X%%PORTDOCS%%%%DOCSDIR%%/e.html
X%%PORTDOCS%%%%DOCSDIR%%/exit.html
X%%PORTDOCS%%%%DOCSDIR%%/frac.html
X%%PORTDOCS%%%%DOCSDIR%%/function_list.html
X%%PORTDOCS%%%%DOCSDIR%%/gcd.html
X%%PORTDOCS%%%%DOCSDIR%%/get_type.html
X%%PORTDOCS%%%%DOCSDIR%%/hello_world.html
X%%PORTDOCS%%%%DOCSDIR%%/i.html
X%%PORTDOCS%%%%DOCSDIR%%/iSqrt.html
X%%PORTDOCS%%%%DOCSDIR%%/im.html
X%%PORTDOCS%%%%DOCSDIR%%/incompatible.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/insert.html
X%%PORTDOCS%%%%DOCSDIR%%/intro.html
X%%PORTDOCS%%%%DOCSDIR%%/lcm.html
X%%PORTDOCS%%%%DOCSDIR%%/ln.html
X%%PORTDOCS%%%%DOCSDIR%%/log.html
X%%PORTDOCS%%%%DOCSDIR%%/log2.html
X%%PORTDOCS%%%%DOCSDIR%%/mandelbrot.html
X%%PORTDOCS%%%%DOCSDIR%%/matrix_editor.html
X%%PORTDOCS%%%%DOCSDIR%%/matrix_editor_left_inverse.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/matrix_editor_left_side.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/matrix_editor_result.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/matrix_editor_right_side.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/not.html
X%%PORTDOCS%%%%DOCSDIR%%/or.html
X%%PORTDOCS%%%%DOCSDIR%%/pi.html
X%%PORTDOCS%%%%DOCSDIR%%/picture.html
X%%PORTDOCS%%%%DOCSDIR%%/programming.html
X%%PORTDOCS%%%%DOCSDIR%%/radian.html
X%%PORTDOCS%%%%DOCSDIR%%/rand.html
X%%PORTDOCS%%%%DOCSDIR%%/re.html
X%%PORTDOCS%%%%DOCSDIR%%/remove.html
X%%PORTDOCS%%%%DOCSDIR%%/sin.html
X%%PORTDOCS%%%%DOCSDIR%%/style.css
X%%PORTDOCS%%%%DOCSDIR%%/tan.html
X%%PORTDOCS%%%%DOCSDIR%%/time.html
X%%PORTDOCS%%%%DOCSDIR%%/top.html
X%%PORTDOCS%%%%DOCSDIR%%/true_false.html
X%%PORTDOCS%%%%DOCSDIR%%/ump_code.html
X%%PORTDOCS%%%%DOCSDIR%%/variable_types.html
X%%PORTDOCS%%%%DOCSDIR%%/void.html
X%%PORTDOCS%%%%DOCSDIR%%/xor.html
X%%DATADIR%%/ump-files/Black.ump
X%%DATADIR%%/ump-files/Blue.ump
X%%DATADIR%%/ump-files/Gray.ump
X%%DATADIR%%/ump-files/Green.ump
X%%DATADIR%%/ump-files/Orange.ump
X%%DATADIR%%/ump-files/Pink.ump
X%%DATADIR%%/ump-files/Purple.ump
X%%DATADIR%%/ump-files/Red.ump
X%%DATADIR%%/ump-files/White.ump
X%%DATADIR%%/ump-files/Yellow.ump
X%%DATADIR%%/ump-files/factorize.ump
X%%DATADIR%%/ump-files/gcd.ump
X%%DATADIR%%/ump-files/identity.ump
X%%DATADIR%%/ump-files/isMersenne.ump
X%%DATADIR%%/ump-files/isPrime.ump
X%%DATADIR%%/ump-files/lcm.ump
X%%DATADIR%%/ump-files/sign.ump
X%%DATADIR%%/ump-files/trans.ump
X%%DATADIR%%/ump.conf
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/constants
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/functions
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at dirrm %%DATADIR%%/ump-files
X at dirrm %%DATADIR%%
END-of-ump/pkg-plist
echo x - ump/distinfo
sed 's/^X//' >ump/distinfo << 'END-of-ump/distinfo'
XMD5 (ump-0.8.3.1-src.tar.bz2) = fa97a461351b65e8313dd62d7ceffad2
XSHA256 (ump-0.8.3.1-src.tar.bz2) = 2f8cae0541f24f0c3ac671a9406827b6875b2e31bb2bac1a737f817c53030dd2
XSIZE (ump-0.8.3.1-src.tar.bz2) = 128856
XMD5 (ump-0.8.3-doc.tar.bz2) = 8b810fe6b7dcbc72aef96c3905046129
XSHA256 (ump-0.8.3-doc.tar.bz2) = 72196d62ba32108e83e6d9b5cc1716e451e9172ad6f3ecaafc369582858b2f96
XSIZE (ump-0.8.3-doc.tar.bz2) = 67390
END-of-ump/distinfo
echo c - ump/files
mkdir -p ump/files > /dev/null 2>&1
echo x - ump/files/patch-Makefile
sed 's/^X//' >ump/files/patch-Makefile << 'END-of-ump/files/patch-Makefile'
X$FreeBSD$
X--- Makefile Wed Apr 5 14:41:05 2006
X+++ Makefile.port Thu Apr 20 17:54:48 2006
X@@ -2,8 +2,8 @@
X APP_NAME = ump
X
X ## Change this directory name as you like, it's the installation directory
X-BIN_DIR = /usr/bin
X-DATA_DIR = /usr/share/$(APP_NAME)
X+BIN_DIR = %%PREFIX%%/bin
X+DATA_DIR = %%DATADIR%%
X
X
X ## One of these three flags must be uncommented
X@@ -14,13 +14,13 @@
X ## If you don't have OpenGL, comment these lines (the 3D plot support will be disabled)
X FLAGS += -DPLOT_3D
X ## You might have to change this path
X-GL_LIB = -lGL -lGLU -L/usr/X11/lib
X+GL_LIB = -lGL -lGLU -L%%X11BASE%%/lib
X
X
X
X ## Choose your optimization level
X ##FLAGS += -O0
X-FLAGS += -O2
X+FLAGS += $(CFLAGS)
X ##FLAGS += -O3
X ##FLAGS += -Os
X
X@@ -35,7 +35,7 @@
X ## Uncomment one or both of these if the compilation failes
X ## due to trunc undefined or log2 undefined
X ##FLAGS += -DDONT_HAVE_TRUNC
X-##FLAGS += -DDONT_HAVE_LOG2
X+FLAGS += -DDONT_HAVE_LOG2
X
X
X
X@@ -56,6 +56,7 @@
X ## This is only to add some extra lines of code that is just useful for me(I think)
X ##FLAGS += -DDEVELOP
X
X+FLAGS += -I%%X11BASE%%/include
X
X ####################################################
X ## Below this point no editing should be useful ##
X@@ -98,13 +99,13 @@
X
X install:
X install -s $(APP_NAME) $(BIN_DIR)/$(APP_NAME)
X- chmod -c 755 $(BIN_DIR)/$(APP_NAME)
X+ chmod 755 $(BIN_DIR)/$(APP_NAME)
X install -d $(DATA_DIR)
X install ump.conf $(DATA_DIR)
X- chmod -c 644 $(DATA_DIR)/ump.conf
X+ chmod 644 $(DATA_DIR)/ump.conf
X install -d $(DATA_DIR)/ump-files
X install ump-files/* $(DATA_DIR)/ump-files
X- chmod -c 644 $(DATA_DIR)/ump-files/*
X+ chmod 644 $(DATA_DIR)/ump-files/*
X
X uninstall:
X rm -f $(BIN_DIR)/$(APP_NAME)
END-of-ump/files/patch-Makefile
exit
--- ump-0.8.3.1.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list