-------------------------------------- http://www.klayout.de/development.html -------------------------------------- Release date: 2016-05-03 Features: - Bugfix: XOR and different database units: With tiling, XOR between two layouts with different database units was not working correctly. - Enhancements: progress bar shown also for "-z" mode scripts: Scripts running in KLayout with the "-z" option (don't show main window) were not experiencing progress reporting before. Now a small modal window is shown during long-running operations that indicates the progress and provides a Cancel button to abort the operation. - Bugfix: Crash on using "Edit/Make cell": This happened sometimes if the selected objects contained instances. - Bugfix: Invalid behavior of paths with reflecting segments: For example a path made of the points (0, 0), (0, 1000) and (0, 0) had a reflecting segment which cause some computations (for example the bounding box) to return invalid results.
63 lines
1.7 KiB
Makefile
63 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2016/05/14 06:33:49 mef Exp $
|
|
|
|
DISTNAME= klayout-0.24.7
|
|
CATEGORIES= cad
|
|
MASTER_SITES= http://www.klayout.org/downloads/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.klayout.de/
|
|
COMMENT= Simple GDS and OASIS file viewer and Editor
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
|
|
CFLAGS+= -I${PREFIX}/include/python${PYVERSUFFIX}
|
|
NO_CONFIGURE= yes
|
|
|
|
SUBST_CLASSES+= rpath
|
|
SUBST_MESSAGE.rpath= Add COMPILER_RPATH_FLAG and PREFIX to NetBSD specific config file
|
|
SUBST_FILES.rpath+= config/Makefile.conf.netbsd-32-gcc-release
|
|
SUBST_STAGE.rpath= post-patch
|
|
SUBST_VARS.rpath= COMPILER_RPATH_FLAG PREFIX
|
|
SUBST_SED.rpath= -e 's|@@LDFLAGS@@|${LDFLAGS}|'
|
|
|
|
AUTO_MKDIRS= yes
|
|
INSTALL_BINDIR= ${DESTDIR}${PREFIX}/bin
|
|
INSTALL_LIBDIR= ${DESTDIR}${PREFIX}/lib
|
|
REL_DIR= build.netbsd-32-gcc-release
|
|
|
|
OTHER_BIN= \
|
|
strm2cif \
|
|
strm2dxf \
|
|
strm2gds \
|
|
strm2gdstxt \
|
|
strm2oas \
|
|
strm2txt \
|
|
strmclip \
|
|
strmcmp \
|
|
strmxor
|
|
|
|
CXXFLAGS+= ${CLANG_NO_VALUE_PROPAGATION_PASS}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} sh build.sh -python python${PYVERSSUFFIX} -qt ${PREFIX}/qt4
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}; \
|
|
pwd; \
|
|
${INSTALL_PROGRAM} ${REL_DIR}/main/klayout ${INSTALL_BINDIR}; \
|
|
${INSTALL_LIB} ${REL_DIR}/main/libklayout.so ${INSTALL_LIBDIR} ;\
|
|
for bin in ${OTHER_BIN}; do \
|
|
${INSTALL_PROGRAM} ${REL_DIR}/main/$$bin ${INSTALL_BINDIR} ;\
|
|
done ;\
|
|
${CHMOD} 755 ${INSTALL_BINDIR}/* ;\
|
|
)
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.include "../../lang/ruby/buildlink3.mk"
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
# libQtDesigner
|
|
.include "../../x11/qt4-tools/buildlink3.mk"
|
|
BUILDLINK_DEPMETHOD.qt4-tools= full
|
|
.include "../../mk/bsd.pkg.mk"
|