| version 1.13, 2025/10/16 04:31:42 |
version 1.16, 2025/11/05 22:46:35 |
|
|
| CATEGORIES = cad |
CATEGORIES = cad |
| |
|
| HOMEPAGE = https://www.openscad.org/ |
HOMEPAGE = https://www.openscad.org/ |
| |
TEST_IS_INTERACTIVE = X11 |
| |
|
| # AGPL-3.0 |
# AGPL-3.0 |
| PERMIT_PACKAGE = Yes |
PERMIT_PACKAGE = Yes |
|
|
| |
|
| TEST_DEPENDS = graphics/ImageMagick |
TEST_DEPENDS = graphics/ImageMagick |
| |
|
| |
# A test requires this |
| |
TEST_DEPENDS += shells/bash |
| |
|
| # The openscad script wrapper breaks debug packages |
# The openscad script wrapper breaks debug packages |
| #DEBUG_PACKAGES = ${BUILD_PACKAGES} |
#DEBUG_PACKAGES = ${BUILD_PACKAGES} |
| |
|
|
|
| post-extract: |
post-extract: |
| rmdir ${WRKSRC}/libraries/MCAD |
rmdir ${WRKSRC}/libraries/MCAD |
| cp -a ${WRKDIR}/MCAD-${MCAD_COMMIT} ${WRKSRC}/libraries/MCAD |
cp -a ${WRKDIR}/MCAD-${MCAD_COMMIT} ${WRKSRC}/libraries/MCAD |
| |
#find ${WRKSRC} -type f -exec sed -i '1s,^#!/bin/sh,#!${PREFIX}/bin/bash,' {} + |
| |
|
| # OpenSCAD uses the program_location (see patch-src_openscad_cc) to |
# OpenSCAD uses the program_location (see patch-src_openscad_cc) to |
| # figure out resource paths, but on OpenBSD that doesn't work when |
# figure out resource paths, but on OpenBSD that doesn't work when |