diff options
author | maho <maho@FreeBSD.org> | 2005-03-25 09:47:15 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2005-03-25 09:47:15 +0800 |
commit | eb1d37c8c171ddd96f614e872118c0ee7301dfa5 (patch) | |
tree | 7ed4737bd54c8cec36ff457ac6a0c6d4f96395ce /graphics/mxp/files | |
parent | 1deac009347b222c5f5b0ec5d59a51eb4a2dfa5d (diff) | |
download | freebsd-ports-gnome-eb1d37c8c171ddd96f614e872118c0ee7301dfa5.tar.gz freebsd-ports-gnome-eb1d37c8c171ddd96f614e872118c0ee7301dfa5.tar.zst freebsd-ports-gnome-eb1d37c8c171ddd96f614e872118c0ee7301dfa5.zip |
Add mxp (Mandelbrot explorer). Mxp is an X application for computing and exploring
Mandelbrot sets. Features of mxp include:
- zoom and un-zoom
- dynamic resizing of drawing window
- setup save/load
- asynchronous image generation (buttons always work)
- GIF output
- animation
- nine color schemes
- color rotation
- color change options
- detailed statistics
WWW: http://www.ibiblio.org/pub/Linux/apps/math/fractals/
and also fix category
Approved by: portmgr(marcus)
Submitted by: kris
Diffstat (limited to 'graphics/mxp/files')
-rw-r--r-- | graphics/mxp/files/patch-Makefile | 50 | ||||
-rw-r--r-- | graphics/mxp/files/patch-lugfnts.h | 16 |
2 files changed, 66 insertions, 0 deletions
diff --git a/graphics/mxp/files/patch-Makefile b/graphics/mxp/files/patch-Makefile new file mode 100644 index 000000000000..7aa5edbf6963 --- /dev/null +++ b/graphics/mxp/files/patch-Makefile @@ -0,0 +1,50 @@ +--- Makefile.orig Sat Feb 12 16:42:03 2005 ++++ Makefile Sat Feb 12 16:42:45 2005 +@@ -1,30 +1,30 @@ + # Makefile file for mxp - Mandelbrot Explorer + + # Compiler - uncomment for gcc +-# CC = gcc ++CC = %%CC%% + + # Since this is a compute intensive program, be sure to use + # compiler optimization. It makes a big difference. + # For gcc on linux "-O2 -m486" works well. +-# OPT = -O2 -m486 ++OPT = %%CFLAGS%% + + # If X is not installed in the standard places you will need to set the + # following 2 defines. +-XLIBS = -L/usr/openwin/lib +-XINC = -I/usr/openwin/include ++XLIBS = -L%%X11BASE%%/lib ++XINC = -I%%X11BASE%%/include + + # Specify where your Xpm installation directories are + # If you have the XPM libraries uncomment and adjust the following lines + # to use color icons. +-#XPM_DEF = -DXPM +-#XPM_INCLUDE = -I/usr/local/include +-#XPM_LIB = -L$(LIBDIR)/xpm -lXpm ++XPM_DEF = -DXPM ++XPM_INCLUDE = #-I/usr/local/include ++XPM_LIB = -lXpm #-L$(LIBDIR)/xpm + + # If you are using FVWM 2.0 then the following must be set to 2 + SIZE_INC = 1 + + # Specify install directory +-BINDIR = /usr/local/bin ++BINDIR = %%PREFIX%%/bin + + INCLUDES = $(XPM_INCLUDE) $(XINC) -Ilug + +@@ -34,7 +34,7 @@ + OBJS = $(M_OBJS) $(L_OBJS) + + mxp: $(OBJS) +- $(CC) -o $@ $(OBJS) $(XPM_LIB) -L/X/X11/lib -lm -lXaw -lXt -lXmu -lX11 -lXdmcp -lXext ++ $(CC) -o $@ $(OBJS) $(XPM_LIB) $(XLIBS) -lm -lXaw -lXt -lXmu -lX11 -lXdmcp -lXext + + $(OBJS): mxp.h + diff --git a/graphics/mxp/files/patch-lugfnts.h b/graphics/mxp/files/patch-lugfnts.h new file mode 100644 index 000000000000..234b32b5d6f8 --- /dev/null +++ b/graphics/mxp/files/patch-lugfnts.h @@ -0,0 +1,16 @@ +--- lug/lugfnts.h.old Sat Aug 18 13:33:46 2001 ++++ lug/lugfnts.h Sat Feb 12 16:30:29 2005 +@@ -1057,13 +1057,6 @@ + ); + + extern int +-isnumber( +-#ifdef USE_PROTOTYPES +- char * +-#endif +-); +- +-extern int + Uncompress( + #ifdef USE_PROTOTYPES + char *, |