mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add ump 0.8.3.2, a graphical, easy to use math program.
PR: 96110 Submitted by: Nicola Vitale <nivit@email.it>
This commit is contained in:
parent
9ec58cbea5
commit
f1fcae91f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161401
7 changed files with 384 additions and 0 deletions
|
@ -286,6 +286,7 @@
|
||||||
SUBDIR += tvmet
|
SUBDIR += tvmet
|
||||||
SUBDIR += umatrix
|
SUBDIR += umatrix
|
||||||
SUBDIR += umfpack
|
SUBDIR += umfpack
|
||||||
|
SUBDIR += ump
|
||||||
SUBDIR += units
|
SUBDIR += units
|
||||||
SUBDIR += unixstat
|
SUBDIR += unixstat
|
||||||
SUBDIR += vecfem
|
SUBDIR += vecfem
|
||||||
|
|
64
math/ump/Makefile
Normal file
64
math/ump/Makefile
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
# New ports collection makefile for: ump
|
||||||
|
# Date created: 2006-04-20
|
||||||
|
# Whom: Nicola Vitale <nivit@email.it>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= ump
|
||||||
|
PORTVERSION= 0.8.3.2
|
||||||
|
CATEGORIES= math
|
||||||
|
MASTER_SITES= http://home.swipnet.se/${PORTNAME}/downloads/ \
|
||||||
|
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
||||||
|
DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}
|
||||||
|
|
||||||
|
MAINTAINER= nivit@email.it
|
||||||
|
COMMENT= A graphical, easy to use math program
|
||||||
|
|
||||||
|
CONFLICTS= ump-1.[0-9]*
|
||||||
|
|
||||||
|
USE_BZIP2= yes
|
||||||
|
USE_GMAKE= yes
|
||||||
|
USE_GNOME= gtk20
|
||||||
|
USE_XLIB= yes
|
||||||
|
USE_X_PREFIX= yes
|
||||||
|
|
||||||
|
ALL_TARGET= ${PORTNAME}
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
|
MAKE_ENV+= CXX="${CXX}" CC="${CC}" DATADIR="${DATADIR}" \
|
||||||
|
X11BASE="${X11BASE}"
|
||||||
|
|
||||||
|
FIND_DIRS= -type d
|
||||||
|
FIND_DATA= -type f
|
||||||
|
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
DOCSDIST= ${PORTNAME}-${PORTVERSION:C/\.[0-9]$//}-doc
|
||||||
|
DISTFILES+= ${DOCSDIST}${EXTRACT_SUFX}
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${OSVERSION} < 503000
|
||||||
|
IGNORE= requires trunc(3) and round(3)
|
||||||
|
.endif
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/main.cpp
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/ump.conf ${PREFIX}/etc/ump.conf.dist
|
||||||
|
.if !exists(${PREFIX}/etc/ump.conf)
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/ump.conf ${PREFIX}/etc
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
${MKDIR} ${DOCSDIR}
|
||||||
|
cd ${WRKDIR}/${DOCSDIST} && ${FIND} . ${FIND_DIRS} \
|
||||||
|
-exec ${MKDIR} ${DOCSDIR}/{} \;
|
||||||
|
cd ${WRKDIR}/${DOCSDIST} && ${FIND} . ${FIND_DATA} \
|
||||||
|
-exec ${INSTALL_DATA} {} ${DOCSDIR} \;
|
||||||
|
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
6
math/ump/distinfo
Normal file
6
math/ump/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
MD5 (ump-0.8.3.2-src.tar.bz2) = 01eca52831936984c08625af4589f009
|
||||||
|
SHA256 (ump-0.8.3.2-src.tar.bz2) = db4a05f727a815918fec5a4733271ba875e305e0e163d5cfc776bdc2563d10d1
|
||||||
|
SIZE (ump-0.8.3.2-src.tar.bz2) = 127121
|
||||||
|
MD5 (ump-0.8.3-doc.tar.bz2) = 8b810fe6b7dcbc72aef96c3905046129
|
||||||
|
SHA256 (ump-0.8.3-doc.tar.bz2) = 72196d62ba32108e83e6d9b5cc1716e451e9172ad6f3ecaafc369582858b2f96
|
||||||
|
SIZE (ump-0.8.3-doc.tar.bz2) = 67390
|
213
math/ump/files/patch-Makefile
Normal file
213
math/ump/files/patch-Makefile
Normal file
|
@ -0,0 +1,213 @@
|
||||||
|
--- Makefile.orig Wed Apr 5 14:41:05 2006
|
||||||
|
+++ Makefile Thu May 4 16:50:55 2006
|
||||||
|
@@ -2,25 +2,24 @@
|
||||||
|
APP_NAME = ump
|
||||||
|
|
||||||
|
## Change this directory name as you like, it's the installation directory
|
||||||
|
-BIN_DIR = /usr/bin
|
||||||
|
-DATA_DIR = /usr/share/$(APP_NAME)
|
||||||
|
+BIN_DIR = $(PREFIX)/bin
|
||||||
|
+DATA_DIR = $(DATADIR)
|
||||||
|
|
||||||
|
|
||||||
|
## One of these three flags must be uncommented
|
||||||
|
##FLAGS = -DUSE_FLOAT
|
||||||
|
-FLAGS = -DUSE_DOUBLE
|
||||||
|
+FLAGS = -DUSE_DOUBLE $(CXXFLAGS)
|
||||||
|
##FLAGS = -DUSE_LONG_DOUBLE
|
||||||
|
|
||||||
|
## If you don't have OpenGL, comment these lines (the 3D plot support will be disabled)
|
||||||
|
FLAGS += -DPLOT_3D
|
||||||
|
## You might have to change this path
|
||||||
|
-GL_LIB = -lGL -lGLU -L/usr/X11/lib
|
||||||
|
+GL_LIB = -lGL -lGLU -L$(X11BASE)/lib
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Choose your optimization level
|
||||||
|
##FLAGS += -O0
|
||||||
|
-FLAGS += -O2
|
||||||
|
##FLAGS += -O3
|
||||||
|
##FLAGS += -Os
|
||||||
|
|
||||||
|
@@ -35,7 +34,10 @@
|
||||||
|
## Uncomment one or both of these if the compilation failes
|
||||||
|
## due to trunc undefined or log2 undefined
|
||||||
|
##FLAGS += -DDONT_HAVE_TRUNC
|
||||||
|
-##FLAGS += -DDONT_HAVE_LOG2
|
||||||
|
+FLAGS += -DDONT_HAVE_LOG2
|
||||||
|
+
|
||||||
|
+# include X11 libs
|
||||||
|
+FLAGS += -I$(X11BASE)/include
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -82,7 +84,7 @@
|
||||||
|
# $< means the name of the first prerequisite
|
||||||
|
|
||||||
|
$(APP_NAME): Makefile $(OBJ_FILES) main.o $(GUI_OBJ) addon_functions.o $(ASM_FILES)
|
||||||
|
- g++ $(FLAGS) $(GTK_LIB) $(OBJ_FILES) main.o $(GUI_OBJ) addon_functions.o $(ASM_FILES) -o $@ $(GL_LIB)
|
||||||
|
+ $(CXX) $(FLAGS) $(GTK_LIB) $(OBJ_FILES) main.o $(GUI_OBJ) addon_functions.o $(ASM_FILES) -o $@ $(GL_LIB)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f $(OBJ_FILES)
|
||||||
|
@@ -93,18 +95,16 @@
|
||||||
|
-rm -f translation_svenska.c
|
||||||
|
|
||||||
|
text: Makefile $(OBJ_FILES) addon_functions.text.o $(ASM_FILES)
|
||||||
|
- g++ $(FLAGS) $(FILES) $(OBJ_FILES) addon_functions.text.o $(ASM_FILES) -DNO_GTK -o $(APP_NAME) -DDATA_DIR=\"$(DATA_DIR)\" -DFLAGS="\"$(FLAGS)\"" $(GL_LIB)
|
||||||
|
+ $(CXX) $(FLAGS) $(FILES) $(OBJ_FILES) addon_functions.text.o $(ASM_FILES) -DNO_GTK -o $(APP_NAME) -DDATA_DIR=\"$(DATA_DIR)\" -DFLAGS="\"$(FLAGS)\"" $(GL_LIB)
|
||||||
|
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -s $(APP_NAME) $(BIN_DIR)/$(APP_NAME)
|
||||||
|
- chmod -c 755 $(BIN_DIR)/$(APP_NAME)
|
||||||
|
+ chmod 755 $(BIN_DIR)/$(APP_NAME)
|
||||||
|
install -d $(DATA_DIR)
|
||||||
|
- install ump.conf $(DATA_DIR)
|
||||||
|
- chmod -c 644 $(DATA_DIR)/ump.conf
|
||||||
|
install -d $(DATA_DIR)/ump-files
|
||||||
|
install ump-files/* $(DATA_DIR)/ump-files
|
||||||
|
- chmod -c 644 $(DATA_DIR)/ump-files/*
|
||||||
|
+ chmod 644 $(DATA_DIR)/ump-files/*
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f $(BIN_DIR)/$(APP_NAME)
|
||||||
|
@@ -114,106 +114,106 @@
|
||||||
|
|
||||||
|
|
||||||
|
main.o: $(FILES) Makefile $(GUI_HEADER) $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h $(SRC)/addon_functions.h $(SRC)/ump_3d_viewer.h
|
||||||
|
- g++ $(FLAGS) $(ASM_FLAG) -c $(GTK_CFLAGS) $(FILES) -o $@ -DDATA_DIR=\"$(DATA_DIR)\" -DFLAGS="\"$(FLAGS)\""
|
||||||
|
+ $(CXX) $(FLAGS) $(ASM_FLAG) -c $(GTK_CFLAGS) $(FILES) -o $@ -DDATA_DIR=\"$(DATA_DIR)\" -DFLAGS="\"$(FLAGS)\""
|
||||||
|
|
||||||
|
picture2gtk.o: $(SRC)/picture2gtk.cpp Makefile $(SRC)/picture2gtk.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
ump_advancedwin.o: $(SRC)/ump_advancedwin.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/picture.h $(GUI_HEADER) $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
ump_3d_viewer.o: $(SRC)/ump_3d_viewer.cpp Makefile $(SRC)/ump_3d_viewer.h $(SRC)/main.h $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/picture.h $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
ump_editor.o: $(SRC)/ump_editor.cpp Makefile $(GUI_HEADER) $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
ump_graphwin.o: $(SRC)/ump_graphwin.cpp Makefile $(GUI_HEADER) $(SRC)/vartypes.h $(SRC)/picture.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vector.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
ump_prefwin.o: $(SRC)/ump_prefwin.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/picture.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(GUI_HEADER) $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
ump_aboutwin.o: $(SRC)/ump_aboutwin.cpp Makefile $(GUI_HEADER) $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
ump_simplewin.o: $(SRC)/ump_simplewin.cpp Makefile $(SRC)/image_sqrt.c $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(GUI_HEADER) $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
matrix_editor.o: $(SRC)/matrix_editor.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(GUI_HEADER) $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
ump_picturewin.o: $(SRC)/ump_picturewin.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(GUI_HEADER) $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
addon_functions.o: $(SRC)/addon_functions.cpp Makefile $(SRC)/addon_functions.h $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h $(SRC)/main.h $(SRC)/ump_picturewin.h
|
||||||
|
- g++ $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $(GTK_CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
addon_functions.text.o: $(SRC)/addon_functions.cpp Makefile $(SRC)/addon_functions.h $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h $(SRC)/main.h
|
||||||
|
- g++ $(FLAGS) -c -DNO_GTK $(SRC)/addon_functions.cpp -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c -DNO_GTK $(SRC)/addon_functions.cpp -o $@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
vartypes.o: $(SRC)/vartypes.cpp Makefile $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
keyfile_io.o: $(SRC)/keyfile_io.cpp Makefile $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
picture.o: $(SRC)/picture.cpp Makefile $(SRC)/picture.h $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
integer.o: $(SRC)/integer.cpp Makefile $(SRC)/integer.h $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) $(ASM_FLAG) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) $(ASM_FLAG) -c $< -o $@
|
||||||
|
|
||||||
|
real.o: $(SRC)/real.cpp Makefile $(SRC)/integer.h $(SRC)/real.h $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
complex.o: $(SRC)/complex.cpp Makefile $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/complex.h $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
matrix.o: $(SRC)/matrix.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/vartypes.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
math2.o: $(SRC)/math2.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/math2.intern.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
math2.picture.o: $(SRC)/math2.picture.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
math2.variable.o: $(SRC)/math2.variable.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
math2.variablelist.o: $(SRC)/math2.variablelist.cpp Makefile $(SRC)/vector.h $(SRC)/math2.intern.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
math2.functionlist.o: $(SRC)/math2.functionlist.cpp Makefile $(SRC)/vector.h $(SRC)/math2.intern.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
math2.builtin.o: $(SRC)/math2.builtin.cpp Makefile $(SRC)/vector.h $(SRC)/math2.intern.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
math2.codeline.o: $(SRC)/math2.codeline.cpp Makefile $(SRC)/vector.h $(SRC)/math2.intern.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
math2.codeblock.o: $(SRC)/math2.codeblock.cpp Makefile $(SRC)/vector.h $(SRC)/math2.intern.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
math2.array.o: $(SRC)/math2.array.cpp Makefile $(SRC)/vector.h $(SRC)/integer.h $(SRC)/real.h $(SRC)/complex.h $(SRC)/matrix.h $(SRC)/math2.h $(SRC)/vartypes.h $(SRC)/picture.h
|
||||||
|
- g++ $(FLAGS) -c $< -o $@
|
||||||
|
+ $(CXX) $(FLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Here we create the converter and convert the Swedish translation file into an inline-file
|
||||||
|
inliner: $(SRC)/inliner.c Makefile
|
||||||
|
- gcc $< -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
translation_svenska.c: translations/Svenska inliner
|
||||||
|
./inliner $< translation_svenska $@
|
||||||
|
|
||||||
|
translation_svenska.o: translation_svenska.c
|
||||||
|
- gcc $< -c -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $< -c -o $@
|
||||||
|
|
||||||
|
|
11
math/ump/files/patch-src-main.cpp
Normal file
11
math/ump/files/patch-src-main.cpp
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/main.cpp Sat Apr 22 01:10:27 2006
|
||||||
|
+++ src/main.cpp.port Wed May 3 15:13:45 2006
|
||||||
|
@@ -692,7 +692,7 @@
|
||||||
|
|
||||||
|
setup_file.replace_escape_sequences = true;
|
||||||
|
|
||||||
|
- try{ setup_file.read( DATA_DIR "/ump.conf" ); }
|
||||||
|
+ try{ setup_file.read( "%%PREFIX%%/etc/ump.conf" ); }
|
||||||
|
catch(...) { }
|
||||||
|
|
||||||
|
snprintf(filename,100,"%s/.ump",getenv("HOME"));
|
5
math/ump/pkg-descr
Normal file
5
math/ump/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
ump is a graphical, easy to use math program, which works with complex numbers,
|
||||||
|
matrices, functions and much more.
|
||||||
|
|
||||||
|
Author: Mattias Hultgren <mattias_hultgren@tele2.se>
|
||||||
|
WWW: http://home.swipnet.se/ump/
|
84
math/ump/pkg-plist
Normal file
84
math/ump/pkg-plist
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
bin/ump
|
||||||
|
@unexec if cmp -s %D/etc/ump.conf %D/etc/ump.conf.dist; then rm -f %D/etc/ump.conf; fi
|
||||||
|
etc/ump.conf.dist
|
||||||
|
@exec [ -f %B/ump.conf ] || cp %B/%f %B/ump.conf
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/_3d_get_prop.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/_3d_set_prop.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/abs.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/and.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/arg.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/array.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/color_matrix.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/constant_list.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/coordinate_matrix.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/cos.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/dec.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/degree.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/delete.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/e.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/exit.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/frac.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/function_list.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/gcd.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/get_type.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/hello_world.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/i.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/iSqrt.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/im.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/incompatible.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/insert.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/intro.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/lcm.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/ln.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/log.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/log2.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/mandelbrot.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/matrix_editor.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/matrix_editor_left_inverse.jpeg
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/matrix_editor_left_side.jpeg
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/matrix_editor_result.jpeg
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/matrix_editor_right_side.jpeg
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/not.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/or.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/pi.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/picture.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/programming.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/radian.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/rand.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/re.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/remove.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/sin.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/style.css
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/tan.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/time.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/top.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/true_false.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/ump_code.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/variable_types.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/void.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/xor.html
|
||||||
|
%%DATADIR%%/ump-files/Black.ump
|
||||||
|
%%DATADIR%%/ump-files/Blue.ump
|
||||||
|
%%DATADIR%%/ump-files/Gray.ump
|
||||||
|
%%DATADIR%%/ump-files/Green.ump
|
||||||
|
%%DATADIR%%/ump-files/Orange.ump
|
||||||
|
%%DATADIR%%/ump-files/Pink.ump
|
||||||
|
%%DATADIR%%/ump-files/Purple.ump
|
||||||
|
%%DATADIR%%/ump-files/Red.ump
|
||||||
|
%%DATADIR%%/ump-files/White.ump
|
||||||
|
%%DATADIR%%/ump-files/Yellow.ump
|
||||||
|
%%DATADIR%%/ump-files/factorize.ump
|
||||||
|
%%DATADIR%%/ump-files/gcd.ump
|
||||||
|
%%DATADIR%%/ump-files/identity.ump
|
||||||
|
%%DATADIR%%/ump-files/isMersenne.ump
|
||||||
|
%%DATADIR%%/ump-files/isPrime.ump
|
||||||
|
%%DATADIR%%/ump-files/lcm.ump
|
||||||
|
%%DATADIR%%/ump-files/sign.ump
|
||||||
|
%%DATADIR%%/ump-files/trans.ump
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/constants
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/functions
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
|
@dirrm %%DATADIR%%/ump-files
|
||||||
|
@dirrm %%DATADIR%%
|
Loading…
Add table
Reference in a new issue