a6e04ec62c
----------------------------- Version 0.24.8 Release date: 2016-06-19 - Bugfix: XOR and different or big database units: With tiling, XOR between two layouts with different database units was still not working correctly. Also, when the database unit was larger than 1nm, the XOR feature was dropping results sometimes when tiling was on. - Enhancements: progress bar shown also for "-z" mode scripts: The solution of 0.24.7 has been modified to avoid annoying progress bar windows popping up in background-window mode: Now, progress bar windows will only pop up if an active main window is present. This will enable progress bars for scripts that open their own main windows but still keep the application GUI-less when the script does not do so. - Bugfix: Crash on empty panel: When "New/Panel" is used a view without a layout is created. An attempt to create layout on such panels crashed the application. - Bugfix: LEF reader now can read PIN statements including VIA - Bugfix: Polygon smoothing was not working properly in some cases Previously the smoothing function was sometimes dropping vertexes from the polygons. Smoothing now does also guarantee not to exceed the given distance. - Bugfix: Sorting cells by area now sorts cells by name as second choice In the previous version, cells with identical area were grouped but the order was arbitrary. Now the name is used as the second-level sorting criterion which keeps such cells sorted by name.
63 lines
1.7 KiB
Makefile
63 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2016/07/12 13:29:35 mef Exp $
|
|
|
|
DISTNAME= klayout-0.24.8
|
|
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"
|