pkgsrc/cad/oce/Makefile
fhajny 4eef6ac5b3 Update cad/oce to 0.18.2.
- Fix issue of raise exception when sweep along with cornered line
- osx ifx: Visualization, Font_FontMgr - do not look for fonts.dir on OS X
- fix external linkage error in BRepBuilderAPI_Copy
2017-08-18 10:08:40 +00:00

36 lines
947 B
Makefile

# $NetBSD: Makefile,v 1.4 2017/08/18 10:08:40 fhajny Exp $
DISTNAME= OCE-0.18.2
PKGNAME= ${DISTNAME:tl}
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GITHUB:=tpaviot/}
MAINTAINER= filip@joyent.com
HOMEPAGE= https://github.com/tpaviot/oce/
COMMENT= Open CASCADE Community Edition
LICENSE= gnu-lgpl-v2.1
GITHUB_TAG= ${DISTNAME}
WRKSRC= ${WRKDIR}/oce-${DISTNAME}
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
CHECK_PORTABILITY_SKIP+= samples/qt/*
# mk/configure/cmake.mk disables rpath handling
# but we need it for a lib subpath
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/oce
CMAKE_ARGS+= -DOCE_INSTALL_PREFIX:PATH=${PREFIX}
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Fixing PREFIX path.
SUBST_STAGE.prefix= post-configure
SUBST_FILES.prefix= CMakeFiles/Export/lib/oce/OCE-libraries-release.cmake
SUBST_SED.prefix= -e "s|${BUILDLINK_DIR}/lib/lib\([0-9a-zA-Z_-]*\)\.so|\1|g"
.include "options.mk"
.include "../../mk/bsd.pkg.mk"