1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/cad/klayout/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

53 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= klayout
PORTVERSION= 0.24.9
PORTREVISION= 3
CATEGORIES= cad
MASTER_SITES= http://www.klayout.org/downloads/source/
MAINTAINER= hrs@FreeBSD.org
COMMENT= Qt-based GDS2 Viewer
LICENSE= GPLv2
USES= compiler:c++0x gmake python qt:4
USE_RUBY= yes
USE_QT= corelib designer gui network moc_build sql uic_build \
rcc_build qt3support xml
USE_LDCONFIG= yes
PLIST_FILES= bin/klayout \
bin/strm2cif \
bin/strm2dxf \
bin/strm2gds \
bin/strm2oas \
bin/strm2txt \
bin/strmclip \
bin/strmcmp \
bin/strmxor \
lib/libklayout.so
PLATFORMKEYWORD=freebsd-32-gcc-release
BROKEN_sparc64= Does not compile on sparc64: gcc bug
do-build:
cd ${WRKSRC} && \
${SETENV} CC=${CC} CXX=${CXX} CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
_MAKE_JOBS="${_MAKE_JOBS}" LOCALBASE="${LOCALBASE}" \
${SH} build.sh -platform ${PLATFORMKEYWORD} \
-qtbin ${QT_BINDIR} \
-qtinc ${QT_INCDIR} \
-qtlib ${QT_LIBDIR} \
-python ${PYTHON_CMD}
do-install:
cd ${WRKSRC}/bin.${PLATFORMKEYWORD} && \
${INSTALL_PROGRAM} ${PLIST_FILES:Mbin/*:S,^bin/,,} \
${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/build.${PLATFORMKEYWORD}/main && \
${INSTALL_LIB} ${PLIST_FILES:Mlib/*:S,^lib/,,} \
${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>