Index: head/cad/Makefile =================================================================== --- head/cad/Makefile (revision 191069) +++ head/cad/Makefile (revision 191070) @@ -1,81 +1,82 @@ # $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 += 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 += 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 += 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.98 \ No newline at end of property +1.99 \ No newline at end of property Index: head/cad/findhier/Makefile =================================================================== --- head/cad/findhier/Makefile (nonexistent) +++ head/cad/findhier/Makefile (revision 191070) @@ -0,0 +1,26 @@ +# Ports collection makefile for: findhier +# Date created: Sat, Apr 28, 2007 +# Whom: Hiroki Sato +# +# $FreeBSD$ +# + +PORTNAME= findhier +PORTVERSION= 1.14 +CATEGORIES= cad +MASTER_SITES= http://www.iclab.snu.ac.kr/~chilly/Work/CAD/ +DISTNAME= fh${PORTVERSION} + +MAINTAINER= hrs@FreeBSD.org +COMMENT= Hierarchy Viewer for magic/CIF/GDSII/PCSTR/GED/TeX + +NO_WRKSUBDIR= yes +PLIST_FILES= bin/fh + +MAN1= fh.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/fh ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/fh.1 ${MAN1PREFIX}/man/man1 + +.include Property changes on: head/cad/findhier/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/findhier/distinfo =================================================================== --- head/cad/findhier/distinfo (nonexistent) +++ head/cad/findhier/distinfo (revision 191070) @@ -0,0 +1,3 @@ +MD5 (fh1.14.tar.gz) = 8a16a1eb5e3abc1a35ddfcf0848a4fda +SHA256 (fh1.14.tar.gz) = d6cb574d7aa62335682ce963a84a906f7b1c5d05d4546b458ea33ecb0a20cdea +SIZE (fh1.14.tar.gz) = 43155 Property changes on: head/cad/findhier/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/findhier/files/patch-Makefile =================================================================== --- head/cad/findhier/files/patch-Makefile (nonexistent) +++ head/cad/findhier/files/patch-Makefile (revision 191070) @@ -0,0 +1,28 @@ +--- Makefile.orig Mon Oct 16 00:58:34 1995 ++++ Makefile Sun Apr 29 00:58:54 2007 +@@ -9,7 +9,7 @@ + + #CFLAG = -pg + #CFLAG = -g +-CFLAG = -O4 ++CFLAG = -O ${CFLAGS} + LFLAG = + + # Sparc with SunOS4.x +@@ -51,13 +51,13 @@ + OBJS = ${SRCS:c=o} + HEADERS = str.h findhier.h fstruct.h + +-.c.o: Makefile findhier.h fhstruct.h ++.c.o: Makefile findhier.h fstruct.h + ${CC} -c ${CFLAG} $< + ++all: fh ++ + fh: ${OBJS} + ${CC} -o $@ ${CFLAG} ${OBJS} ${LFLAG} +- #strip fh +- #mv fh ${HOME}/bin + + lint: + ${LINT} ${SRCS} | more Property changes on: head/cad/findhier/files/patch-Makefile ___________________________________________________________________ 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/findhier/files/patch-findhier.h =================================================================== --- head/cad/findhier/files/patch-findhier.h (nonexistent) +++ head/cad/findhier/files/patch-findhier.h (revision 191070) @@ -0,0 +1,42 @@ +--- findhier.h.orig Sun Apr 29 00:47:16 2007 ++++ findhier.h Sun Apr 29 00:49:02 2007 +@@ -6,6 +6,7 @@ + * + */ + #include ++#include + #include + #include "fstruct.h" + +@@ -31,7 +32,7 @@ + + #ifndef isalpha + #define isalpha(X) ( X>='A' && X<='Z' || X>='a' && X<='z' ) +-#endif isalpha ++#endif /* isalpha */ + + typedef enum formats { CIF, GDSII, MAGIC, PCSTR, VALID, TeX } FORMAT; + +@@ -111,19 +112,21 @@ + void exit(); + char *getenv(); + ++/* + #ifdef SYSV + void *malloc(); + void free(); + #else + char *malloc(); + #endif SYSV ++*/ + #ifdef _UNIX_ + # define OPENMODE "r" + # define DIRDEL '/' + #else + #define OPENMODE "rb" + #define DIRDEL '\\' +-#endif _UNIX_ ++#endif /* _UNIX_ */ + /* + char *getenv(); + */ Property changes on: head/cad/findhier/files/patch-findhier.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/findhier/files/patch-fnames.c =================================================================== --- head/cad/findhier/files/patch-fnames.c (nonexistent) +++ head/cad/findhier/files/patch-fnames.c (revision 191070) @@ -0,0 +1,21 @@ +--- fnames.c.orig Sun Apr 29 00:51:29 2007 ++++ fnames.c Sun Apr 29 00:53:16 2007 +@@ -6,15 +6,14 @@ + * + */ + #include ++#include + #ifndef DIRDEL + #ifdef _UNIX_ + #define DIRDEL '/' + #else + #define DIRDEL '\\' +-#endif _UNIX_ +-#endif DIRDEL +- +-int strlen(); ++#endif /* _UNIX_ */ ++#endif /* DIRDEL */ + + char *basename(argv) + char *argv; Property changes on: head/cad/findhier/files/patch-fnames.c ___________________________________________________________________ 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/findhier/files/patch-magic.c =================================================================== --- head/cad/findhier/files/patch-magic.c (nonexistent) +++ head/cad/findhier/files/patch-magic.c (revision 191070) @@ -0,0 +1,38 @@ +--- magic.c.orig Sun Apr 29 00:53:23 2007 ++++ magic.c Sun Apr 29 00:53:59 2007 +@@ -16,7 +16,7 @@ + #ifdef _UNIX_ + #include + uid_t getuid(); +-#endif _UNIX_ ++#endif /* _UNIX_ */ + + #define ENVIRON ".magic" + +@@ -84,7 +84,7 @@ + while((tmp=getpath(env))!=NULL) add_path(tmp); + (void)fclose(env); + } +-#endif _UNIX_ ++#endif /* _UNIX_ */ + + void myenviron() + { +@@ -92,7 +92,7 @@ + char buf[BUFSIZE]; + struct passwd *cad; + uid_t uid; +-#endif _UNIX_ ++#endif /* _UNIX_ */ + + add_path("."); + #ifdef _UNIX_ +@@ -110,7 +110,7 @@ + proc(ENVIRON); + + path_reversal(); +-#endif _UNIX_ ++#endif /* _UNIX_ */ + } + + /* magic.c */ Property changes on: head/cad/findhier/files/patch-magic.c ___________________________________________________________________ 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/findhier/files/patch-menu.c =================================================================== --- head/cad/findhier/files/patch-menu.c (nonexistent) +++ head/cad/findhier/files/patch-menu.c (revision 191070) @@ -0,0 +1,29 @@ +--- menu.c.orig Sun Apr 29 00:54:06 2007 ++++ menu.c Sun Apr 29 00:54:30 2007 +@@ -9,7 +9,7 @@ + #include + #ifndef _UNIX_ + #include +-#endif _UNIX_ ++#endif /* _UNIX_ */ + + #define PROMPT "FindHier>" + /* +@@ -102,7 +102,7 @@ + (void)sprintf(tmpfname,"/tmp/FindHier_%d",getpid()); + #else + (void)sprintf(tmpfname,".\\findhier.%3x",getpid() & 0xfff); +-#endif _UNIX_ ++#endif /* _UNIX_ */ + pager=getenv("PAGER"); + if (pager==NULL) { + pager=(char *)myalloc(sizeof("more"),"menu"); +@@ -112,7 +112,7 @@ + (void)sprintf(pagercmd,"%s %s",pager,tmpfname); + #else + (void)sprintf(pagercmd,"%s < %s",pager,tmpfname); +-#endif _UNIX_ ++#endif /* _UNIX_ */ + + for(;;) { + Property changes on: head/cad/findhier/files/patch-menu.c ___________________________________________________________________ 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/findhier/files/patch-names.c =================================================================== --- head/cad/findhier/files/patch-names.c (nonexistent) +++ head/cad/findhier/files/patch-names.c (revision 191070) @@ -0,0 +1,11 @@ +--- names.c.orig Sun Apr 29 00:54:55 2007 ++++ names.c Sun Apr 29 00:55:01 2007 +@@ -116,7 +116,7 @@ + } + #ifndef _UNIX_ + strlwr(dp); +-#endif _UNIX_ ++#endif /* _UNIX_ */ + /* extension() will corrupt dp on purpose */ + if (!strcmp(extension(dp),EXT+1)) create(dp); + } Property changes on: head/cad/findhier/files/patch-names.c ___________________________________________________________________ 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/findhier/files/patch-reverse.c =================================================================== --- head/cad/findhier/files/patch-reverse.c (nonexistent) +++ head/cad/findhier/files/patch-reverse.c (revision 191070) @@ -0,0 +1,11 @@ +--- reverse.c.orig Sun Apr 29 00:54:40 2007 ++++ reverse.c Sun Apr 29 00:54:49 2007 +@@ -85,7 +85,7 @@ + warning("Cell |%s| not found.\n",mytop); + exit(-1); + } +-#endif __OLD__ ++#endif /* __OLD__ */ + warning("Cell |%s| not found.\n",mytop); + return((struct branch *)NULL); + } Property changes on: head/cad/findhier/files/patch-reverse.c ___________________________________________________________________ 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/findhier/pkg-descr =================================================================== --- head/cad/findhier/pkg-descr (nonexistent) +++ head/cad/findhier/pkg-descr (revision 191070) @@ -0,0 +1,3 @@ +This is a road-map generator for Magic/CIF/gdsII/PCSTR/GED/TeX. + +WWW: http://www.iclab.snu.ac.kr/~chilly/Work/CAD/findhier.html Property changes on: head/cad/findhier/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