e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. 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, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
31 lines
802 B
Makefile
31 lines
802 B
Makefile
# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= stepcode
|
|
PORTVERSION= 0.8
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 3
|
|
CATEGORIES= cad
|
|
|
|
MAINTAINER= fernando.apesteguia@gmail.com
|
|
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:outsource compiler:c++11-lang
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
CMAKE_ARGS+= -DSC_INSTALL_PREFIX=${PREFIX} \
|
|
-DSC_BUILD_TYPE=Release
|
|
|
|
MANDIRS= ${PREFIX}/man
|
|
|
|
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>
|