summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-01-16 13:11:07 +0000
committernia <nia@pkgsrc.org>2022-01-16 13:11:07 +0000
commit4850a51133d449a571a3f32dc908d4e6fb188e2b (patch)
treed4d2aaab9e50efdbbc546299c62095a3caa79014
parent591aec7526adda6e8c6717a213269c2cf1f6a3c8 (diff)
downloadpkgsrc-4850a51133d449a571a3f32dc908d4e6fb188e2b.tar.gz
add comms/syncterm
A cross-platform ANSI-BBS terminal designed to connect to remote BBSs via telnet, rlogin, or SSH. Supports ANSI music and the IBM charset when possible.
-rw-r--r--comms/Makefile3
-rw-r--r--comms/syncterm/DESCR2
-rw-r--r--comms/syncterm/Makefile32
-rw-r--r--comms/syncterm/PLIST5
-rw-r--r--comms/syncterm/distinfo7
-rw-r--r--comms/syncterm/patches/patch-src_syncterm_GNUmakefile16
-rw-r--r--comms/syncterm/patches/patch-src_syncterm_syncterm.man.in16
7 files changed, 80 insertions, 1 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 0cd88b5c6c0..b17f014b269 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.129 2022/01/13 02:45:36 gutteridge Exp $
+# $NetBSD: Makefile,v 1.130 2022/01/16 13:11:07 nia Exp $
#
COMMENT= Telephony and serial communication utilities
@@ -87,6 +87,7 @@ SUBDIR+= synce-librapi2
SUBDIR+= synce-libsynce
SUBDIR+= synce-rra
SUBDIR+= synce-serial
+SUBDIR+= syncterm
SUBDIR+= tilp2
SUBDIR+= tio
SUBDIR+= tkhylafax
diff --git a/comms/syncterm/DESCR b/comms/syncterm/DESCR
new file mode 100644
index 00000000000..d36f97dabde
--- /dev/null
+++ b/comms/syncterm/DESCR
@@ -0,0 +1,2 @@
+A cross-platform ANSI-BBS terminal designed to connect to remote BBSs via
+telnet, rlogin, or SSH. Supports ANSI music and the IBM charset when possible.
diff --git a/comms/syncterm/Makefile b/comms/syncterm/Makefile
new file mode 100644
index 00000000000..2bea8a53ccf
--- /dev/null
+++ b/comms/syncterm/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2022/01/16 13:11:07 nia Exp $
+
+DISTNAME= syncterm-1.1-src
+PKGNAME= ${DISTNAME:S/-src//}
+CATEGORIES= comms
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=syncterm/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://syncterm.bbsdev.net/
+COMMENT= ANSI-BBS terminal designed to connect to remote BBSs
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+BUILD_DIRS= src/syncterm
+
+USE_TOOLS+= gmake perl gzip
+
+MAKE_FILE= GNUmakefile
+
+MAKE_FLAGS+= RELEASE=1
+MAKE_FLAGS+= SRC_ROOT=${WRKSRC}/src
+MAKE_FLAGS+= MAN_PREFIX=${PREFIX}/${PKGMANDIR:S,man$,,g}
+MAKE_FLAGS+= SYSTEM_LIST_DIR=${PKG_SYSCONFDIR}
+MAKE_FLAGS+= WITHOUT_CRYPTLIB=1
+
+# incompatible with NetBSD curses - tries to access within cchar_t
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/syncterm/PLIST b/comms/syncterm/PLIST
new file mode 100644
index 00000000000..d0fb708e7a9
--- /dev/null
+++ b/comms/syncterm/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/16 13:11:07 nia Exp $
+bin/syncterm
+man/man1/syncterm.1
+share/applications/syncterm.desktop
+share/icons/hicolor/64x64/apps/syncterm.png
diff --git a/comms/syncterm/distinfo b/comms/syncterm/distinfo
new file mode 100644
index 00000000000..4f3b4ea08c7
--- /dev/null
+++ b/comms/syncterm/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2022/01/16 13:11:07 nia Exp $
+
+BLAKE2s (syncterm-1.1-src.tgz) = 2de2559b621ab8a8249e2321ed617cc3a73aa44f74ca2d49b82c141bf9d97eb6
+SHA512 (syncterm-1.1-src.tgz) = b5280e8f64ce12101f810dbee38a113e03450356a1fbc46a7c63a57eb8ca382e99ec1586b0a3527e336c9725efedae2ce80c5d4b372456eba1f090ec0f8c80eb
+Size (syncterm-1.1-src.tgz) = 18270212 bytes
+SHA1 (patch-src_syncterm_GNUmakefile) = 0c8739341c1c86b7455fc50f2265a02a87333a30
+SHA1 (patch-src_syncterm_syncterm.man.in) = 8bc6eed865883b3e2c49638e9fc08abb8ac8e617
diff --git a/comms/syncterm/patches/patch-src_syncterm_GNUmakefile b/comms/syncterm/patches/patch-src_syncterm_GNUmakefile
new file mode 100644
index 00000000000..a406cb4c5f0
--- /dev/null
+++ b/comms/syncterm/patches/patch-src_syncterm_GNUmakefile
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_syncterm_GNUmakefile,v 1.1 2022/01/16 13:11:07 nia Exp $
+
+Use SYSTEM_LIST_DIR to refer to the configuration directory
+in man pages rather than the DESTDIR.
+
+--- src/syncterm/GNUmakefile.orig 2020-06-26 23:40:21.000000000 +0000
++++ src/syncterm/GNUmakefile
+@@ -118,7 +118,7 @@ ifeq ($(os),darwin)
+ endif
+
+ syncterm.man: syncterm.man.in
+- sed -E -e 's|%%DESTDIR%%|${DESTDIR}|g' -e 's|%%PREFIX%%|${PREFIX}|g' < syncterm.man.in > syncterm.man
++ sed -E -e 's|%%SYSTEM_LIST_DIR%%|${SYSTEM_LIST_DIR}|g' < syncterm.man.in > syncterm.man
+
+ syncterm.1.gz: syncterm.man
+ gzip < syncterm.man > syncterm.1.gz
diff --git a/comms/syncterm/patches/patch-src_syncterm_syncterm.man.in b/comms/syncterm/patches/patch-src_syncterm_syncterm.man.in
new file mode 100644
index 00000000000..8d2a2428da0
--- /dev/null
+++ b/comms/syncterm/patches/patch-src_syncterm_syncterm.man.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_syncterm_syncterm.man.in,v 1.1 2022/01/16 13:11:07 nia Exp $
+
+Do not embed DESTDIR in installed man paths, instead honoring
+PKG_SYSCONFDIR.
+
+--- src/syncterm/syncterm.man.in.orig 2020-06-26 23:40:21.000000000 +0000
++++ src/syncterm/syncterm.man.in
+@@ -130,7 +130,7 @@ The curses and ANSI modes are not necess
+ a traditional screen mode. As such, filler will be added around the terminal
+ screen. For some display sizes, unpredictable results may occur.
+ .SH FILES
+-.IP \fC%%DESTDIR%%%%PREFIX%%/etc/syncterm.lst\fR
++.IP \fC%%SYSTEM_LIST_DIR%%/syncterm.lst\fR
+ The system wide dialing directory.
+ .IP \fC~/.syncterm/syncterm.lst\fR
+ The users dialing directory