aboutsummaryrefslogtreecommitdiffstats
path: root/cad/pcb
diff options
context:
space:
mode:
Diffstat (limited to 'cad/pcb')
-rw-r--r--cad/pcb/Makefile21
-rw-r--r--cad/pcb/distinfo6
-rw-r--r--cad/pcb/files/patch-Makefile.in8
-rw-r--r--cad/pcb/files/patch-doc-Makefile.in12
-rw-r--r--cad/pcb/files/patch-gts_rounding.h10
-rw-r--r--cad/pcb/pkg-plist1
6 files changed, 30 insertions, 28 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile
index 85116169e059..365ffb0fc1be 100644
--- a/cad/pcb/Makefile
+++ b/cad/pcb/Makefile
@@ -1,15 +1,15 @@
PORTNAME= pcb
-PORTVERSION= 4.2.0
-PORTREVISION= 4
+DISTVERSION= 4.3.0
PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= X11 interactive printed circuit board layout system
-WWW= http://pcb.geda-project.org/
+WWW= https://sourceforge.net/projects/pcb/
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= m4>=1.4.11:devel/m4 \
${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus
@@ -26,21 +26,27 @@ USE_GL= gl glu
USE_GNOME= intltool cairo pangox-compat
USE_XORG= x11 xrender xinerama
-CONFLICTS= gts
GNU_CONFIGURE= yes
CONFIGURE_ENV+= INSTALL_DATA="${BSD_INSTALL_DATA}"
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+
LDFLAGS+= -lpthread
+CONFLICTS= gts
+
PORTDOCS= \
pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \
examples tutorial gcode.png gcode_control_img.png \
gcode_tool_path.png
OPTIONS_DEFINE= DOCS NLS
+OPTIONS_DEFAULT=GTK
OPTIONS_SINGLE= GUI
OPTIONS_SINGLE_GUI=MOTIF GTK NONE
-OPTIONS_DEFAULT=GTK
+
+GTK_DESC= GIMP ToolKit widgets
+MOTIF_DESC= Motif widgets
+NONE_DESC= No GUI support
+
DOCS_CONFIGURE_ENABLE= doc
DOCS_CONFIGURE_ON= --docdir=${DOCSDIR}
NLS_CONFIGURE_ENABLE= nls
@@ -52,15 +58,12 @@ NLS_USES= gettext iconv
.for L in fr nl ru pt_BR
NLS_PLIST_FILES+= share/locale/${L}/LC_MESSAGES/pcb.mo
.endfor
-MOTIF_DESC= Motif widgets
MOTIF_USES= motif
MOTIF_CONFIGURE_ON= --with-gui=lesstif
MOTIF_CONFIGURE_ENV= WISH=${WISH}
-GTK_DESC= GIMP ToolKit widgets
GTK_USE= GNOME=gtk20
GTK_CONFIGURE_ON= --with-gui=gtk
GTK_CONFIGURE_ENV= WISH=${WISH}
-NONE_DESC= No GUI support
NONE_CONFIGURE_ON= --without-gui
NONE_CONFIGURE_ENV= WISH=/usr/bin/true
diff --git a/cad/pcb/distinfo b/cad/pcb/distinfo
index 45bd2cc4a8dd..4db707840e4e 100644
--- a/cad/pcb/distinfo
+++ b/cad/pcb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552659099
-SHA256 (pcb-4.2.0.tar.gz) = cd4b36df6747789775812fb433f246d6bd5a27f3a16357d78d9c4c9b59c59a43
-SIZE (pcb-4.2.0.tar.gz) = 5080228
+TIMESTAMP = 1761043106
+SHA256 (pcb-4.3.0.tar.gz) = ae852f46af84aba7f51d813fb916fc7fcdbeea43f7134f150507024e1743fb5e
+SIZE (pcb-4.3.0.tar.gz) = 5383782
diff --git a/cad/pcb/files/patch-Makefile.in b/cad/pcb/files/patch-Makefile.in
index 9cb4042e6862..99417bdc0880 100644
--- a/cad/pcb/files/patch-Makefile.in
+++ b/cad/pcb/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig 2019-02-02 19:08:13.000000000 +0900
-+++ Makefile.in 2019-03-15 23:13:00.469139000 +0900
-@@ -353,11 +353,11 @@
+--- Makefile.in.orig 2021-02-28 20:49:50 UTC
++++ Makefile.in
+@@ -464,11 +464,11 @@ top_srcdir = @top_srcdir@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
@@ -11,6 +11,6 @@
INTLTOOL_FILES = intltool-extract.in intltool-merge.in intltool-update.in
-EXTRA_DIST = config.rpath globalconst.h README.git README.w32 README.win32 icon-theme-installer $(INTLTOOL_FILES)
+EXTRA_DIST = config.rpath globalconst.h README.git icon-theme-installer $(INTLTOOL_FILES)
- DISTCLEANFILES = configure.lineno intltool-extract intltool-merge intltool-update po/.intltool-merge-cache
+ DISTCLEANFILES = configure.lineno intltool-extract intltool-merge intltool-update po/.intltool-merge-cache src/gpcb-menu.res.tmp src/pcb-menu.res.tmp
MAINTAINERCLEANFILES = $(INTLTOOL_FILES)
ACLOCAL_AMFLAGS = -I m4
diff --git a/cad/pcb/files/patch-doc-Makefile.in b/cad/pcb/files/patch-doc-Makefile.in
index b20c8001ea50..9003b14c414a 100644
--- a/cad/pcb/files/patch-doc-Makefile.in
+++ b/cad/pcb/files/patch-doc-Makefile.in
@@ -1,9 +1,9 @@
---- doc/Makefile.in.orig 2019-02-02 19:08:09.000000000 +0900
-+++ doc/Makefile.in 2019-03-15 23:14:07.557427000 +0900
-@@ -16,7 +16,7 @@
- @SET_MAKE@
-
- VPATH = @srcdir@
+--- doc/Makefile.in.orig 2021-02-28 20:49:50 UTC
++++ doc/Makefile.in
+@@ -70,7 +70,7 @@ am__make_keepgoing = (target_option=k; $(am__make_runn
+ test $$has_opt = yes
+ am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+ am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(docdir)
pkgincludedir = $(includedir)/@PACKAGE@
diff --git a/cad/pcb/files/patch-gts_rounding.h b/cad/pcb/files/patch-gts_rounding.h
index bb16d8e83a34..43d011567196 100644
--- a/cad/pcb/files/patch-gts_rounding.h
+++ b/cad/pcb/files/patch-gts_rounding.h
@@ -1,8 +1,8 @@
---- gts/rounding.h.orig Mon Jun 17 12:05:45 2002
-+++ gts/rounding.h Wed Sep 24 12:57:41 2003
-@@ -28,11 +28,11 @@
- _FPU_SETCW(fpu_round_double); }
- # define FPU_RESTORE {_FPU_SETCW(fpu_init);}
+--- gts/rounding.h.orig 2020-12-31 20:18:44 UTC
++++ gts/rounding.h
+@@ -42,11 +42,11 @@
+ # define FPU_RESTORE
+ # endif /* not FPU_EXTENDED */
#else /* not HAVE_FPU_CONTROL_H */
-# ifdef __FreeBSD__
+# ifdef HAVE_FROATINGPOINT_H
diff --git a/cad/pcb/pkg-plist b/cad/pcb/pkg-plist
index 1193aa6904a9..7a153a2e5bb2 100644
--- a/cad/pcb/pkg-plist
+++ b/cad/pcb/pkg-plist
@@ -44,7 +44,6 @@ share/mime/application/x-pcb-footprint.xml
share/mime/application/x-pcb-layout.xml
share/mime/application/x-pcb-netlist.xml
share/mime/packages/pcb.xml
-@dir %%DATADIR%%/newlib/sockets
%%DATADIR%%/CreateLibrary.sh
%%DATADIR%%/CreateLibraryContents.sh
%%DATADIR%%/ListLibraryContents.sh