summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ham/xnec2c/Makefile7
-rw-r--r--ham/xnec2c/PLIST10
-rw-r--r--ham/xnec2c/distinfo12
-rw-r--r--ham/xnec2c/patches/patch-src_Makefile.in21
4 files changed, 28 insertions, 22 deletions
diff --git a/ham/xnec2c/Makefile b/ham/xnec2c/Makefile
index 3a671b3d17a..a08ec4118d1 100644
--- a/ham/xnec2c/Makefile
+++ b/ham/xnec2c/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2020/08/17 20:19:14 leot Exp $
+# $NetBSD: Makefile,v 1.26 2021/08/16 13:43:49 mef Exp $
-DISTNAME= xnec2c-3.5.1
-PKGREVISION= 10
+DISTNAME= xnec2c-4.1.5
CATEGORIES= ham
MASTER_SITES= http://www.qsl.net/5b4az/pkg/nec2/xnec2c/
EXTRACT_SUFX= .tar.bz2
@@ -20,5 +19,5 @@ INSTALLATION_DIRS= share/doc/xnec2c
post-install:
cd ${WRKSRC}/doc && ${PAX} -pp -rw * ${DESTDIR}${PREFIX}/share/doc/xnec2c
-.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/ham/xnec2c/PLIST b/ham/xnec2c/PLIST
index 38b8335f4ca..9cbb2468ba9 100644
--- a/ham/xnec2c/PLIST
+++ b/ham/xnec2c/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2016/07/14 11:59:06 mef Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/08/16 13:43:49 mef Exp $
bin/xnec2c
+man/man1/xnec2c.1
+share/applications/xnec2c.desktop
share/doc/xnec2c/NEC2-bug.txt
share/doc/xnec2c/NearFieldCalcs.txt
-share/doc/xnec2c/images/charges.png
share/doc/xnec2c/images/currents.png
share/doc/xnec2c/images/excitation.png
share/doc/xnec2c/images/freq_plots.png
@@ -12,3 +13,8 @@ share/doc/xnec2c/images/wire.png
share/doc/xnec2c/nec2c.txt
share/doc/xnec2c/xnec2c.1.gz
share/doc/xnec2c/xnec2c.html
+share/examples/xnec2c/link.svg
+share/examples/xnec2c/unlink.svg
+share/examples/xnec2c/xnec2c.glade
+share/examples/xnec2c/xnec2c.svg
+share/pixmaps/xnec2c.svg
diff --git a/ham/xnec2c/distinfo b/ham/xnec2c/distinfo
index ecee56e34e7..adef76978c0 100644
--- a/ham/xnec2c/distinfo
+++ b/ham/xnec2c/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2018/02/02 10:37:44 jperkin Exp $
+$NetBSD: distinfo,v 1.11 2021/08/16 13:43:49 mef Exp $
-SHA1 (xnec2c-3.5.1.tar.bz2) = 3383d6a25fab873a10f703e26d8118399b0cac68
-RMD160 (xnec2c-3.5.1.tar.bz2) = f3499eb34841cefbf545e1ca89a97a4a39152d99
-SHA512 (xnec2c-3.5.1.tar.bz2) = 3ba4bbe9d013176ced4d5aa584cd1e4b55caeb193cd3ec905e460421ed21038ff44dea332a3aa0650c34df6ef6bf5a2a9cbf5da7c7ba892b82c2fe7e253d99f5
-Size (xnec2c-3.5.1.tar.bz2) = 995554 bytes
-SHA1 (patch-src_Makefile.in) = be365448762fd5e96b8df71713a455ab9bd50c8a
+SHA1 (xnec2c-4.1.5.tar.bz2) = 7474de3525abb921fb78e7b93bf5d80c222e376b
+RMD160 (xnec2c-4.1.5.tar.bz2) = c3d9dd85d4be26c79ca573d0f30b5c188e5c5fff
+SHA512 (xnec2c-4.1.5.tar.bz2) = aaf5d7d30dcbb5c78a93ee6baea8ab4a00e44231826ce54dc54ee10be9b989dc4d2be4c8c32671596dd8c84292cdcf10a6e547aac6b943cbff0904b22ffc1299
+Size (xnec2c-4.1.5.tar.bz2) = 936233 bytes
+SHA1 (patch-src_Makefile.in) = 4fde316b9074b29f59494c0ac43a0481f93d9f43
diff --git a/ham/xnec2c/patches/patch-src_Makefile.in b/ham/xnec2c/patches/patch-src_Makefile.in
index 60c4bd2d7b5..44b6b4c524d 100644
--- a/ham/xnec2c/patches/patch-src_Makefile.in
+++ b/ham/xnec2c/patches/patch-src_Makefile.in
@@ -1,16 +1,17 @@
-$NetBSD: patch-src_Makefile.in,v 1.1 2018/02/02 10:37:44 jperkin Exp $
+$NetBSD: patch-src_Makefile.in,v 1.2 2021/08/16 13:43:49 mef Exp $
Leave pkgsrc to handle security features.
---- src/Makefile.in.orig 2016-11-10 04:56:58.000000000 +0000
-+++ src/Makefile.in
-@@ -296,8 +296,7 @@ top_build_prefix = @top_build_prefix@
+--- src/Makefile.in.orig 2021-06-02 15:34:20.000000000 +0900
++++ src/Makefile.in 2021-08-16 22:31:52.404087618 +0900
+@@ -315,9 +315,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
- AM_LDFLAGS = -Wl,--as-needed
--AM_CFLAGS = --pedantic -Wall -std=gnu99 -O2 -D_FORTIFY_SOURCE=2 \
-- -fstack-protector -Wformat -Werror=format-security -fpie
-+AM_CFLAGS =
+ AM_LDFLAGS = -Wl,--export-dynamic -Wl,--as-needed
+-AM_CFLAGS = --pedantic -Wall -std=gnu11 -O2 -D_FORTIFY_SOURCE=2 \
+- -fstack-protector-strong -Wformat -Werror=format-security -fpie \
+- -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED \
++AM_CFLAGS = -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED \
+ -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE \
+ -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED
- AM_CPPFLAGS = \
- -DPROGRAMNAME_LOCALEDIR=\""$(PROGRAMNAME_LOCALEDIR)"\" \