mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
707c6bf295
Ports that build out of source now simply can use "USES=cmake" instead of "USES=cmake:outsource". Ports that fail to build out of source now need to specify "USES=cmake:insource". I tried to only set insource where explictely needed. PR: 232038 Exp-run by: antoine
35 lines
825 B
Makefile
35 lines
825 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= stepcode
|
|
PORTVERSION= 0.8
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 5
|
|
CATEGORIES= cad
|
|
|
|
MAINTAINER= fernape@FreeBSD.org
|
|
COMMENT= Generates C++ and Python from ISO10303 files
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_powerpc64= fails to configure: Schema scan for 15926-0002-lifecycle_integration.exp exited with error code 1
|
|
|
|
USES= cmake compiler:c++11-lang
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
CMAKE_ARGS+= -DSC_INSTALL_PREFIX=${PREFIX} \
|
|
-DSC_BUILD_TYPE=Release
|
|
|
|
MANDIRS= ${PREFIX}/man
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,( JudyValue ) 0,nullptr,' \
|
|
${WRKSRC}/src/base/judy/src/judy*Array.h
|
|
|
|
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>
|