1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to version 2.0b3.

PR:		16274
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Steve Price 2000-01-24 06:04:08 +00:00
parent 3f9dfff961
commit 55ce548db4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25018
19 changed files with 235 additions and 27 deletions

View File

@ -1,12 +1,12 @@
# New ports collection makefile for: xcircuit
# Version required: 2.0b1
# Version required: 2.0b3
# Date created: 3 Apr 1998
# Whom: giffunip@asme.org
#
# $FreeBSD$
#
DISTNAME= xcircuit-2.0b1
DISTNAME= xcircuit-2.0b3
CATEGORIES= cad
MASTER_SITES= ftp://bach.ece.jhu.edu/pub/tim/xcircuit/ \
http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/
@ -22,9 +22,7 @@ XMKMF= xmkmf
MAN1= xcircuit.1
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/examples/xcircuit
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/xcircuit
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (xcircuit-2.0b1.tar.bz2) = e3cd348d7221891dc693fe5cae3d6d0d
MD5 (xcircuit-2.0b3.tar.bz2) = 3a471732d39e51b9689419337f4a66e5

View File

@ -1,7 +1,7 @@
*** Imakefile.orig Thu Nov 25 07:05:35 1999
--- Imakefile Tue Dec 14 04:46:02 1999
*** Imakefile.orig Thu Jan 6 03:15:52 2000
--- Imakefile Fri Jan 21 12:00:00 2000
***************
*** 24,40 ****
*** 26,44 ****
#CCOPTIONS = -O2
#
# for debugging purposes uncomment the following line:
@ -14,12 +14,14 @@
#------------------------------------------------------------------------
#
! PREFIX = /usr/local
# XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.0b1/psfiles
# XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.0b2/psfiles
! XCIRCUIT_LIB_DIR = $(PREFIX)/lib/xcircuit-2.0
XCIRCUIT_BIN_DIR = $(PREFIX)/bin
XCIRCUIT_MAN_DIR = $(PREFIX)/man/man1
! XCIRCUIT_BIN_DIR = $(PREFIX)/bin
! XCIRCUIT_MAN_DIR = $(PREFIX)/man/man1
--- 24,40 ----
#------------------------------------------------------------------------
# Support for graphics double-buffering (A memory hog, but yields fastest
--- 26,44 ----
#CCOPTIONS = -O2
#
# for debugging purposes uncomment the following line:
@ -31,14 +33,16 @@
# Change the following as desired to suit your environment:
#------------------------------------------------------------------------
#
! PREFIX ?= /usr/local
# XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.0b1/psfiles
! XCIRCUIT_LIB_DIR = $(PREFIX)/lib/X11/xcircuit
XCIRCUIT_BIN_DIR = $(PREFIX)/bin
XCIRCUIT_MAN_DIR = $(PREFIX)/man/man1
! #PREFIX = /usr/local
# XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.0b2/psfiles
! XCIRCUIT_LIB_DIR = $(LIBDIR)/xcircuit
! XCIRCUIT_BIN_DIR = $(BINDIR)
! XCIRCUIT_MAN_DIR = $(MANDIR)
#------------------------------------------------------------------------
# Support for graphics double-buffering (A memory hog, but yields fastest
***************
*** 87,95 ****
*** 89,97 ****
# DEC Alpha, Solaris and other SVR4 systems need the following,
# or if you have compilation errors about "dp->d_name" being
# undefined:
@ -48,7 +52,7 @@
# My DECstation (Ultrix) has something funny going on in XLib. . . if there
# is a compile-time error "ld: Undefined: XUniqueContext *** Error code 1"
--- 87,95 ----
--- 89,97 ----
# DEC Alpha, Solaris and other SVR4 systems need the following,
# or if you have compilation errors about "dp->d_name" being
# undefined:

View File

@ -1,8 +1,16 @@
*** xcircuit.c.orig Fri Jun 25 23:25:12 1999
--- xcircuit.c Tue Sep 7 00:48:01 1999
*** xcircuit.c.orig Fri Jan 14 00:21:21 2000
--- xcircuit.c Fri Jan 21 12:00:00 2000
***************
*** 17,22 ****
--- 17,25 ----
*** 11,22 ****
--- 11,27 ----
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <limits.h>
#include <locale.h>
@ -13,11 +21,11 @@
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
***************
*** 1384,1389 ****
--- 1387,1396 ----
objectptr *page; /* -schem flag and renumbers argc! (bug?) */
Pixmap icon, mask;
*** 1435,1440 ****
--- 1440,1449 ----
char *argv0; /* find root of argv[0] */
short initargc = argc; /* because XtInitialize() absorbs the */
/* -schem flag and renumbers argc! (bug?) */
+
+ #ifdef __FreeBSD__
+ fpsetmask(0);

