aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/yafray
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-07-21 14:53:41 +0800
committeryuri <yuri@FreeBSD.org>2018-07-21 14:53:41 +0800
commitb8dd3c71bf259c5209cd1cc75c6607de81f2fb2c (patch)
tree70d65bf3a4b14d8e88393223296b5cf1fda9b0cd /graphics/yafray
parent145d93edd480e76201d7f92344a6cb89e82e1181 (diff)
downloadfreebsd-ports-gnome-b8dd3c71bf259c5209cd1cc75c6607de81f2fb2c.tar.gz
freebsd-ports-gnome-b8dd3c71bf259c5209cd1cc75c6607de81f2fb2c.tar.zst
freebsd-ports-gnome-b8dd3c71bf259c5209cd1cc75c6607de81f2fb2c.zip
Rename graphics/yafray to graphics/yafaray; Update 0.0.9 -> 3.0-5
The project was renamed. http://www.yafray.org redirects to http://www.yafaray.org Port changes (almost everything has changed): * Change COMMENT * Add LICENSE, etc * Add ONLY_FOR_ARCHS, etc * Add LIB_DEPENDS * Uses github now * Add options * Remove do-install * Add post-install * Update description and WWW
Diffstat (limited to 'graphics/yafray')
-rw-r--r--graphics/yafray/Makefile32
-rw-r--r--graphics/yafray/distinfo2
-rw-r--r--graphics/yafray/files/patch-SConstruct17
-rw-r--r--graphics/yafray/files/patch-freebsd-settings.py41
-rw-r--r--graphics/yafray/files/patch-src__loader__gram_loader.h13
-rw-r--r--graphics/yafray/files/patch-src_shaders_basictex.cc11
-rw-r--r--graphics/yafray/files/patch-src_yafraycore_ccthreads.h12
-rw-r--r--graphics/yafray/files/patch-src_yafraycore_threadedscene.cc13
-rw-r--r--graphics/yafray/files/patch-src_yafraycore_y_alloc.h39
-rw-r--r--graphics/yafray/pkg-descr3
-rw-r--r--graphics/yafray/pkg-plist22
11 files changed, 0 insertions, 205 deletions
diff --git a/graphics/yafray/Makefile b/graphics/yafray/Makefile
deleted file mode 100644
index 62d5258058bd..000000000000
--- a/graphics/yafray/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# Created by: David Yeske <dyeske@gmail.com>
-# $FreeBSD$
-
-PORTNAME= yafray
-PORTVERSION= 0.0.9
-PORTREVISION= 3
-CATEGORIES= graphics
-MASTER_SITES= http://freebsd.nsu.ru/distfiles/ \
- #http://www.yafaray.org/sites/default/files/download/builds/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Fast XML based raytracer
-
-USES= jpeg scons
-USE_LDCONFIG= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-pre-patch:
- @${MV} ${WRKSRC}/linux-settings.py ${WRKSRC}/freebsd-settings.py
-
-post-patch:
- @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
- -e 's|%%CXXFLAGS%%|${CXXFLAGS}|' \
- ${WRKSRC}/freebsd-settings.py
-
-do-install:
- (cd ${WRKSRC} && ${MAKE_CMD} prefix=${STAGEDIR}${PREFIX} install)
- (cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/${PORTNAME} \
- lib/*.so lib/yafray/*.so)
-
-.include <bsd.port.mk>
diff --git a/graphics/yafray/distinfo b/graphics/yafray/distinfo
deleted file mode 100644
index fc1191bb34e2..000000000000
--- a/graphics/yafray/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (yafray-0.0.9.tar.gz) = f803e7058fb65cab9c0d00599daa85ca291fb57941822d622426e3466ec0aefb
-SIZE (yafray-0.0.9.tar.gz) = 316033
diff --git a/graphics/yafray/files/patch-SConstruct b/graphics/yafray/files/patch-SConstruct
deleted file mode 100644
index d4191bc44f10..000000000000
--- a/graphics/yafray/files/patch-SConstruct
+++ /dev/null
@@ -1,17 +0,0 @@
---- SConstruct.orig 2006-06-20 17:24:00 UTC
-+++ SConstruct
-@@ -8,6 +8,14 @@ prefix=ARGUMENTS.get('prefix','/usr/loca
- ficheros = {
- 'darwin' : 'darwin-settings',
- 'linux2' : 'linux-settings',
-+'freebsd5' : 'freebsd-settings',
-+'freebsd6' : 'freebsd-settings',
-+'freebsd7' : 'freebsd-settings',
-+'freebsd8' : 'freebsd-settings',
-+'freebsd9' : 'freebsd-settings',
-+'freebsd10' : 'freebsd-settings',
-+'freebsd11' : 'freebsd-settings',
-+'freebsd12' : 'freebsd-settings',
- 'win32' : 'win32-settings',
- 'sunos5' : 'sunos5-settings'
- }
diff --git a/graphics/yafray/files/patch-freebsd-settings.py b/graphics/yafray/files/patch-freebsd-settings.py
deleted file mode 100644
index 9f39a7456510..000000000000
--- a/graphics/yafray/files/patch-freebsd-settings.py
+++ /dev/null
@@ -1,41 +0,0 @@
---- freebsd-settings.py.orig 2006-07-14 12:14:52.000000000 +0200
-+++ freebsd-settings.py 2014-04-29 10:49:21.918250680 +0200
-@@ -10,6 +10,7 @@
- global prefix
- prefix = args.get('prefix','/usr/local')
-
-+def get_include(args): return "%%LOCALBASE%%/include"
- def get_libpath(args): return prefix+"/lib"
- def get_pluginpath(args): return prefix+"/lib/yafray"
- def get_binpath(args): return prefix+"/bin"
-@@ -22,7 +23,7 @@
- if debug:
- flags+=' -O3 -ffast-math -ggdb'
- else:
-- flags+=' -O3 -ffast-math -fomit-frame-pointer'
-+ flags+=' %%CXXFLAGS%%'
- if arch!='':
- flags+=' -march='+arch
- if tune!='':
-@@ -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("%%LOCALBASE%%/include/jpeglib.h")
-+ def get_include(args): return ['%%LOCALBASE%%/include']
-+ def get_libpath(args): return ['%%LOCALBASE%%/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/yafray/files/patch-src__loader__gram_loader.h b/graphics/yafray/files/patch-src__loader__gram_loader.h
deleted file mode 100644
index 2f43ae477901..000000000000
--- a/graphics/yafray/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/yafray/files/patch-src_shaders_basictex.cc b/graphics/yafray/files/patch-src_shaders_basictex.cc
deleted file mode 100644
index b3bda54813a0..000000000000
--- a/graphics/yafray/files/patch-src_shaders_basictex.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/shaders/basictex.cc.orig 2006-06-10 00:41:26 UTC
-+++ src/shaders/basictex.cc
-@@ -259,7 +259,7 @@ textureImage_t::textureImage_t(const cha
- intp_type = BICUBIC;
-
- // Load image, try to determine from extensions first
-- char *ext = strrchr(filename, '.');
-+ const char *ext = strrchr(filename, '.');
- bool jpg_tried = false;
- bool tga_tried = false;
- bool hdr_tried = false;
diff --git a/graphics/yafray/files/patch-src_yafraycore_ccthreads.h b/graphics/yafray/files/patch-src_yafraycore_ccthreads.h
deleted file mode 100644
index 082cf1d35429..000000000000
--- a/graphics/yafray/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/yafray/files/patch-src_yafraycore_threadedscene.cc b/graphics/yafray/files/patch-src_yafraycore_threadedscene.cc
deleted file mode 100644
index fa5e770f96a6..000000000000
--- a/graphics/yafray/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/yafray/files/patch-src_yafraycore_y_alloc.h b/graphics/yafray/files/patch-src_yafraycore_y_alloc.h
deleted file mode 100644
index 25b0823c6c25..000000000000
--- a/graphics/yafray/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/yafray/pkg-descr b/graphics/yafray/pkg-descr
deleted file mode 100644
index 49ab4368103f..000000000000
--- a/graphics/yafray/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/yafray/pkg-plist b/graphics/yafray/pkg-plist
deleted file mode 100644
index 5d258d7df415..000000000000
--- a/graphics/yafray/pkg-plist
+++ /dev/null
@@ -1,22 +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