mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
ea8c8ec7da
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
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= klayout
|
|
PORTVERSION= 0.25.8
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= cad
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Qt-based GDS2 Viewer
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BROKEN_i386= type 'hash<long long>' does not provide a call operator
|
|
BROKEN_sparc64= Does not compile on sparc64: gcc bug
|
|
|
|
USES= compiler:c++0x gmake gl python qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= KLayout
|
|
USE_GL= gl
|
|
USE_RUBY= yes
|
|
USE_QT= core buildtools designer gui multimedia network printsupport \
|
|
qmake sql svg testlib widgets xml xmlpatterns
|
|
USE_LDCONFIG= yes
|
|
|
|
CXXFLAGS+= -fPIC -I${LOCALBASE}/include/qt5
|
|
LDFLAGS+= ${LIBS} -L${LOCALBASE}/lib/qt5 -lpthread
|
|
QT5MODULES= Core Designer Gui Multimedia MultimediaWidgets \
|
|
Network PrintSupport Sql Svg Test Widgets Xml XmlPatterns
|
|
.for M in ${QT5MODULES}
|
|
CXXFLAGS+= -I${LOCALBASE}/include/qt5/Qt${M}
|
|
LIBS+= -lQt5${M}
|
|
.endfor
|
|
MAKE_ENV= INSTALL_ROOT=${STAGEDIR}
|
|
BUILD_WRKSRC= ${WRKSRC}/build-release
|
|
INSTALL_WRKSRC= ${WRKSRC}/build-release
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && \
|
|
${SETENV} ${MAKE_ENV} ${SH} build.sh \
|
|
-with-qtbinding \
|
|
-qt5 \
|
|
-rpath ${LOCALBASE}/lib \
|
|
-prefix ${PREFIX} \
|
|
-python ${PYTHON_CMD} \
|
|
-ruby ${RUBY} \
|
|
-dry-run
|
|
|
|
post-install:
|
|
cd ${STAGEDIR}${PREFIX} && \
|
|
${MV} libklayout* ${STAGEDIR}${PREFIX}/lib && \
|
|
${MV} klayout strm* ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|