Date: Sun, 25 May 2003 13:03:31 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52662: Update port: cad/xcircuit to 3.1.15 Message-ID: <20030525130331.4299d254.tkato@prontomail.com> Resent-Message-ID: <200305250410.h4P4AFxE009481@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52662 >Category: ports >Synopsis: Update port: cad/xcircuit to 3.1.15 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 24 21:10:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: >Description: - Update to version 3.1.15 New file files/patch-Makefile.in Remove file: files/patch-aa files/patch-ab >How-To-Repeat: >Fix: diff -urN /usr/ports/cad/xcircuit/Makefile cad/xcircuit/Makefile --- /usr/ports/cad/xcircuit/Makefile Sat May 10 13:19:59 2003 +++ cad/xcircuit/Makefile Sun May 25 12:57:53 2003 @@ -6,7 +6,7 @@ # PORTNAME= xcircuit -PORTVERSION= 2.3.3 +PORTVERSION= 3.1.15 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= http://xcircuit.ece.jhu.edu/archive/ @@ -15,22 +15,31 @@ COMMENT= An X11 drawing program [especially for circuit schematics] RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu -BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 +USE_BZIP2= yes +USE_X_PREFIX= yes USE_XPM= yes -USE_IMAKE= yes -USE_REINPLACE= yes -XMKMF= xmkmf +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAN1= xcircuit.1 -post-patch: - @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ - 's|<malloc.h>|<stdlib.h>|g' +.if defined(WITH_PYTHON) +USE_PYTHON= yes +CONFIGURE_ARGS+= --with-python +CPPFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LIBS} +PLIST_SUB+= PYTHON="" NOPYTHON="@comment " +.else +PLIST_SUB+= PYTHON="@comment " NOPYTHON="" +.endif post-install: - @${MKDIR} ${PREFIX}/share/examples/xcircuit +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} ${TAR} -C ${WRKSRC}/examples --exclude CVS -cf - . | \ - ${TAR} -C ${PREFIX}/share/examples/xcircuit --unlink -xf - + ${TAR} -C ${EXAMPLESDIR} --unlink -xf - + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} +.endif .include <bsd.port.mk> diff -urN /usr/ports/cad/xcircuit/distinfo cad/xcircuit/distinfo --- /usr/ports/cad/xcircuit/distinfo Sat May 10 13:19:59 2003 +++ cad/xcircuit/distinfo Sat May 24 22:29:49 2003 @@ -1 +1 @@ -MD5 (xcircuit-2.3.3.tar.gz) = 766a2d86a66c91acc67b4a361a2fe0e3 +MD5 (xcircuit-3.1.15.tar.bz2) = d63a94dc3f8d8437a605fa35ea78abf0 diff -urN /usr/ports/cad/xcircuit/files/patch-Makefile.in cad/xcircuit/files/patch-Makefile.in --- /usr/ports/cad/xcircuit/files/patch-Makefile.in Thu Jan 1 09:00:00 1970 +++ cad/xcircuit/files/patch-Makefile.in Sun May 25 12:57:25 2003 @@ -0,0 +1,20 @@ +--- Makefile.in.orig Tue May 20 00:54:39 2003 ++++ Makefile.in Sun May 25 00:02:41 2003 +@@ -108,7 +108,7 @@ + tmpdir = /tmp + + # Directory for app-defaults file +-appdefaultsdir = $(datadir)/$(PACKAGE)-$(VERSION)/app-defaults ++appdefaultsdir = $(libdir)/X11/app-defaults + + PATHNAMES = -DPROG_VERSION=$(VERSION) \ + -DCAD_DIR=\"$(prefix)\" \ +@@ -143,7 +143,7 @@ + LDDL_FLAGS = @LDDL_FLAGS@ + + # Library directory and files +-librarydir = $(datadir)/$(PACKAGE)-$(VERSION) ++librarydir = $(libdir)/X11/$(PACKAGE) + USER_RC_FILE = .xcircuitrc + PROLOGUE_FILE = xcircps2.pro + BUILTINS_DEP1 = generic.lps diff -urN /usr/ports/cad/xcircuit/files/patch-aa cad/xcircuit/files/patch-aa --- /usr/ports/cad/xcircuit/files/patch-aa Sun Oct 7 00:09:38 2001 +++ cad/xcircuit/files/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,86 +0,0 @@ -*** Imakefile.orig Fri Sep 7 03:31:47 2001 ---- Imakefile Fri Sep 7 03:44:46 2001 -*************** -*** 28,50 **** - #CCOPTIONS = -O2 - # - # for debugging purposes uncomment the following line: -! CDEBUGFLAGS = -g -! STD_INCLUDES = -I. -I/usr/X11R6/include/X11 - - # The "m4" macro processor is used to generate the man page such that - # the man page reflects the configured options. -! M4 = m4 - - #------------------------------------------------------------------------ - # Installation directories: - # Change the following as desired to suit your environment: - #------------------------------------------------------------------------ - # -! PREFIX = /usr/local - # XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.3.1/psfiles -! XCIRCUIT_LIB_DIR = $(PREFIX)/lib/xcircuit-2.3 -! XCIRCUIT_BIN_DIR = $(PREFIX)/bin -! XCIRCUIT_MAN_DIR = $(PREFIX)/man/man1 - XAPPLRESDIR = ${XCIRCUIT_LIB_DIR}/app-defaults - - #------------------------------------------------------------------------ ---- 28,51 ---- - #CCOPTIONS = -O2 - # - # for debugging purposes uncomment the following line: -! # CDEBUGFLAGS = -g -! STD_INCLUDES = -I. -I$(INCDIR)/X11 -! EXTRA_DEFINES = -DHAVE_DIRENT_H -DHAVE_PUTENV - - # The "m4" macro processor is used to generate the man page such that - # the man page reflects the configured options. -! M4 = gm4 - - #------------------------------------------------------------------------ - # Installation directories: - # Change the following as desired to suit your environment: - #------------------------------------------------------------------------ - # -! # PREFIX = /usr/local - # XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.3.1/psfiles -! XCIRCUIT_LIB_DIR = $(LIBDIR)/xcircuit -! XCIRCUIT_BIN_DIR = $(BINDIR) -! XCIRCUIT_MAN_DIR = $(MANDIR) - XAPPLRESDIR = ${XCIRCUIT_LIB_DIR}/app-defaults - - #------------------------------------------------------------------------ -*************** -*** 63,69 **** - # Support for background rendering through ghostscript. Change this - # to the path where gs can be found. - # GS_EXEC= /usr/local/src/gs5.50/obj/gs -! GS_EXEC= /usr/bin/gs - - #------------------------------------------------------------------------ - # Window manager bug workaround---If you don't like xcircuit grabbing kbd ---- 64,70 ---- - # Support for background rendering through ghostscript. Change this - # to the path where gs can be found. - # GS_EXEC= /usr/local/src/gs5.50/obj/gs -! GS_EXEC=${LOCALBASE}/bin/gs - - #------------------------------------------------------------------------ - # Window manager bug workaround---If you don't like xcircuit grabbing kbd -*************** -*** 91,97 **** - # Support for embedded Python interpreter - # (requires libpython${PYTHON_VERSION}.a) - # -! #define HAVE_PYTHON - - PYTHON_VERSION=2.1 - PYTHON_LIB_DIR=/usr/local/lib ---- 92,98 ---- - # Support for embedded Python interpreter - # (requires libpython${PYTHON_VERSION}.a) - # -! /* #define HAVE_PYTHON */ - - PYTHON_VERSION=2.1 - PYTHON_LIB_DIR=/usr/local/lib diff -urN /usr/ports/cad/xcircuit/files/patch-ab cad/xcircuit/files/patch-ab --- /usr/ports/cad/xcircuit/files/patch-ab Tue Jul 3 21:33:16 2001 +++ cad/xcircuit/files/patch-ab Thu Jan 1 09:00:00 1970 @@ -1,27 +0,0 @@ -*** xcircuit.c.orig Tue Jun 26 22:34:15 2001 ---- xcircuit.c Sat Jun 30 12:53:00 2001 -*************** -*** 21,26 **** ---- 21,29 ---- - #include <limits.h> - #include <locale.h> - #include <unistd.h> /* for unlink() */ -+ #ifdef __FreeBSD__ -+ #include <machine/floatingpoint.h> -+ #endif - - #include <X11/Intrinsic.h> - #include <X11/StringDefs.h> -*************** -*** 1685,1690 **** ---- 1688,1697 ---- - char *argv0; /* find root of argv[0] */ - short initargc = argc; /* because XtInitialize() absorbs the */ - /* -schem flag and renumbers argc! (bug?) */ -+ -+ #ifdef __FreeBSD__ -+ fpsetmask(0); -+ #endif - - /*-----------------------------------------------------------*/ - /* Find the root of the command called from the command line */ diff -urN /usr/ports/cad/xcircuit/pkg-plist cad/xcircuit/pkg-plist --- /usr/ports/cad/xcircuit/pkg-plist Sun Oct 7 00:09:38 2001 +++ cad/xcircuit/pkg-plist Sun May 25 00:30:50 2003 @@ -2,7 +2,6 @@ lib/X11/app-defaults/XCircuit lib/X11/xcircuit/analog.lps lib/X11/xcircuit/analoglib2.lps -lib/X11/xcircuit/app-defaults lib/X11/xcircuit/avlsi.lps lib/X11/xcircuit/digital.lps lib/X11/xcircuit/fonts/courier.lps @@ -34,28 +33,33 @@ lib/X11/xcircuit/ic_templates.lps lib/X11/xcircuit/lgf.lps lib/X11/xcircuit/musiclib.lps +%%PYTHON%%lib/X11/xcircuit/python/gettext.py +%%PYTHON%%lib/X11/xcircuit/python/pagebbox.py +%%PYTHON%%lib/X11/xcircuit/python/spice.py +lib/X11/xcircuit/quadparts.lps lib/X11/xcircuit/signal.lps -lib/X11/xcircuit/startup.script +%%NOPYTHON%%lib/X11/xcircuit/startup.script lib/X11/xcircuit/xcircps2.pro -share/examples/xcircuit/.xcircuitrc -share/examples/xcircuit/FlareLED.ps -share/examples/xcircuit/FlareLEDtest.ps -share/examples/xcircuit/USAflag.ps -share/examples/xcircuit/analog1.ps -share/examples/xcircuit/analog2.ps -share/examples/xcircuit/analoglib1.lps -share/examples/xcircuit/border.ps -share/examples/xcircuit/diffamp_test.ps -share/examples/xcircuit/envelope.ps -share/examples/xcircuit/fourttest.ps -share/examples/xcircuit/gettext.py -share/examples/xcircuit/loadlgf.py -share/examples/xcircuit/logic8.ps -share/examples/xcircuit/prelude.ps -share/examples/xcircuit/systemd1.lgf -share/examples/xcircuit/test.py -share/examples/xcircuit/threestage.ps -share/examples/xcircuit/vcoblock.ps -@dirrm share/examples/xcircuit +%%PYTHON%%lib/X11/xcircuit/xcstartup.py +%%PORTDOCS%%share/examples/xcircuit/.xcircuitrc +%%PORTDOCS%%share/examples/xcircuit/FlareLED.ps +%%PORTDOCS%%share/examples/xcircuit/USAflag.ps +%%PORTDOCS%%share/examples/xcircuit/analog1.ps +%%PORTDOCS%%share/examples/xcircuit/analog2.ps +%%PORTDOCS%%share/examples/xcircuit/analoglib1.lps +%%PORTDOCS%%share/examples/xcircuit/border.ps +%%PORTDOCS%%share/examples/xcircuit/diffamp_test.ps +%%PORTDOCS%%share/examples/xcircuit/diffamp_test2.ps +%%PORTDOCS%%share/examples/xcircuit/envelope.ps +%%PORTDOCS%%share/examples/xcircuit/fourttest.ps +%%PORTDOCS%%share/examples/xcircuit/logic8.ps +%%PORTDOCS%%share/examples/xcircuit/panzoom.py +%%PORTDOCS%%share/examples/xcircuit/prelude.ps +%%PORTDOCS%%share/examples/xcircuit/systemd1.lgf +%%PORTDOCS%%share/examples/xcircuit/test.py +%%PORTDOCS%%share/examples/xcircuit/threestage.ps +%%PORTDOCS%%share/examples/xcircuit/vcoblock.ps +%%PORTDOCS%%@dirrm share/examples/xcircuit +%%PYTHON%%@dirrm lib/X11/xcircuit/python @dirrm lib/X11/xcircuit/fonts @dirrm lib/X11/xcircuit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030525130331.4299d254.tkato>