Sun Aug 16 23:21:29 2020 UTC ()
aqsis: BROKEN message should be in quotes to avoid linebreaks


(tnn)
diff -r1.85 -r1.86 pkgsrc/graphics/aqsis/Makefile

cvs diff -r1.85 -r1.86 pkgsrc/graphics/aqsis/Attic/Makefile (switch to unified diff)

--- pkgsrc/graphics/aqsis/Attic/Makefile 2020/05/21 20:53:42 1.85
+++ pkgsrc/graphics/aqsis/Attic/Makefile 2020/08/16 23:21:29 1.86
@@ -1,170 +1,170 @@ @@ -1,170 +1,170 @@
1# $NetBSD: Makefile,v 1.85 2020/05/21 20:53:42 ryoon Exp $ 1# $NetBSD: Makefile,v 1.86 2020/08/16 23:21:29 tnn Exp $
2# 2#
3 3
4DISTNAME= aqsis-1.8.1 4DISTNAME= aqsis-1.8.1
5PKGREVISION= 42 5PKGREVISION= 42
6CATEGORIES= graphics 6CATEGORIES= graphics
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aqsis/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aqsis/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.aqsis.org/ 10HOMEPAGE= https://www.aqsis.org/
11COMMENT= Renderman clone 11COMMENT= Renderman clone
12LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND modified-bsd 12LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND modified-bsd
13 13
14USE_CMAKE= yes 14USE_CMAKE= yes
15USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
16USE_TOOLS+= pkg-config flex bison 16USE_TOOLS+= pkg-config flex bison
17 17
18BROKEN= Not valid C++11 code, but dependencies require C++11 18BROKEN= "Not valid C++11 code, but dependencies require C++11"
19 19
20LDFLAGS.SunOS= -lsocket -lnsl 20LDFLAGS.SunOS= -lsocket -lnsl
21 21
22# 22#
23# Insists on being built in a separate directory. 23# Insists on being built in a separate directory.
24# 24#
25 25
26CONFIGURE_DIRS= build 26CONFIGURE_DIRS= build
27CMAKE_ARG_PATH= .. 27CMAKE_ARG_PATH= ..
28 28
29pre-configure: 29pre-configure:
30 mkdir ${WRKSRC}/build 30 mkdir ${WRKSRC}/build
31 31
32# 32#
33# Something in cmake issues -ldl regardless of whether it's appropriate. 33# Something in cmake issues -ldl regardless of whether it's appropriate.
34# Kludge around it. 34# Kludge around it.
35# 35#
36 36
37# This does not work; it sets CMAKE_DL_LIBS which the cmake documentation 37# This does not work; it sets CMAKE_DL_LIBS which the cmake documentation
38# says is where -ldl comes from, but this does not apparently prevent 38# says is where -ldl comes from, but this does not apparently prevent
39# cmake from issuing -ldl. 39# cmake from issuing -ldl.
40#CMAKE_ARGS+= -D CMAKE_DL_LIBS:STRING='${DL_LIBS}' 40#CMAKE_ARGS+= -D CMAKE_DL_LIBS:STRING='${DL_LIBS}'
41 41
42BUILDLINK_TRANSFORM.NetBSD+= rm:-ldl 42BUILDLINK_TRANSFORM.NetBSD+= rm:-ldl
43 43
44# 44#
45# Forcibly reprogram cmake's rpath substitution. 45# Forcibly reprogram cmake's rpath substitution.
46# 46#
47 47
48BLDIR= ${WRKDIR}/.buildlink/lib 48BLDIR= ${WRKDIR}/.buildlink/lib
49 49
50SUBST_CLASSES+= rpath 50SUBST_CLASSES+= rpath
51SUBST_STAGE.rpath= post-configure 51SUBST_STAGE.rpath= post-configure
52SUBST_FILES.rpath+= build/libs/math/cmake_install.cmake 52SUBST_FILES.rpath+= build/libs/math/cmake_install.cmake
53SUBST_FILES.rpath+= build/libs/util/cmake_install.cmake 53SUBST_FILES.rpath+= build/libs/util/cmake_install.cmake
54SUBST_FILES.rpath+= build/libs/riutil/cmake_install.cmake 54SUBST_FILES.rpath+= build/libs/riutil/cmake_install.cmake
55SUBST_FILES.rpath+= build/libs/slcomp/cmake_install.cmake 55SUBST_FILES.rpath+= build/libs/slcomp/cmake_install.cmake
56SUBST_FILES.rpath+= build/libs/tex/cmake_install.cmake 56SUBST_FILES.rpath+= build/libs/tex/cmake_install.cmake
57SUBST_FILES.rpath+= build/libs/shadervm/cmake_install.cmake 57SUBST_FILES.rpath+= build/libs/shadervm/cmake_install.cmake
58SUBST_FILES.rpath+= build/libs/slxargs/cmake_install.cmake 58SUBST_FILES.rpath+= build/libs/slxargs/cmake_install.cmake
59SUBST_FILES.rpath+= build/libs/ri2rib/cmake_install.cmake 59SUBST_FILES.rpath+= build/libs/ri2rib/cmake_install.cmake
60SUBST_FILES.rpath+= build/libs/core/cmake_install.cmake 60SUBST_FILES.rpath+= build/libs/core/cmake_install.cmake
61SUBST_FILES.rpath+= build/tools/aqsl/cmake_install.cmake 61SUBST_FILES.rpath+= build/tools/aqsl/cmake_install.cmake
62SUBST_FILES.rpath+= build/tools/aqsltell/cmake_install.cmake 62SUBST_FILES.rpath+= build/tools/aqsltell/cmake_install.cmake
63SUBST_FILES.rpath+= build/tools/aqsis/cmake_install.cmake 63SUBST_FILES.rpath+= build/tools/aqsis/cmake_install.cmake
64SUBST_FILES.rpath+= build/tools/miqser/cmake_install.cmake 64SUBST_FILES.rpath+= build/tools/miqser/cmake_install.cmake
65SUBST_FILES.rpath+= build/tools/teqser/cmake_install.cmake 65SUBST_FILES.rpath+= build/tools/teqser/cmake_install.cmake
66SUBST_FILES.rpath+= build/tools/displays/exr/cmake_install.cmake 66SUBST_FILES.rpath+= build/tools/displays/exr/cmake_install.cmake
67SUBST_FILES.rpath+= build/tools/displays/file/cmake_install.cmake 67SUBST_FILES.rpath+= build/tools/displays/file/cmake_install.cmake
68SUBST_FILES.rpath+= build/tools/displays/piqsl/cmake_install.cmake 68SUBST_FILES.rpath+= build/tools/displays/piqsl/cmake_install.cmake
69SUBST_FILES.rpath+= build/tools/displays/sdcBMP/cmake_install.cmake 69SUBST_FILES.rpath+= build/tools/displays/sdcBMP/cmake_install.cmake
70SUBST_FILES.rpath+= build/tools/displays/xpm/cmake_install.cmake 70SUBST_FILES.rpath+= build/tools/displays/xpm/cmake_install.cmake
71SUBST_FILES.rpath+= build/tools/procedurals/hairgen/cmake_install.cmake 71SUBST_FILES.rpath+= build/tools/procedurals/hairgen/cmake_install.cmake
72SUBST_SED.rpath= -e '/OLD_RPATH/s,"::*","${PREFIX}/lib",' 72SUBST_SED.rpath= -e '/OLD_RPATH/s,"::*","${PREFIX}/lib",'
73SUBST_SED.rpath+= -e '/OLD_RPATH/s,${BLDIR},${PREFIX}/lib,' 73SUBST_SED.rpath+= -e '/OLD_RPATH/s,${BLDIR},${PREFIX}/lib,'
74SUBST_SED.rpath+= -e '/OLD_RPATH/s,:",",' 74SUBST_SED.rpath+= -e '/OLD_RPATH/s,:",",'
75SUBST_SED.rpath+= -e '/NEW_RPATH/s,"${PREFIX}/.*","${PREFIX}/lib",' 75SUBST_SED.rpath+= -e '/NEW_RPATH/s,"${PREFIX}/.*","${PREFIX}/lib",'
76SUBST_MESSAGE.rpath= Fixing broken rpath mangling. 76SUBST_MESSAGE.rpath= Fixing broken rpath mangling.
77 77
78# 78#
79# Scripts. 79# Scripts.
80# 80#
81 81
82REPLACE_PYTHON+= examples/features/occlusion/occlmap.py 82REPLACE_PYTHON+= examples/features/occlusion/occlmap.py
83 83
84# This script wants to run something called 'hython', which is 84# This script wants to run something called 'hython', which is
85# apparently a Python embedding inside something called Houdini, 85# apparently a Python embedding inside something called Houdini,
86# which appears to be payware. So let's let it slide. 86# which appears to be payware. So let's let it slide.
87CHECK_INTERPRETER_SKIP+= share/aqsis/plugins/houdini/slx2otl.py 87CHECK_INTERPRETER_SKIP+= share/aqsis/plugins/houdini/slx2otl.py
88 88
89# These are all ostensibly bash scripts but I see no bashisms in any of them. 89# These are all ostensibly bash scripts but I see no bashisms in any of them.
90REPLACE_SH+= examples/features/archives/render.sh 90REPLACE_SH+= examples/features/archives/render.sh
91REPLACE_SH+= examples/features/bake/render.sh 91REPLACE_SH+= examples/features/bake/render.sh
92REPLACE_SH+= examples/features/curves/render.sh 92REPLACE_SH+= examples/features/curves/render.sh
93REPLACE_SH+= examples/features/layeredshaders/render.sh 93REPLACE_SH+= examples/features/layeredshaders/render.sh
94REPLACE_SH+= examples/features/levelofdetail/render.sh 94REPLACE_SH+= examples/features/levelofdetail/render.sh
95REPLACE_SH+= examples/features/motionblur/render_camera.sh 95REPLACE_SH+= examples/features/motionblur/render_camera.sh
96REPLACE_SH+= examples/features/motionblur/render_deformation.sh 96REPLACE_SH+= examples/features/motionblur/render_deformation.sh
97REPLACE_SH+= examples/features/multipass/render.sh 97REPLACE_SH+= examples/features/multipass/render.sh
98REPLACE_SH+= examples/features/objectinstance/render.sh 98REPLACE_SH+= examples/features/objectinstance/render.sh
99REPLACE_SH+= examples/features/occlusion/render.sh 99REPLACE_SH+= examples/features/occlusion/render.sh
100REPLACE_SH+= examples/features/pointcloud/render.sh 100REPLACE_SH+= examples/features/pointcloud/render.sh
101REPLACE_SH+= examples/features/shadows/render_autoshadow.sh 101REPLACE_SH+= examples/features/shadows/render_autoshadow.sh
102REPLACE_SH+= examples/features/shadows/render_softshadow.sh 102REPLACE_SH+= examples/features/shadows/render_softshadow.sh
103REPLACE_SH+= examples/features/solidmodeling/render.sh 103REPLACE_SH+= examples/features/solidmodeling/render.sh
104REPLACE_SH+= examples/features/subdivision/render.sh 104REPLACE_SH+= examples/features/subdivision/render.sh
105REPLACE_SH+= examples/features/textures/render.sh 105REPLACE_SH+= examples/features/textures/render.sh
106REPLACE_SH+= examples/procedurals/menger/render.sh 106REPLACE_SH+= examples/procedurals/menger/render.sh
107REPLACE_SH+= examples/scenes/fisheye/render.sh 107REPLACE_SH+= examples/scenes/fisheye/render.sh
108REPLACE_SH+= examples/scenes/microbe/render.sh 108REPLACE_SH+= examples/scenes/microbe/render.sh
109REPLACE_SH+= examples/scenes/vase/render.sh 109REPLACE_SH+= examples/scenes/vase/render.sh
110REPLACE_SH+= tools/neqsus/houdini/post.sh 110REPLACE_SH+= tools/neqsus/houdini/post.sh
111REPLACE_SH+= distribution/linux/aqsis.sh 111REPLACE_SH+= distribution/linux/aqsis.sh
112REPLACE_SH+= distribution/linux/aqsl.sh 112REPLACE_SH+= distribution/linux/aqsl.sh
113REPLACE_SH+= distribution/linux/aqsltell.sh 113REPLACE_SH+= distribution/linux/aqsltell.sh
114 114
115# 115#
116# Handle the config file. 116# Handle the config file.
117# 117#
118# XXX the post-install rule will result in an overwritten config file 118# XXX the post-install rule will result in an overwritten config file
119# if using a non-DESTDIR build. However, I can't get it to install the 119# if using a non-DESTDIR build. However, I can't get it to install the
120# thing anywhere else; the setting cmake documents that ought to move 120# thing anywhere else; the setting cmake documents that ought to move
121# it does not work. 121# it does not work.
122# 122#
123 123
124PKG_SYSCONFSUBDIR= aqsis 124PKG_SYSCONFSUBDIR= aqsis
125CONF_FILES+= share/examples/aqsis/aqsisrc ${PKG_SYSCONFDIR}/aqsisrc 125CONF_FILES+= share/examples/aqsis/aqsisrc ${PKG_SYSCONFDIR}/aqsisrc
126INSTALLATION_DIRS+= share/examples/aqsis 126INSTALLATION_DIRS+= share/examples/aqsis
127 127
128post-install: 128post-install:
129 mv ${DESTDIR}${PREFIX}/etc/aqsis/aqsisrc \ 129 mv ${DESTDIR}${PREFIX}/etc/aqsis/aqsisrc \
130 ${DESTDIR}${PREFIX}/share/examples/aqsis/aqsisrc 130 ${DESTDIR}${PREFIX}/share/examples/aqsis/aqsisrc
131 rmdir ${DESTDIR}${PREFIX}/etc/aqsis || ${TRUE} 131 rmdir ${DESTDIR}${PREFIX}/etc/aqsis || ${TRUE}
132 rmdir ${DESTDIR}${PREFIX}/etc || ${TRUE} 132 rmdir ${DESTDIR}${PREFIX}/etc || ${TRUE}
133 133
134# 134#
135# Depends. The package says: 135# Depends. The package says:
136# 136#
137# CMake (v2.6.3+) 137# CMake (v2.6.3+)
138# Boost (v1.34.1+) 138# Boost (v1.34.1+)
139# libtiff.lib (v3.7.1+) 139# libtiff.lib (v3.7.1+)
140# flex (v2.5.4) (2.5.31 causes problems, see FAQ 2.2) 140# flex (v2.5.4) (2.5.31 causes problems, see FAQ 2.2)
141# bison (v1.35+) 141# bison (v1.35+)
142# Qt (v4.6+) - optional, for framebuffer rendering and other GUI components 142# Qt (v4.6+) - optional, for framebuffer rendering and other GUI components
143# libzlib (v1.1.4+) 143# libzlib (v1.1.4+)
144# libjpeg (v6b+) 144# libjpeg (v6b+)
145# libilmbase (v1.6+) 145# libilmbase (v1.6+)
146# OpenEXR - if you want to read and write OpenEXR HDR image files 146# OpenEXR - if you want to read and write OpenEXR HDR image files
147# 147#
148# and in practice it also needs png. 148# and in practice it also needs png.
149# 149#
150# Qt is optional and, for the time being, doesn't work - will need at 150# Qt is optional and, for the time being, doesn't work - will need at
151# least PLIST additions. 151# least PLIST additions.
152# 152#
153# From what I can tell it may react to py-sphinx and/or doxygen by 153# From what I can tell it may react to py-sphinx and/or doxygen by
154# installing more docs or other material. Not sure how to beat on 154# installing more docs or other material. Not sure how to beat on
155# cmake to make sure this doesn't happen. 155# cmake to make sure this doesn't happen.
156# 156#
157 157
158.include "options.mk" 158.include "options.mk"
159 159
160.include "../../devel/boost-libs/buildlink3.mk" 160.include "../../devel/boost-libs/buildlink3.mk"
161.include "../../graphics/png/buildlink3.mk" 161.include "../../graphics/png/buildlink3.mk"
162.include "../../graphics/tiff/buildlink3.mk" 162.include "../../graphics/tiff/buildlink3.mk"
163.include "../../graphics/ilmbase/buildlink3.mk" 163.include "../../graphics/ilmbase/buildlink3.mk"
164.include "../../graphics/openexr/buildlink3.mk" 164.include "../../graphics/openexr/buildlink3.mk"
165.include "../../devel/zlib/buildlink3.mk" 165.include "../../devel/zlib/buildlink3.mk"
166.include "../../mk/jpeg.buildlink3.mk" 166.include "../../mk/jpeg.buildlink3.mk"
167.include "../../mk/dlopen.buildlink3.mk" 167.include "../../mk/dlopen.buildlink3.mk"
168.include "../../sysutils/desktop-file-utils/desktopdb.mk" 168.include "../../sysutils/desktop-file-utils/desktopdb.mk"
169.include "../../lang/python/application.mk" 169.include "../../lang/python/application.mk"
170.include "../../mk/bsd.pkg.mk" 170.include "../../mk/bsd.pkg.mk"