Index: head/cad/Makefile =================================================================== --- head/cad/Makefile (revision 191097) +++ head/cad/Makefile (revision 191098) @@ -1,84 +1,85 @@ # $FreeBSD$ # COMMENT = CAD tools SUBDIR += admesh SUBDIR += adms SUBDIR += alliance SUBDIR += astk-client SUBDIR += astk-serveur SUBDIR += atlc SUBDIR += brlcad SUBDIR += calculix SUBDIR += cascade SUBDIR += chipmunk SUBDIR += chipvault SUBDIR += cider SUBDIR += dinotrace SUBDIR += dxf2fig SUBDIR += electric SUBDIR += electric-ng SUBDIR += fandango SUBDIR += feappv SUBDIR += findhier SUBDIR += freehdl SUBDIR += gdsreader + SUBDIR += gdt SUBDIR += geda SUBDIR += geda-docs SUBDIR += geda-examples SUBDIR += geda-gattrib SUBDIR += geda-gschem SUBDIR += geda-netlist SUBDIR += geda-symbols SUBDIR += geda-symcheck SUBDIR += geda-utils SUBDIR += gerbv SUBDIR += gmsh SUBDIR += gnucap SUBDIR += gplcver SUBDIR += gspiceui SUBDIR += gtkwave SUBDIR += gwave SUBDIR += impact SUBDIR += irsim SUBDIR += iverilog SUBDIR += jspice3 SUBDIR += kicad SUBDIR += klayout SUBDIR += leocad SUBDIR += libgeda SUBDIR += linux-eagle SUBDIR += linux-gid SUBDIR += magic SUBDIR += mars SUBDIR += netgen SUBDIR += ngspice_rework SUBDIR += opencascade SUBDIR += opencascade-tutorial SUBDIR += oregano SUBDIR += p5-GDS2 SUBDIR += pcb SUBDIR += pdnmesh SUBDIR += pythoncad SUBDIR += qcad SUBDIR += qcad-partslib SUBDIR += qfsm SUBDIR += qmls SUBDIR += qucs SUBDIR += sceptre SUBDIR += scotch SUBDIR += scv SUBDIR += slffea SUBDIR += spice SUBDIR += systemc SUBDIR += tclspice SUBDIR += tkgate SUBDIR += tochnog SUBDIR += transcalc SUBDIR += varkon SUBDIR += vipec SUBDIR += xcircuit SUBDIR += z88 .include Property changes on: head/cad/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.101 \ No newline at end of property +1.102 \ No newline at end of property Index: head/cad/gdt/Makefile =================================================================== --- head/cad/gdt/Makefile (nonexistent) +++ head/cad/gdt/Makefile (revision 191098) @@ -0,0 +1,28 @@ +# New ports collection makefile for: gdt +# Date created: Sun, Apr 29 2007 +# Whom: Hiroki Sato +# +# $FreeBSD$ +# + +PORTNAME= gdt +PORTVERSION= 1.0.1 +CATEGORIES= cad +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gds2 +DISTNAME= ${PORTNAME:U}_${PORTVERSION} + +MAINTAINER= hrs@FreeBSD.org +COMMENT= GDS2/GDT format translator + +USE_PERL5_RUN= yes +WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION} +PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds + +pre-build: + ${CP} ${FILESDIR}/Makefile ${WRKSRC} + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/Examples/gdsinfo ${PREFIX}/bin + +.include Property changes on: head/cad/gdt/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/cad/gdt/distinfo =================================================================== --- head/cad/gdt/distinfo (nonexistent) +++ head/cad/gdt/distinfo (revision 191098) @@ -0,0 +1,3 @@ +MD5 (GDT_1.0.1.tar.gz) = 494864b75f5b6658d47541538c0689ca +SHA256 (GDT_1.0.1.tar.gz) = 1878ac2bd487141acaf2264bd0502e02aac1e57aa24c7b5e798676135e9e44fc +SIZE (GDT_1.0.1.tar.gz) = 48347 Property changes on: head/cad/gdt/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/cad/gdt/files/Makefile =================================================================== --- head/cad/gdt/files/Makefile (nonexistent) +++ head/cad/gdt/files/Makefile (revision 191098) @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PREFIX?= /usr/local + +CC?= gcc +CXX?= g++ +CFLAGS+= -I. -O -Wimplicit -Wreturn-type -Wswitch \ + -Wcomment -Wformat -Wchar-subscripts \ + -Wparentheses -Wpointer-arith -Wcast-qual \ + -Woverloaded-virtual -static +CXXFLAGS+= ${CFLAGS} -Wno-deprecated +LIBS= -lm -lstdc++ +LDADD+= ${LIBS} + +PROG= gds2gdt gdt2gds + +SRCS.gds2gdt= sRemoveTrailingZeros.C get_field.c stoupper.c sfind.C \ + match_string.C sRemoveSpaces.C sRemoveWhiteSpace.C \ + gdsStream.C gds2gdt.C + +.for P in ${PROG} +OBJS.${P}= ${SRCS.${P}:N*.h:R:S,$,.o,g} +.endfor + +SRCS.gdt2gds= sRemoveWhiteSpace.C sRemoveTrailingZeros.C \ + get_field.c stoupper.c sfind.C match_string.C \ + sRemoveSpaces.C gdsStream.C gdt2gds.C + +BSD_INSTALL_PROGRAM?= install -s -m 555 + +all: ${PROG} + +clean: + rm -f *.o ${PROG} + +install: + ${BSD_INSTALL_PROGRAM} ${PROG} ${PREFIX}/bin + +.for P in ${PROG} +${P}: ${OBJS.${P}} + ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS.${P}} ${LDADD} +.endfor + +.for F in ${SRCS:M*.C} +${F:R:S,$,.o,g}: ${F} + ${CC} ${CFLAGS} -c -o ${.TARGET} ${F} +.endfor +.for F in ${SRCS:M*.c} +${F:R:S,$,.o,g}: ${F} + ${CXX} ${CXXFLAGS} -c -o ${.TARGET} ${F} +.endfor Property changes on: head/cad/gdt/files/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/cad/gdt/files/patch-Examples-gdsinfo =================================================================== --- head/cad/gdt/files/patch-Examples-gdsinfo (nonexistent) +++ head/cad/gdt/files/patch-Examples-gdsinfo (revision 191098) @@ -0,0 +1,12 @@ +--- Examples/gdsinfo.orig Sun Apr 29 15:54:57 2007 ++++ Examples/gdsinfo Sun Apr 29 15:55:08 2007 +@@ -75,9 +75,6 @@ + $topCellNames =~ s/\s+/ /g; + + # help find gds2gdt +-my $uname_s = `/bin/uname -s`; # OS name +-chomp $uname_s; +-$ENV{'PATH'} = "/bin:/usr/bin:/user/ic/gnu/$uname_s/bin:".$ENV{'PATH'}; + my $gds2gdt = which("gds2gdt"); + unless ($gds2gdt) + { Property changes on: head/cad/gdt/files/patch-Examples-gdsinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/cad/gdt/files/patch-gdsStream.h =================================================================== --- head/cad/gdt/files/patch-gdsStream.h (nonexistent) +++ head/cad/gdt/files/patch-gdsStream.h (revision 191098) @@ -0,0 +1,12 @@ +--- gdsStream.h.orig Sun Apr 29 15:45:42 2007 ++++ gdsStream.h Sun Apr 29 15:45:54 2007 +@@ -3,8 +3,7 @@ + #define _gdsStream__ + + #include +-#include +-#include ++#include + #include + #include + Property changes on: head/cad/gdt/files/patch-gdsStream.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/cad/gdt/pkg-descr =================================================================== --- head/cad/gdt/pkg-descr (nonexistent) +++ head/cad/gdt/pkg-descr (revision 191098) @@ -0,0 +1,5 @@ +This is GDT (graphics data text) format translator written in C/C++ that +converts a binary gdsii file to a text format that is compact and +easy to parse. + +WWW: http://sourceforge.net/projects/gds2/ Property changes on: head/cad/gdt/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property