pkgsrc/cad/klayout/Makefile
mef 5e62e187f3 Updated cad/klayout to 0.25.4
0.25.4          (2018-08-25):
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/121
       Issue with multiple reads of GDS2 layouts including PCells
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/134
       Error in cell.fill_region caused by big polygon with
       spikes
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/139
       Libraries have not been reassigned when loading a GDS file
       from command line (does not happen on File/Open)
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/141
       Issue with RBA::QHostAddress (ambiguous overload) on Qt5
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/142
       Issue with RBA::RecursiveShapeIterator#region=
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/144
       The Salt package descriptions are not shown with Motif
       style
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/148
       Wrong font is used
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/152
       Shapes#size reported a wrong shape count in viewer mode
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/153
       Application crash when editing guiding shape properties
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/155
       Program freezes after replacing nothing by something in
       Macro editor
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/157
       "Replace cell with ..." rejected cell names with a library
       prefix
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/158
       Repaint issue on cell context
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/159
       Tech specific macros and DRC scripts were not shown in tech
       manager
* Bugfix: 8 bit indexed GIF images can be used for package icons now
* Enhancement: Provide a way to specify the type of a macro
       This feature is mainly useful for command line arguments.
       If you run KLayout with "klayout -b -r myscript"
       it will not be able to determine the type of macro without
       a suffix.

       You can now explicitly specify a certain type by
       giving the suffix implicitly like: "klayout -b -r myscript[rb]"
       This will read "myscript" but pretend it was "myscript.rb"
       and execute it as Ruby script.

       This feature is handy if you need to run a file with a
       specific interpreter but cannot modify the file name.
* Enhancement: Selection now shows PCell display names
       Before, the internal name was shown for instances
* Enhancement: There is an option in the View menu to show or hide markers
       Markers may hide layout under them. With this feature you can
       quickly disable all markers and the layout becomes visible.
2018-09-22 15:28:28 +00:00

60 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2018/09/22 15:28:28 mef Exp $
DISTNAME= klayout-0.25.4
CATEGORIES= cad
MASTER_SITES= http://www.klayout.org/downloads/source/
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 bash
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 LDFLAGS
BUILDLINK_TRANSFORM.NetBSD+= rm:-ldl
AUTO_MKDIRS= yes
INSTALL_BINDIR= ${DESTDIR}${PREFIX}/bin
INSTALL_LIBDIR= ${DESTDIR}${PREFIX}/lib
REL_DIR= build-release
.include "../../mk/bsd.prefs.mk"
.if !empty(MAKE_JOBS)
MAKE_JOBS_FLAG= -option -j${MAKE_JOBS}
.endif
do-build:
cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${BASH} build.sh \
-python python${PYVERSSUFFIX} \
-qt5 \
-qmake ${PREFIX}/qt5/bin/qmake \
-ruby ${PREFIX}/bin/${RUBY_NAME} \
${MAKE_JOBS_FLAG} \
-prefix ${PREFIX}
do-install:
cd ${WRKSRC} && \
${INSTALL_PROGRAM} ${WRKSRC}/${REL_DIR}/libklayout_* \
${DESTDIR}${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/${REL_DIR}/strm* \
${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${REL_DIR}/klayout \
${DESTDIR}${PREFIX}/bin
.include "../../lang/python/pyversion.mk"
.include "../../lang/ruby/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"