summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-10-21 22:38:44 +0000
committermef <mef@pkgsrc.org>2014-10-21 22:38:44 +0000
commitc02be11348e078c060db3d657b47d5840f74b397 (patch)
treea32bed059ff73676a4d22b9c096c0b85562b1a8f /cad
parentc77647ff6702f6fad8a76cfebed801511d278e03 (diff)
downloadpkgsrc-c02be11348e078c060db3d657b47d5840f74b397.tar.gz
(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
Diffstat (limited to 'cad')
-rw-r--r--cad/gdsreader/Makefile38
-rw-r--r--cad/gdsreader/PLIST14
-rw-r--r--cad/gdsreader/distinfo9
-rw-r--r--cad/gdsreader/patches/patch-aa26
4 files changed, 43 insertions, 44 deletions
diff --git a/cad/gdsreader/Makefile b/cad/gdsreader/Makefile
index eefdd02ecfb..0a1c3a49b47 100644
--- a/cad/gdsreader/Makefile
+++ b/cad/gdsreader/Makefile
@@ -1,22 +1,42 @@
-# $NetBSD: Makefile,v 1.7 2012/10/08 13:25:12 asau Exp $
+# $NetBSD: Makefile,v 1.8 2014/10/21 22:38:44 mef Exp $
#
-DISTNAME= GDSreader.0.3
-PKGNAME= gdsreader-0.3
+DISTNAME= GDSreader.0.3.2
+PKGNAME= gdsreader-0.3.2
CATEGORIES= cad
-MASTER_SITES= http://home.netcom.com/~serbanp/
+MASTER_SITES= http://distcache.FreeBSD.org/local-distfiles/hrs/
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://home.netcom.com/~serbanp/
+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/${PKGNAME}
+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:
- ${INSTALL_DATA} ${WRKSRC}/test.gds ${DESTDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/layers.config ${DESTDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${EXAMPLESDIR}
+ 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"
diff --git a/cad/gdsreader/PLIST b/cad/gdsreader/PLIST
index bf224cbbc4e..6bda3d2c4c3 100644
--- a/cad/gdsreader/PLIST
+++ b/cad/gdsreader/PLIST
@@ -1,5 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:35:53 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/10/21 22:38:44 mef Exp $
bin/gdsreader
-share/examples/${PKGNAME}/README
-share/examples/${PKGNAME}/layers.config
-share/examples/${PKGNAME}/test.gds
+bin/maptolayer
+man/man1/gdsreader.1
+man/man1/maptolayer.1
+share/examples/gdsreader/README
+share/examples/gdsreader/README.povray
+share/examples/gdsreader/layers.config
+share/examples/gdsreader/layers.config.5AM.4ML
+share/examples/gdsreader/layers.config.7HP.5ML
+share/examples/gdsreader/test.gds
diff --git a/cad/gdsreader/distinfo b/cad/gdsreader/distinfo
index 27c73dc55b4..d5c5ba53958 100644
--- a/cad/gdsreader/distinfo
+++ b/cad/gdsreader/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2008/06/20 01:09:08 joerg Exp $
+$NetBSD: distinfo,v 1.4 2014/10/21 22:38:44 mef Exp $
-SHA1 (GDSreader.0.3.tar.gz) = a3ed81812e37011b648f373bae0bce62b9a5a8ac
-RMD160 (GDSreader.0.3.tar.gz) = d91805a734810e70494c93ac125d524f4d0110ff
-Size (GDSreader.0.3.tar.gz) = 68272 bytes
-SHA1 (patch-aa) = 38c47d46b74403efa272d8023983689bb932b5e8
+SHA1 (GDSreader.0.3.2.tar.gz) = 200fe93b9c44639acb9b5da94c9f0061c49bd3b0
+RMD160 (GDSreader.0.3.2.tar.gz) = da990de44a70c8cc1cc1df6bcfdd6d457a3efa20
+Size (GDSreader.0.3.2.tar.gz) = 82649 bytes
diff --git a/cad/gdsreader/patches/patch-aa b/cad/gdsreader/patches/patch-aa
deleted file mode 100644
index faf7c52b468..00000000000
--- a/cad/gdsreader/patches/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2008/06/20 01:09:08 joerg Exp $
-
---- Makefile.orig Thu Apr 8 01:39:45 1999
-+++ Makefile
-@@ -1,12 +1,18 @@
-
--CC = gcc
-+#CC = gcc
- #CFLAGS = -I.
--CFLAGS = -I. -Wall -g #-pg
--LDFLAGS = #-pg
-+#CFLAGS = -I. -Wall -g #-pg
-+#LDFLAGS = #-pg
-+CFLAGS+= -I.
-
- OBJS = GDSreader.o GDSmain.o GDSaux.o GDSboundary.o GDSpath.o \
- GDSsref.o GDSaref.o GDStext.o GDSnode.o GDSbox.o GDStoHPGL.o \
- GDSstruct.o GDStransf.o GDStoPS.o GDSparser.o
-+
-+all: gdsreader
-+
-+install: gdsreader
-+ ${BSD_INSTALL_PROGRAM} gdsreader ${DESTDIR}${PREFIX}/bin
-
- gdsreader: ${OBJS}
- ${CC} ${LDFLAGS} -o gdsreader ${OBJS} -lm