2015-07-03 14:45:40 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= stepcode
|
|
|
|
PORTVERSION= 0.8
|
|
|
|
DISTVERSIONPREFIX= v
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 20:46:53 +00:00
|
|
|
PORTREVISION= 6
|
2015-07-03 14:45:40 +00:00
|
|
|
CATEGORIES= cad
|
|
|
|
|
2018-03-12 19:20:32 +00:00
|
|
|
MAINTAINER= fernape@FreeBSD.org
|
2015-07-03 14:45:40 +00:00
|
|
|
COMMENT= Generates C++ and Python from ISO10303 files
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2020-02-05 13:25:51 +00:00
|
|
|
BROKEN_FreeBSD_11_powerpc64= fails to configure: Schema scan for 15926-0002-lifecycle_integration.exp exited with error code 1
|
|
|
|
BROKEN_FreeBSD_12_powerpc64= fails to configure: Schema scan for 15926-0002-lifecycle_integration.exp exited with error code 1
|
2017-05-21 21:55:08 +00:00
|
|
|
|
2018-12-25 20:25:39 +00:00
|
|
|
USES= cmake compiler:c++11-lang
|
2015-07-03 14:45:40 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS+= -DSC_INSTALL_PREFIX=${PREFIX} \
|
|
|
|
-DSC_BUILD_TYPE=Release
|
|
|
|
|
2017-08-29 19:36:16 +00:00
|
|
|
MANDIRS= ${PREFIX}/man
|
|
|
|
|
2018-02-02 09:48:48 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,( JudyValue ) 0,nullptr,' \
|
|
|
|
${WRKSRC}/src/base/judy/src/judy*Array.h
|
|
|
|
|
2015-07-03 14:45:40 +00:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/schema_scanner
|
|
|
|
@(cd ${STAGEDIR}${PREFIX} ; \
|
|
|
|
${FIND} include \( -type f -or -type l \) | ${SORT} >> ${TMPPLIST})
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|