Date: Tue, 8 Sep 2009 18:13:56 GMT From: Paul <onemda@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/138637: New port: graphics/xfractint-devel Message-ID: <200909081813.n88IDuVS072240@www.freebsd.org> Resent-Message-ID: <200909081820.n88IK5df048018@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138637 >Category: ports >Synopsis: New port: graphics/xfractint-devel >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: Tue Sep 08 18:20:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Paul >Release: >Organization: >Environment: >Description: Xfractint - The Unix port of fractint, devel version Fractint is an IBM PC program to generate fractals, and was written by the Stone Soup Group. The unix port was done by Ken Shirriff and modified by Scott D. Boyd. WWW: http://www.fractint.org >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # xfractint-devel # xfractint-devel/Makefile # xfractint-devel/distinfo # xfractint-devel/pkg-descr # xfractint-devel/pkg-plist # xfractint-devel/files # xfractint-devel/files/patch-biginit.c # xfractint-devel/files/patch-Makefile # xfractint-devel/files/patch-fractalb.c # xfractint-devel/files/patch-fractals.c # xfractint-devel/files/patch-frasetup.c # xfractint-devel/files/patch-general.c # xfractint-devel/files/patch-lsys.c # xfractint-devel/files/patch-lsysf.c # xfractint-devel/files/patch-memory.c # xfractint-devel/files/patch-miscres.c # xfractint-devel/files/patch-port.h # xfractint-devel/files/patch-prompts1.c # xfractint-devel/files/patch-prompts2.c # xfractint-devel/files/patch-soi.c # xfractint-devel/files/patch-soi1.c # xfractint-devel/files/patch-unixscr.c # echo c - xfractint-devel mkdir -p xfractint-devel > /dev/null 2>&1 echo x - xfractint-devel/Makefile sed 's/^X//' >xfractint-devel/Makefile << 'd83dfdc9f09dc2e108923c83aef2b42f' X# New ports collection makefile for: xfractint-devel X# Date created: 8 Sep 2009 X# Whom: onemda@gmail.com X# X# $FreeBSD$ X# X XPORTNAME= xfractint XPORTVERSION= 20.04p09 XPORTREVISION?= 0 XCATEGORIES= graphics XMASTER_SITES= http://www.fractint.org/ftp/current/linux/ \ X http://twegner.dyndns.org/fractint/ftp/current/linux/ XPKGNAMESUFFIX= -devel XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= ports@FreeBSD.org XCOMMENT= The Unix port of fractint, devel version X XUSE_GMAKE= yes XUSE_GZIP= yes XUSE_XORG= x11 X XALL_TARGET= ${PORTNAME} X XMAN1= ${PORTNAME}${PKGNAMESUFFIX}.1 X XDATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/xfractint ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} X @${INSTALL_MAN} ${WRKSRC}/unix/xfractint.man ${PREFIX}/man/man1/${MAN1} X @${MKDIR} ${DATADIR} X @${CP} ${WRKSRC}/fractint.hlp ${DATADIR} X @${CP} ${WRKSRC}/sstools.ini ${DATADIR} X @${CP} -R ${WRKSRC}/formulas ${DATADIR} X @${CP} -R ${WRKSRC}/ifs ${DATADIR} X @${CP} -R ${WRKSRC}/lsystem ${DATADIR} X @${CP} -R ${WRKSRC}/maps ${DATADIR} X @${CP} -R ${WRKSRC}/pars ${DATADIR} X X.include <bsd.port.mk> d83dfdc9f09dc2e108923c83aef2b42f echo x - xfractint-devel/distinfo sed 's/^X//' >xfractint-devel/distinfo << 'e6931e1a69e6849d3656bebc66bf19c6' XMD5 (xfractint-20.04p09.tar.gz) = 098e5ef480a8e30146a977213b2c3a2d XSHA256 (xfractint-20.04p09.tar.gz) = 296e6da82a81210b2d9ccde0eb15059d27f561f23ef1221f39fbefe48ebe5d69 XSIZE (xfractint-20.04p09.tar.gz) = 1333141 e6931e1a69e6849d3656bebc66bf19c6 echo x - xfractint-devel/pkg-descr sed 's/^X//' >xfractint-devel/pkg-descr << 'e866f7928e3630316b7f3ec53c7cb44c' XXfractint - The Unix port of fractint, devel version X XFractint is an IBM PC program to generate fractals, and was written by Xthe Stone Soup Group. X XThe unix port was done by Ken Shirriff and modified by Scott D. Boyd. X XWWW: http://www.fractint.org e866f7928e3630316b7f3ec53c7cb44c echo x - xfractint-devel/pkg-plist sed 's/^X//' >xfractint-devel/pkg-plist << '0863618713fe8c8ad93667b4db322463' Xbin/xfractint-devel X%%DATADIR%%/fractint.hlp X%%DATADIR%%/sstools.ini X%%DATADIR%%/formulas/fract001.frm X%%DATADIR%%/formulas/fract002.frm X%%DATADIR%%/formulas/fract003.frm X%%DATADIR%%/formulas/fract196.frm X%%DATADIR%%/formulas/fract200.frm X%%DATADIR%%/formulas/fract_sy.frm X%%DATADIR%%/formulas/fractint.frm X%%DATADIR%%/formulas/ikenaga.frm X%%DATADIR%%/formulas/julitile.frm X%%DATADIR%%/formulas/new_if.frm X%%DATADIR%%/formulas/newton.frm X%%DATADIR%%/ifs/fract205.ifs X%%DATADIR%%/ifs/fractint.ifs X%%DATADIR%%/lsystem/fract205.l X%%DATADIR%%/lsystem/fractint.l X%%DATADIR%%/lsystem/penrose.l X%%DATADIR%%/lsystem/tiling.l X%%DATADIR%%/maps/altern.map X%%DATADIR%%/maps/blues.map X%%DATADIR%%/maps/chroma.map X%%DATADIR%%/maps/default.map X%%DATADIR%%/maps/defaultw.map X%%DATADIR%%/maps/firestrm.map X%%DATADIR%%/maps/froth3.map X%%DATADIR%%/maps/froth316.map X%%DATADIR%%/maps/froth6.map X%%DATADIR%%/maps/froth616.map X%%DATADIR%%/maps/gamma1.map X%%DATADIR%%/maps/gamma2.map X%%DATADIR%%/maps/glasses1.map X%%DATADIR%%/maps/glasses2.map X%%DATADIR%%/maps/goodega.map X%%DATADIR%%/maps/green.map X%%DATADIR%%/maps/grey.map X%%DATADIR%%/maps/grid.map X%%DATADIR%%/maps/headache.map X%%DATADIR%%/maps/landscap.map X%%DATADIR%%/maps/lyapunov.map X%%DATADIR%%/maps/neon.map X%%DATADIR%%/maps/paintjet.map X%%DATADIR%%/maps/royal.map X%%DATADIR%%/maps/topo.map X%%DATADIR%%/maps/volcano.map X%%DATADIR%%/pars/cellular.par X%%DATADIR%%/pars/demo.par X%%DATADIR%%/pars/fract18.par X%%DATADIR%%/pars/fract19.par X%%DATADIR%%/pars/fract200.par X%%DATADIR%%/pars/fract205.par X%%DATADIR%%/pars/fractint.par X%%DATADIR%%/pars/icons.par X%%DATADIR%%/pars/lyapunov.par X%%DATADIR%%/pars/music.par X%%DATADIR%%/pars/newphoen.par X%%DATADIR%%/pars/orbits.par X%%DATADIR%%/pars/phoenix.par X@dirrm %%DATADIR%%/formulas X@dirrm %%DATADIR%%/ifs X@dirrm %%DATADIR%%/lsystem X@dirrm %%DATADIR%%/maps X@dirrm %%DATADIR%%/pars X@dirrm %%DATADIR%%/ 0863618713fe8c8ad93667b4db322463 echo c - xfractint-devel/files mkdir -p xfractint-devel/files > /dev/null 2>&1 echo x - xfractint-devel/files/patch-biginit.c sed 's/^X//' >xfractint-devel/files/patch-biginit.c << '88b448ed432ae0c78c39bd4b6fc99236' X--- common/biginit.c.orig Tue Sep 7 00:38:10 1999 X+++ common/biginit.c Sun Dec 7 10:50:07 2003 X@@ -7,7 +7,9 @@ X */ X X #include <string.h> X+#ifndef BIG_ANSI_C X #include <malloc.h> X+#endif X /* see Fractint.c for a description of the "include" hierarchy */ X #include "port.h" X #include "prototyp.h" 88b448ed432ae0c78c39bd4b6fc99236 echo x - xfractint-devel/files/patch-Makefile sed 's/^X//' >xfractint-devel/files/patch-Makefile << '508d1a6da1afa16764fe105b1bb108d5' X--- Makefile.orig 2008-09-26 00:55:39.000000000 +0000 X+++ Makefile 2009-09-08 16:30:18.000000000 +0000 X@@ -27,8 +27,8 @@ X X # SRCDIR should be a path to the directory that will hold fractint.hlp X # SRCDIR should also hold the .par, .frm, etc. files X-SRCDIR = $(DESTDIR)/share/xfractint X-SHRDIR = $(PREFIX)/share/xfractint X+SRCDIR = $(PREFIX)/share/xfractint-devel X+SHRDIR = $(PREFIX)/share/xfractint-devel X # BINDIR is where you put your X11 binaries X BINDIR = $(DESTDIR)/bin X # MANDIR is where you put your chapter 1 man pages X@@ -116,22 +116,18 @@ X #For Solaris, use CFLAGS = -I. -I/usr/openwin/include $(DEFINES) -g X #If you have the nasm assembler on your system add -DNASM to CFLAGS X X-ifeq ($(AS),/usr/bin/nasm) X X-CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin X #CFLAGS = -I. -D_CONST $(DEFINES) X #CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \ X # -march=$(ARCH) -DNASM -fno-builtin X #CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -DNASM -fno-builtin X X-else X X-CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -fno-builtin X+CFLAGS += -I$(PREFIX)/include -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -fno-builtin X #CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \ X # -march=$(ARCH) -fno-builtin X #CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin X X-endif X X # Gcc is often the only compiler that works for this X # For HPUX, use CC = cc -Aa -D_HPUX_SOURCE X@@ -140,7 +136,6 @@ X # For Sun Solaris 2.x w/SparcCompilerC (cc), use CC = cc. X # For Sun Solaris 2.x w/GNU gcc, use CC = gcc X #CC = gcc X-CC = /usr/bin/gcc X X # For HPUX, use LIBS = -L/usr/lib/X11R4 -lX11 -lm -lcurses -ltermcap X # For AIX or OSF/1, add -lbsd X@@ -152,11 +147,7 @@ X # LIBS = -L/usr/X11R6/lib -lX11 -lm -lncurses X # LIBS = -lX11 -lm -lcurses X X-ifeq ($(ARCH),athlon64) X-LIBS = -L/usr/X11R6/lib64 -lX11 -lm X-else X-LIBS = -L/usr/X11R6/lib -lX11 -lm X-endif X+LIBS = -L${PREFIX}/lib -lX11 -lm X X ifeq ($(NCURSES),-DNCURSES) X LIBS += -lncurses 508d1a6da1afa16764fe105b1bb108d5 echo x - xfractint-devel/files/patch-fractalb.c sed 's/^X//' >xfractint-devel/files/patch-fractalb.c << 'cae417e29f8e9ec54bbe96dd35b3fe47' X--- common/fractalb.c.orig Tue Sep 7 00:38:10 1999 X+++ common/fractalb.c Sun Dec 7 10:40:04 2003 X@@ -10,7 +10,7 @@ X #include <string.h> X #ifdef __TURBOC__ X #include <alloc.h> X-#elif !defined(__386BSD__) X+#elif !defined(BIG_ANSI_C) X #include <malloc.h> X #endif X /* see Fractint.c for a description of the "include" hierarchy */ cae417e29f8e9ec54bbe96dd35b3fe47 echo x - xfractint-devel/files/patch-fractals.c sed 's/^X//' >xfractint-devel/files/patch-fractals.c << '2ea1592e9cd9f5676c571f0ab8b73963' X--- common/fractals.c.orig Tue Sep 7 00:38:10 1999 X+++ common/fractals.c Sun Dec 7 10:42:38 2003 X@@ -41,7 +41,7 @@ X #include <string.h> X #ifdef __TURBOC__ X #include <alloc.h> X-#elif !defined(__386BSD__) X+#elif !defined(BIG_ANSI_C) X #include <malloc.h> X #endif X /* see Fractint.c for a description of the "include" hierarchy */ 2ea1592e9cd9f5676c571f0ab8b73963 echo x - xfractint-devel/files/patch-frasetup.c sed 's/^X//' >xfractint-devel/files/patch-frasetup.c << '4236aab5d9881d8d08b08e27ba3b9d51' X--- common/frasetup.c.orig Tue Sep 7 00:38:10 1999 X+++ common/frasetup.c Sun Dec 7 10:43:26 2003 X@@ -2,7 +2,7 @@ X #include <string.h> X #ifdef __TURBOC__ X #include <alloc.h> X-#elif !defined(__386BSD__) X+#elif !defined(BIG_ANSI_C) X #include <malloc.h> X #endif X /* see Fractint.c for a description of the "include" hierarchy */ 4236aab5d9881d8d08b08e27ba3b9d51 echo x - xfractint-devel/files/patch-general.c sed 's/^X//' >xfractint-devel/files/patch-general.c << '105d27d89ecee59984e883d84fd7a7aa' X--- unix/general.c.orig Mon Sep 3 18:45:31 2007 X+++ unix/general.c Mon Sep 3 18:46:25 2007 X@@ -314,7 +314,7 @@ X static struct timeval delay; X delay.tv_sec = delaytime/1000; X delay.tv_usec = (delaytime%1000)*1000; X-#if defined( __SVR4) || defined(LINUX) X+#if defined( __SVR4) || defined(LINUX) || defined(__FreeBSD__) X (void) select(0, (fd_set *) 0, (fd_set *) 0, (fd_set *) 0, &delay); X #else X (void) select(0, (int *) 0, (int *) 0, (int *) 0, &delay); 105d27d89ecee59984e883d84fd7a7aa echo x - xfractint-devel/files/patch-lsys.c sed 's/^X//' >xfractint-devel/files/patch-lsys.c << 'daef1ac2ee242c95ea6377ab9eb4b247' X--- common/lsys.c.orig Tue Sep 7 00:38:10 1999 X+++ common/lsys.c Sun Dec 7 10:44:28 2003 X@@ -2,7 +2,7 @@ X #include <string.h> X #ifdef __TURBOC__ X #include <alloc.h> X-#else X+#elif !defined(BIG_ANSI_C) X #include <malloc.h> X #endif X daef1ac2ee242c95ea6377ab9eb4b247 echo x - xfractint-devel/files/patch-lsysf.c sed 's/^X//' >xfractint-devel/files/patch-lsysf.c << 'ab824ad04e631b8da8097eab7d54b758' X--- common/lsysf.c.orig Tue Sep 7 00:38:10 1999 X+++ common/lsysf.c Sun Dec 7 10:45:24 2003 X@@ -1,7 +1,7 @@ X #include <string.h> X #ifdef __TURBOC__ X #include <alloc.h> X-#else X+#elif !defined(BIG_ANSI_C) X #include <malloc.h> X #endif X ab824ad04e631b8da8097eab7d54b758 echo x - xfractint-devel/files/patch-memory.c sed 's/^X//' >xfractint-devel/files/patch-memory.c << '06b63c8006eebe8f3a73dfae7586709e' X--- common/memory.c.orig 2009-09-06 12:16:06.000000000 +0000 X+++ common/memory.c 2006-12-17 17:06:05.000000000 +0000 X@@ -1,6 +1,5 @@ X #include <string.h> X #include <limits.h> X-#include <malloc.h> X X #if (!defined(XFRACT) && !defined(WINFRACT)) X #include <io.h> 06b63c8006eebe8f3a73dfae7586709e echo x - xfractint-devel/files/patch-miscres.c sed 's/^X//' >xfractint-devel/files/patch-miscres.c << '33e78cbd29fbafd152f8e922963e4ae5' X--- common/miscres.c.orig 2007-05-03 00:32:43.000000000 +0000 X+++ common/miscres.c 2009-09-06 12:23:30.000000000 +0000 X@@ -5,7 +5,6 @@ X #include <string.h> X #include <ctype.h> X #include <time.h> X-#include <malloc.h> X X #ifndef XFRACT X #include <io.h> 33e78cbd29fbafd152f8e922963e4ae5 echo x - xfractint-devel/files/patch-port.h sed 's/^X//' >xfractint-devel/files/patch-port.h << 'b04a197b1d850abc3d108cca44d02a76' X--- headers/port.h.orig Tue Sep 7 00:38:10 1999 X+++ headers/port.h Sun Dec 7 02:46:07 2003 X@@ -44,7 +44,7 @@ X /* If endian.h is not present, it can be handled in the code below, */ X /* but if you have this file, it can make it more fool proof. */ X #if (defined(XFRACT) && !defined(__sun)) X-#if defined(sgi) X+#if defined(sgi) || defined(__FreeBSD__) X #include <sys/endian.h> X #else X #include <endian.h> X@@ -319,7 +319,7 @@ X /* HP-UX support long doubles and allows them to be read in with */ X /* scanf(), but does not support the functions sinl, cosl, fabsl, etc. */ X /* CAE added this 26Jan95 so it would compile (altered by Wes to new macro) */ X-#ifdef _HPUX_SOURCE X+#if defined _HPUX_SOURCE || defined (__FreeBSD__) X #define DO_NOT_USE_LONG_DOUBLE X #endif X b04a197b1d850abc3d108cca44d02a76 echo x - xfractint-devel/files/patch-prompts1.c sed 's/^X//' >xfractint-devel/files/patch-prompts1.c << 'cf713b751f11c8f819e0869418acf369' X--- common/prompts1.c.orig Mon Apr 8 19:33:28 2002 X+++ common/prompts1.c Mon Sep 3 19:16:50 2007 X@@ -12,7 +12,7 @@ X #endif X #ifdef __TURBOC__ X #include <alloc.h> X-#elif !defined(__386BSD__) X+#elif !defined(BIG_ANSI_C) X #include <malloc.h> X #endif X cf713b751f11c8f819e0869418acf369 echo x - xfractint-devel/files/patch-prompts2.c sed 's/^X//' >xfractint-devel/files/patch-prompts2.c << '124dc3cc4d17f66441b66a33f0e00b84' X--- common/prompts2.c.orig 2009-09-06 12:34:24.000000000 +0000 X+++ common/prompts2.c 2009-09-06 12:34:47.000000000 +0000 X@@ -12,7 +12,7 @@ X X #ifdef DIRENT X #include <dirent.h> X-#elif !defined(__SVR4) X+#elif !defined(__SVR4) && !defined(__FreeBSD__) X #include <sys/dir.h> X #else X #include <dirent.h> X@@ -24,7 +24,7 @@ X #endif X #ifdef __TURBOC__ X #include <alloc.h> X-#elif !defined(__386BSD__) X+#elif !defined(BIG_ANSI_C) X #include <malloc.h> X #endif X 124dc3cc4d17f66441b66a33f0e00b84 echo x - xfractint-devel/files/patch-soi.c sed 's/^X//' >xfractint-devel/files/patch-soi.c << '43c10774df99dbdaff11fd5d268ceac5' X--- common/soi.c.orig Mon Apr 8 19:33:28 2002 X+++ common/soi.c Mon Sep 3 16:01:06 2007 X@@ -13,7 +13,9 @@ X */ X #include <time.h> X #include <string.h> X+#ifndef BIG_ANSI_C X #include <malloc.h> X+#endif X #include "port.h" X #include "prototyp.h" X X@@ -21,7 +23,7 @@ X #define FABS(x) fabsl(x) X /* the following needs to be changed back to frexpl once the portability X issue has been addressed JCO */ X-#ifndef XFRACT X+#ifndef __FreeBSD__ X #define FREXP(x,y) frexpl(x,y) X #else X #define FREXP(x,y) frexp(x,y) 43c10774df99dbdaff11fd5d268ceac5 echo x - xfractint-devel/files/patch-soi1.c sed 's/^X//' >xfractint-devel/files/patch-soi1.c << '7c3891fbbb9d4297520d66e177864fc9' X--- common/soi1.c.orig Tue Sep 7 00:38:10 1999 X+++ common/soi1.c Sun Dec 7 02:58:25 2003 X@@ -13,7 +13,9 @@ X */ X #include <time.h> X #include <string.h> X+#ifndef BIG_ANSI_C X #include <malloc.h> X+#endif X #include "port.h" X #include "prototyp.h" X 7c3891fbbb9d4297520d66e177864fc9 echo x - xfractint-devel/files/patch-unixscr.c sed 's/^X//' >xfractint-devel/files/patch-unixscr.c << '271c6a44f0574fc72563d18c4ec1ed40' X--- unix/unixscr.c 2008-05-03 17:52:03.000000000 +0000 X+++ unix/unixscr.c 2009-09-06 12:44:04.000000000 +0000 X@@ -54,7 +54,7 @@ X #define FNDELAY O_NDELAY X #endif X #endif X-#ifdef __SVR4 X+#if defined (__SVR4) || defined(__FreeBSD__) X # include <sys/filio.h> X # define FNDELAY O_NONBLOCK X #endif X@@ -339,7 +339,7 @@ X initdacbox(); X X if (!simple_input) { X- signal(SIGINT,(SignalHandler)goodbye); X+ signal(SIGINT,(sig_t)goodbye); X } X signal(SIGFPE, fpe_handler); X /* 271c6a44f0574fc72563d18c4ec1ed40 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909081813.n88IDuVS072240>