forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (26 loc) · 911 Bytes
/
Makefile
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
# Created by: Fernando Apesteguia <[email protected]>
# $FreeBSD$
PORTNAME= stepcode
PORTVERSION= 0.8
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= cad
MAINTAINER= [email protected]
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-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>