pkgsrc/cad/gdsreader/Makefile
mef 471787d243 (pkgsrc)
- Convert MASTER_SITES to distcache of FreeBSD
   - Delete patch-aa, taking care by Makefile of pkgsrc side
(upstream)
   - Update GDSreader 0.3 to 0.3.2
-------------------------------
New feature for gdsreader-0.3.2

  Generation of POVRAY scene files.

Quick Overview:

GDS2, (or "Calma"), files contain 2D shape data, and each shape has
a specific layer number, (gdsno), and a datatype number.  To  make
any sort of 3D model, these two integer numbers must be  "mapped"
to a corresponding thickness and depth parameter, and  also to a
color specification.   This  is handled by the user-created
"layers.config" file.  A  layers.config file needs to be made for
each technology you wish to convert.  A process which differs only
in the number of metal layers used is considered a different
technology.  The layers.config file is also used in the generation
of postscript and HPGL output, so several of the parameters in
a layers.config file do not necessarily apply to POVRAY output.

.. (more to read) share/examples/gdsreader/README.povray
2014-10-21 22:38:44 +00:00

42 lines
971 B
Makefile

# $NetBSD: Makefile,v 1.8 2014/10/21 22:38:44 mef Exp $
#
DISTNAME= GDSreader.0.3.2
PKGNAME= gdsreader-0.3.2
CATEGORIES= cad
MASTER_SITES= http://distcache.FreeBSD.org/local-distfiles/hrs/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # empty, former one not available now
COMMENT= GDS-II stream file to Postscript and HP/GL converter
LICENSE= gnu-gpl-v2
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
AUTO_MKDIRS= yes
INSTALLATION_DIRS= bin ${EXAMPLESDIR}
do-install:
for i in gdsreader maptolayer; do \
${INSTALL_PROGRAM} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/bin ;\
done
post-install:
for i in \
README \
README.povray \
layers.config \
layers.config.5AM.4ML \
layers.config.7HP.5ML \
test.gds \
; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${EXAMPLESDIR} ;\
done
for i in \
gdsreader.1 \
maptolayer.1 \
; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1;\
done
.include "../../mk/bsd.pkg.mk"