View File

@ -0,0 +1,14 @@
*** elements.c.orig Sat Jan 8 01:32:22 2000
--- elements.c Fri Jan 21 12:00:00 2000
***************
*** 9,15 ****
--- 9,17 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>

View File

@ -0,0 +1,14 @@
*** events.c.orig Tue Jan 11 03:54:04 2000
--- events.c Fri Jan 2l 12:00:00 2000
***************
*** 9,15 ****
--- 9,17 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <math.h>
#include <X11/Intrinsic.h>

View File

@ -0,0 +1,14 @@
*** filelist.c.orig Thu Jan 6 03:16:39 2000
--- filelist.c Fri Jan 21 12:00:00 2000
***************
*** 5,11 ****
--- 5,13 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <sys/types.h>
#ifdef linux
#include <dirent.h>

View File

@ -0,0 +1,14 @@
*** files.c.orig Tue Jan 11 03:57:52 2000
--- files.c Fri Jan 21 12:00:00 2000
***************
*** 6,12 ****
--- 6,14 ----
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <time.h>
#include <pwd.h>
#include <sys/types.h>

View File

@ -0,0 +1,14 @@
*** fontfile.c.orig Fri Jan 7 12:11:03 2000
--- fontfile.c Fri Jan 21 12:00:00 2000
***************
*** 6,12 ****
--- 6,14 ----
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>

View File

@ -0,0 +1,14 @@
*** formats.c.orig Tue Jan 11 02:25:57 2000
--- formats.c Fri Jan 21 12:00:00 2000
***************
*** 5,11 ****
--- 5,13 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>

View File

@ -0,0 +1,14 @@
*** functions.c.orig Tue Jan 11 04:40:36 2000
--- functions.c Fri Jan 21 12:00:00 2000
***************
*** 9,15 ****
--- 9,17 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <math.h>
#include <X11/Intrinsic.h>

View File

@ -0,0 +1,14 @@
*** libraries.c.orig Tue Jan 11 03:26:12 2000
--- libraries.c Fri Jan 21 12:00:00 2000
***************
*** 9,15 ****
--- 9,17 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>

View File

@ -0,0 +1,14 @@
*** menucalls.c.orig Tue Jan 11 01:41:59 2000
--- menucalls.c Fri Jan 21 12:00:00 2000
***************
*** 6,12 ****
--- 6,14 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <sys/types.h>
#include <errno.h>
#include <limits.h>

View File

@ -0,0 +1,14 @@
*** netlist.c.orig Thu Jan 6 05:09:34 2000
--- netlist.c Fri Jan 21 12:00:00 2000
***************
*** 10,16 ****
--- 10,18 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>

View File

@ -0,0 +1,14 @@
*** parameter.c.orig Sat Jan 8 01:24:21 2000
--- parameter.c Fri Jan 21 12:00:00 2000
***************
*** 9,15 ****
--- 9,17 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>

View File

@ -0,0 +1,14 @@
*** rcfile.c.orig Sat Jan 8 01:24:10 2000
--- rcfile.c Fri Jan 21 12:00:00 2000
***************
*** 10,16 ****
--- 10,18 ----
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>

View File

@ -0,0 +1,14 @@
*** schema.c.orig Tue Jan 11 03:53:16 2000
--- schema.c Fri Jan 21 12:00:00 2000
***************
*** 9,15 ****
--- 9,17 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>

View File

@ -0,0 +1,14 @@
*** selection.c.orig Tue Jan 11 04:27:36 2000
--- selection.c Fri Jan 21 12:00:00 2000
***************
*** 9,15 ****
--- 9,17 ----
#include <stdio.h>
#include <string.h>
+ #ifndef __STDC__
#include <malloc.h>
+ #endif
#include <math.h>
#include <X11/Intrinsic.h>

View File

@ -4,6 +4,7 @@ lib/X11/xcircuit/analog.lps
lib/X11/xcircuit/avlsi.lps
lib/X11/xcircuit/builtins.lps
lib/X11/xcircuit/digital.lps
lib/X11/xcircuit/generic.lps
lib/X11/xcircuit/fonts/courier.lps
lib/X11/xcircuit/fonts/courier.xfe
lib/X11/xcircuit/fonts/courieriso.xfe
@ -38,6 +39,7 @@ share/examples/xcircuit/analog1.ps
share/examples/xcircuit/analog2.ps
share/examples/xcircuit/analoglib.lps
share/examples/xcircuit/border.ps
share/examples/xcircuit/diffamp_test.ps
share/examples/xcircuit/logic8.ps
share/examples/xcircuit/prelude.ps
share/examples/xcircuit/systemd1.lgf