aboutsummaryrefslogtreecommitdiff
path: root/graphics/yafaray
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2011-02-24 08:08:54 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2011-02-24 08:08:54 +0000
commitdd05ef43faf6f77defc492ad20ac7f4eca722d27 (patch)
tree06cffdc675d4b0caca5ce331b510059eb37fee51 /graphics/yafaray
parentcdac222e655ab17dcfa11d77581abbc16594ad68 (diff)
downloadports-dd05ef43faf6f77defc492ad20ac7f4eca722d27.tar.gz
ports-dd05ef43faf6f77defc492ad20ac7f4eca722d27.zip
Notes
Diffstat (limited to 'graphics/yafaray')
-rw-r--r--graphics/yafaray/Makefile26
-rw-r--r--graphics/yafaray/distinfo3
-rw-r--r--graphics/yafaray/files/patch-SConstruct14
-rw-r--r--graphics/yafaray/files/patch-freebsd-settings.py32
-rw-r--r--graphics/yafaray/files/patch-src::loader::gram_loader.h13
-rw-r--r--graphics/yafaray/files/patch-src_yafraycore_ccthreads.h12
-rw-r--r--graphics/yafaray/files/patch-src_yafraycore_threadedscene.cc13
-rw-r--r--graphics/yafaray/files/patch-src_yafraycore_y_alloc.h39
-rw-r--r--graphics/yafaray/pkg-descr3
-rw-r--r--graphics/yafaray/pkg-plist23
10 files changed, 0 insertions, 178 deletions
diff --git a/graphics/yafaray/Makefile b/graphics/yafaray/Makefile
deleted file mode 100644
index fd8c459882f8..000000000000
--- a/graphics/yafaray/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# New ports collection makefile for: yafray
-# Date created: 18 May 2003
-# Whom: David Yeske <dyeske@gmail.com>
-#
-# $FreeBSD$
-
-PORTNAME= yafray
-PORTVERSION= 0.0.9
-PORTREVISION= 2
-CATEGORIES= graphics
-MASTER_SITES= http://www.yafray.org/sec/2/downloads/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A fast XML based raytracer
-
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
-
-USE_SCONS= yes
-USE_LDCONFIG= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-pre-patch:
- @${MV} ${WRKSRC}/linux-settings.py ${WRKSRC}/freebsd-settings.py
-
-.include <bsd.port.mk>
diff --git a/graphics/yafaray/distinfo b/graphics/yafaray/distinfo
deleted file mode 100644
index 13bae9f58068..000000000000
--- a/graphics/yafaray/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (yafray-0.0.9.tar.gz) = 7365122e0ca6f439988f51e8b4db935c
-SHA256 (yafray-0.0.9.tar.gz) = f803e7058fb65cab9c0d00599daa85ca291fb57941822d622426e3466ec0aefb
-SIZE (yafray-0.0.9.tar.gz) = 316033
diff --git a/graphics/yafaray/files/patch-SConstruct b/graphics/yafaray/files/patch-SConstruct
deleted file mode 100644
index fade40439216..000000000000
--- a/graphics/yafaray/files/patch-SConstruct
+++ /dev/null
@@ -1,14 +0,0 @@
---- SConstruct.orig 2006-06-20 21:24:00.000000000 +0400
-+++ SConstruct 2009-11-04 20:56:07.000000000 +0300
-@@ -8,6 +8,11 @@
- ficheros = {
- 'darwin' : 'darwin-settings',
- 'linux2' : 'linux-settings',
-+'freebsd5' : 'freebsd-settings',
-+'freebsd6' : 'freebsd-settings',
-+'freebsd7' : 'freebsd-settings',
-+'freebsd8' : 'freebsd-settings',
-+'freebsd9' : 'freebsd-settings',
- 'win32' : 'win32-settings',
- 'sunos5' : 'sunos5-settings'
- }
diff --git a/graphics/yafaray/files/patch-freebsd-settings.py b/graphics/yafaray/files/patch-freebsd-settings.py
deleted file mode 100644
index 454943db3bb7..000000000000
--- a/graphics/yafaray/files/patch-freebsd-settings.py
+++ /dev/null
@@ -1,32 +0,0 @@
---- freebsd-settings.py.orig Sat Sep 23 00:21:17 2006
-+++ freebsd-settings.py Sat Sep 23 00:21:29 2006
-@@ -10,6 +10,7 @@
- global prefix
- prefix = args.get('prefix','/usr/local')
-
-+def get_include(args): return prefix+"/usr/local/include"
- def get_libpath(args): return prefix+"/lib"
- def get_pluginpath(args): return prefix+"/lib/yafray"
- def get_binpath(args): return prefix+"/bin"
-@@ -46,9 +47,9 @@
- class jpeg(globalinfo.library):
- C_ID = 'JPEG'
-
-- def present(args): return os.path.exists("/usr/include/jpeglib.h")
-- def get_include(args): return []
-- def get_libpath(args): return []
-+ def present(args): return os.path.exists("/usr/local/include/jpeglib.h")
-+ def get_include(args): return ['/usr/local/include']
-+ def get_libpath(args): return ['/usr/local/lib']
- def get_libs(args): return ['jpeg']
-
- class pthread(globalinfo.library):
-@@ -73,7 +74,7 @@
- def present(args): return True
- def get_include(args): return []
- def get_libpath(args): return []
-- def get_libs(args): return ['dl']
-+ def get_libs(args): return ['']
-
- def derive_shared_env(common_env):
- return common_env.Copy()
diff --git a/graphics/yafaray/files/patch-src::loader::gram_loader.h b/graphics/yafaray/files/patch-src::loader::gram_loader.h
deleted file mode 100644
index 2f43ae477901..000000000000
--- a/graphics/yafaray/files/patch-src::loader::gram_loader.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/loader/gram_loader.h.orig Thu Sep 30 14:48:47 2004
-+++ src/loader/gram_loader.h Thu Sep 30 14:49:18 2004
-@@ -22,6 +22,10 @@
- #ifndef __GRAML_H
- #define __GRAML_H
-
-+#include <iostream>
-+
-+using namespace std;
-+
- #include "gram_lex.h"
-
- struct sym_t
diff --git a/graphics/yafaray/files/patch-src_yafraycore_ccthreads.h b/graphics/yafaray/files/patch-src_yafraycore_ccthreads.h
deleted file mode 100644
index 082cf1d35429..000000000000
--- a/graphics/yafaray/files/patch-src_yafraycore_ccthreads.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/yafraycore/ccthreads.h.orig 2007-07-02 17:04:18.000000000 -0400
-+++ src/yafraycore/ccthreads.h 2007-07-02 17:04:33.000000000 -0400
-@@ -81,9 +81,7 @@
- virtual void body()=0;
- void run();
- void wait();
-- int getId() {return (int)id;};
- pthread_t getPid() {return id;};
-- int getSelf() {return (int)pthread_self();};
- bool isRunning()const {return running;};
- protected:
- bool running;
diff --git a/graphics/yafaray/files/patch-src_yafraycore_threadedscene.cc b/graphics/yafaray/files/patch-src_yafraycore_threadedscene.cc
deleted file mode 100644
index fa5e770f96a6..000000000000
--- a/graphics/yafaray/files/patch-src_yafraycore_threadedscene.cc
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/yafraycore/threadedscene.cc.orig Mon Jul 4 11:01:46 2005
-+++ src/yafraycore/threadedscene.cc Sat Sep 23 00:16:35 2006
-@@ -35,6 +35,10 @@
- #include <semaphore.h>
- #include<map>
-
-+#ifdef __FreeBSD__
-+#include<sys/time.h>
-+#endif
-+
- sem_t pstop;
-
-
diff --git a/graphics/yafaray/files/patch-src_yafraycore_y_alloc.h b/graphics/yafaray/files/patch-src_yafraycore_y_alloc.h
deleted file mode 100644
index 25b0823c6c25..000000000000
--- a/graphics/yafaray/files/patch-src_yafraycore_y_alloc.h
+++ /dev/null
@@ -1,39 +0,0 @@
---- src/yafraycore/y_alloc.h.orig Thu Jul 13 12:35:02 2006
-+++ src/yafraycore/y_alloc.h Tue Oct 17 14:55:47 2006
-@@ -5,7 +5,7 @@
- #include<config.h>
- #endif
-
--#ifdef __APPLE__
-+#if defined(__APPLE__) || defined (__FreeBSD__)
- #include <stdlib.h>
- #else
- #include <malloc.h>
-@@ -13,6 +13,10 @@
- #include <vector>
- #include <algorithm>
-
-+#if defined(__FreeBSD__)
-+#include <sys/param.h>
-+#endif
-+
- __BEGIN_YAFRAY
-
- typedef unsigned int u_int32;
-@@ -26,6 +30,16 @@
- // however, malloc is supposed to return at least SSE2 compatible alignment, which has to be enough.
- // alternative would be valloc, but i have no good info on its effects.
- return malloc(size);
-+#elif defined(__FreeBSD__)
-+#if (__FreeBSD_version < 700014)
-+ return malloc(size);
-+#else
-+ void *ret;
-+ if (posix_memalign(&ret, bound, size) != 0)
-+ return (NULL);
-+ else
-+ return (ret);
-+#endif
- #else
- return memalign(bound, size);
- #endif
diff --git a/graphics/yafaray/pkg-descr b/graphics/yafaray/pkg-descr
deleted file mode 100644
index 49ab4368103f..000000000000
--- a/graphics/yafaray/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-This is an advanced raytracer that uses XML.
-
-WWW: http://www.yafray.org/
diff --git a/graphics/yafaray/pkg-plist b/graphics/yafaray/pkg-plist
deleted file mode 100644
index ef2765719f2a..000000000000
--- a/graphics/yafaray/pkg-plist
+++ /dev/null
@@ -1,23 +0,0 @@
-bin/yafray
-etc/gram.yafray
-lib/libyafraycore.so
-lib/libyafrayplugin.so
-lib/yafray/libpathlight.so
-lib/yafray/libsunlight.so
-lib/yafray/libpointlight.so
-lib/yafray/libphotonlight.so
-lib/yafray/libhemilight.so
-lib/yafray/libspotlight.so
-lib/yafray/libsoftlight.so
-lib/yafray/libarealight.so
-lib/yafray/libglobalphotonlight.so
-lib/yafray/libspherelight.so
-lib/yafray/libbasicshaders.so
-lib/yafray/libbasicblocks.so
-lib/yafray/libmixblocks.so
-lib/yafray/libblendershader.so
-lib/yafray/libhdri.so
-lib/yafray/libshaderback.so
-lib/yafray/libsss.so
-lib/yafray/libsunsky.so
-@dirrm lib/yafray