blob: e6b9f9849d076c1ed4e0a258425b81331d0b98d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.76 2021/02/07 06:30:16 ryoon Exp $
VERSION= 2019.05
DISTNAME= openscad-${VERSION}
PKGREVISION= 17
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GITHUB:=openscad/}
GITHUB_TAG= openscad-${VERSION}
MAINTAINER= reinoud@NetBSD.org
HOMEPAGE= https://www.openscad.org/
COMMENT= OpenSCAD - The Programmers Solid 3D CAD Modeller
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_TOOLS+= bison gettext pkg-config
USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}/${PKGBASE}-${DISTNAME}
CHECK_PORTABILITY_SKIP+= tests/compare-bitmaps.sh
.include "../../lang/python/application.mk"
MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
do-configure:
cd ${WRKSRC} && ${QTDIR}/bin/qmake \
PREFIX=${PREFIX} -after QMAKE_YACC=bison QMAKE_LEX=flex \
QMAKE_CXXFLAGS+=-std=c++0x
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
# DragonFly requires FlexLexer.h from pkgsrc - base doesn't cut it.
.include "../../devel/flex/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../fonts/harfbuzz/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/opencsg/buildlink3.mk"
.include "../../math/cgal/buildlink3.mk"
.include "../../math/eigen3/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
.include "../../x11/qt5-qscintilla/buildlink3.mk"
.include "../../textproc/libxml++/buildlink3.mk"
.include "../../math/double-conversion/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|