summaryrefslogtreecommitdiff
path: root/graphics/irrlicht
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-12-13 14:20:32 +0000
committerjperkin <jperkin@pkgsrc.org>2022-12-13 14:20:32 +0000
commitf04c97d236b5ae66ed7edc4575a6160106b61c52 (patch)
tree96f3b22521f4251dfff37d3650360c5f9a0f6d56 /graphics/irrlicht
parent7cfd802d284c48428044db57e206dd13281d93ee (diff)
downloadpkgsrc-f04c97d236b5ae66ed7edc4575a6160106b61c52.tar.gz
irrlicht: Work around NetBSD unzip for patched files.
Diffstat (limited to 'graphics/irrlicht')
-rw-r--r--graphics/irrlicht/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/irrlicht/Makefile b/graphics/irrlicht/Makefile
index 602d5af3d14..5893e882759 100644
--- a/graphics/irrlicht/Makefile
+++ b/graphics/irrlicht/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/05/09 12:28:37 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/13 14:20:32 jperkin Exp $
DISTNAME= irrlicht-1.8.4
CATEGORIES= graphics
@@ -10,6 +10,15 @@ HOMEPAGE= http://irrlicht.sourceforge.net/
COMMENT= Open source high performance real-time 3D engine
LICENSE= zlib
+# Work around NetBSD unzip for patched files.
+SUBST_CLASSES+= cr
+SUBST_STAGE.cr= post-extract
+SUBST_FILES.cr+= source/Irrlicht/COSOperator.cpp
+SUBST_FILES.cr+= source/Irrlicht/Makefile
+SUBST_FILES.cr+= source/Irrlicht/os.cpp
+SUBST_FILTER_CMD.cr= ${TR} -d '\r'
+SUBST_NOOP_OK.cr= yes
+
USE_TOOLS+= pkg-config gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= yes