diff options
-rw-r--r-- | cad/gdsreader/Makefile | 38 | ||||
-rw-r--r-- | cad/gdsreader/PLIST | 14 | ||||
-rw-r--r-- | cad/gdsreader/distinfo | 9 | ||||
-rw-r--r-- | cad/gdsreader/patches/patch-aa | 26 |
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 |