View | Details | Raw Unified | Return to bug 255063
Collapse All | Expand All

(-)b/cad/pcb/Makefile (-37 / +38 lines)
Lines 1-8 Link Here
1
# Created by: Michael Reifenberger <mr@FreeBSD.org>
1
# Created by: Michael Reifenberger <mr@FreeBSD.org>
2
2
3
PORTNAME=	pcb
3
PORTNAME=	pcb
4
PORTVERSION=	4.2.0
4
PORTVERSION=	4.3.0
5
PORTREVISION=	1
6
PORTEPOCH=	1
5
PORTEPOCH=	1
7
CATEGORIES=	cad
6
CATEGORIES=	cad
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
Lines 12-73 COMMENT= X11 interactive printed circuit board layout system Link Here
12
11
13
LICENSE=	GPLv2
12
LICENSE=	GPLv2
14
13
15
BUILD_DEPENDS=	m4>=1.4.11:devel/m4 \
14
ONLY_FOR_ARCHS=	i386 amd64
16
		${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus
15
ONLY_FOR_ARCHS_REASON=	Uses x86 specific libc functions and has not been ported
17
LIB_DEPENDS=	libgd.so:graphics/gd \
18
		libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
19
		libfontconfig.so:x11-fonts/fontconfig \
20
		libfreetype.so:print/freetype2
21
RUN_DEPENDS=	m4>=1.4.11:devel/m4 \
22
		${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus
23
16
24
USES=		gl gmake gnome pkgconfig tk:run shared-mime-info \
17
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus \
25
		desktop-file-utils xorg
18
		m4>=1.4.11:devel/m4
26
USE_GL=		gl glu
19
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
27
USE_GNOME=	intltool cairo pangox-compat
20
		libfreetype.so:print/freetype2 \
28
USE_XORG=	x11 xrender xinerama
21
		libgd.so:graphics/gd \
22
		libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
23
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus \
24
		m4>=1.4.11:devel/m4
29
25
30
CONFLICTS=	gts-[0-9]*
26
USES=		desktop-file-utils gl gmake gnome pkgconfig shared-mime-info \
27
		tk:run xorg
28
USE_GL=		gl glu
29
USE_GNOME=	cairo intltool pangox-compat
31
INSTALLS_ICONS=	yes
30
INSTALLS_ICONS=	yes
31
USE_XORG=	ice sm x11 xinerama xmu xrender xt
32
32
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
33
CONFIGURE_ENV+=	INSTALL_DATA="${BSD_INSTALL_DATA}"
34
CONFIGURE_ENV+=	INSTALL_DATA="${BSD_INSTALL_DATA}"
34
LDFLAGS+=	-lpthread
35
LDFLAGS+=	-lpthread
35
36
36
PORTDOCS=	\
37
CONFLICTS=	gts-[0-9]*
37
	pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png	\
38
38
	examples tutorial gcode.png gcode_control_img.png		\
39
PORTDOCS=	examples gcode.png gcode_control_img.png gcode_tool_path.png \
39
	gcode_tool_path.png
40
		pad.png pcb.html pcb.pdf puller.png refcard.pdf thermal.png \
41
		tutorial
40
42
41
OPTIONS_DEFINE=	DOCS NLS
43
OPTIONS_DEFINE=		DOCS NLS
42
OPTIONS_SINGLE=	GUI
44
OPTIONS_SINGLE=		GUI
43
OPTIONS_SINGLE_GUI=MOTIF GTK NONE
45
OPTIONS_SINGLE_GUI=	GTK MOTIF NONE
44
OPTIONS_DEFAULT=GTK
45
DOCS_CONFIGURE_ENABLE=	doc
46
DOCS_CONFIGURE_ENABLE=	doc
46
DOCS_CONFIGURE_ON=	--docdir=${DOCSDIR}
47
DOCS_CONFIGURE_ON=	--docdir=${DOCSDIR}
47
NLS_CONFIGURE_ENABLE=	nls
48
NLS_CONFIGURE_ENABLE=	nls
48
NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE} \
49
NLS_CONFIGURE_ON=	${ICONV_CONFIGURE_ARG} \
49
			${ICONV_CONFIGURE_ARG}
50
			--with-libintl-prefix=${LOCALBASE}
50
NLS_CONFIGURE_OFF=	--without-libintl \
51
NLS_CONFIGURE_OFF=	--without-iconv \
51
			--without-iconv
52
			--without-libintl
52
NLS_USES=	gettext iconv
53
NLS_USES=		gettext iconv
53
.for L in fr nl ru pt_BR
54
.for L in fr nl ru pt_BR
54
NLS_PLIST_FILES+=	share/locale/${L}/LC_MESSAGES/pcb.mo
55
NLS_PLIST_FILES+=	share/locale/${L}/LC_MESSAGES/pcb.mo
55
.endfor
56
.endfor
56
MOTIF_DESC=	Motif widgets
57
MOTIF_DESC=		Motif widgets
57
MOTIF_USES=	motif
58
MOTIF_USES=		motif
58
MOTIF_CONFIGURE_ON=	--with-gui=lesstif
59
MOTIF_CONFIGURE_ON=	--with-gui=lesstif
59
MOTIF_CONFIGURE_ENV=	WISH=${WISH}
60
MOTIF_CONFIGURE_ENV=	WISH=${WISH}
60
GTK_DESC=	GIMP ToolKit widgets
61
GTK_DESC=		GIMP ToolKit widgets
61
GTK_USE=	GNOME=gtk20
62
GTK_USE=		GNOME=gtk20
62
GTK_CONFIGURE_ON=	--with-gui=gtk
63
GTK_CONFIGURE_ON=	--with-gui=gtk
63
GTK_CONFIGURE_ENV=	WISH=${WISH}
64
GTK_CONFIGURE_ENV=	WISH=${WISH}
64
NONE_DESC=	No GUI support
65
NONE_DESC=		No GUI support
65
NONE_CONFIGURE_ON=	--without-gui
66
NONE_CONFIGURE_ON=	--without-gui
66
NONE_CONFIGURE_ENV=	WISH=/usr/bin/true
67
NONE_CONFIGURE_ENV=	WISH=/usr/bin/true
67
68
68
ONLY_FOR_ARCHS=	i386 amd64
69
DOCS_INFO=	pcb
69
ONLY_FOR_ARCHS_REASON=	Uses x86 specific libc functions and has not been ported
70
70
71
DOCS_INFO=		pcb
71
post-install:
72
	${MKDIR} ${STAGEDIR}${DATADIR}/newlib/sockets
72
73
73
.include <bsd.port.mk>
74
.include <bsd.port.mk>
(-)b/cad/pcb/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1552659099
1
TIMESTAMP = 1618420184
2
SHA256 (pcb-4.2.0.tar.gz) = cd4b36df6747789775812fb433f246d6bd5a27f3a16357d78d9c4c9b59c59a43
2
SHA256 (pcb-4.3.0.tar.gz) = ae852f46af84aba7f51d813fb916fc7fcdbeea43f7134f150507024e1743fb5e
3
SIZE (pcb-4.2.0.tar.gz) = 5080228
3
SIZE (pcb-4.3.0.tar.gz) = 5383782
(-)b/cad/pcb/files/patch-Makefile.in (-4 / +13 lines)
Lines 1-6 Link Here
1
--- Makefile.in.orig	2019-02-02 19:08:13.000000000 +0900
1
--- Makefile.in.orig	2021-02-28 20:49:50 UTC
2
+++ Makefile.in	2019-03-15 23:13:00.469139000 +0900
2
+++ Makefile.in
3
@@ -353,11 +353,11 @@
3
@@ -464,11 +464,11 @@ target_alias = @target_alias@
4
 top_build_prefix = @top_build_prefix@
4
 top_build_prefix = @top_build_prefix@
5
 top_builddir = @top_builddir@
5
 top_builddir = @top_builddir@
6
 top_srcdir = @top_srcdir@
6
 top_srcdir = @top_srcdir@
Lines 11-16 Link Here
11
 INTLTOOL_FILES = intltool-extract.in intltool-merge.in  intltool-update.in
11
 INTLTOOL_FILES = intltool-extract.in intltool-merge.in  intltool-update.in
12
-EXTRA_DIST = config.rpath globalconst.h README.git README.w32 README.win32 icon-theme-installer $(INTLTOOL_FILES)
12
-EXTRA_DIST = config.rpath globalconst.h README.git README.w32 README.win32 icon-theme-installer $(INTLTOOL_FILES)
13
+EXTRA_DIST = config.rpath globalconst.h README.git icon-theme-installer $(INTLTOOL_FILES)
13
+EXTRA_DIST = config.rpath globalconst.h README.git icon-theme-installer $(INTLTOOL_FILES)
14
 DISTCLEANFILES = configure.lineno intltool-extract intltool-merge intltool-update po/.intltool-merge-cache
14
 DISTCLEANFILES = configure.lineno intltool-extract intltool-merge intltool-update po/.intltool-merge-cache src/gpcb-menu.res.tmp src/pcb-menu.res.tmp
15
 MAINTAINERCLEANFILES = $(INTLTOOL_FILES)
15
 MAINTAINERCLEANFILES = $(INTLTOOL_FILES)
16
 ACLOCAL_AMFLAGS = -I m4
16
 ACLOCAL_AMFLAGS = -I m4
17
@@ -518,7 +518,7 @@ config.h: stamp-h1
18
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
19
 	@rm -f stamp-h1
20
 	cd $(top_builddir) && $(SHELL) ./config.status config.h
21
-$(srcdir)/config.h.in:  $(am__configure_deps) 
22
+$(srcdir)/config.h.in:  $(am__configure_deps)
23
 	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
24
 	rm -f stamp-h1
25
 	touch $@
(-)b/cad/pcb/files/patch-doc-Makefile.in (-6 / +6 lines)
Lines 1-9 Link Here
1
--- doc/Makefile.in.orig	2019-02-02 19:08:09.000000000 +0900
1
--- doc/Makefile.in.orig	2021-02-28 20:49:50 UTC
2
+++ doc/Makefile.in	2019-03-15 23:14:07.557427000 +0900
2
+++ doc/Makefile.in
3
@@ -16,7 +16,7 @@
3
@@ -70,7 +70,7 @@ am__make_running_with_option = \
4
 @SET_MAKE@
4
   test $$has_opt = yes
5
 
5
 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
6
 VPATH = @srcdir@
6
 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
7
-pkgdatadir = $(datadir)/@PACKAGE@
7
-pkgdatadir = $(datadir)/@PACKAGE@
8
+pkgdatadir = $(docdir)
8
+pkgdatadir = $(docdir)
9
 pkgincludedir = $(includedir)/@PACKAGE@
9
 pkgincludedir = $(includedir)/@PACKAGE@

Return to bug 255063