summaryrefslogtreecommitdiff
path: root/net/rt4-cli
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2019-05-31 17:19:25 +0000
committerleot <leot@pkgsrc.org>2019-05-31 17:19:25 +0000
commit9178f5c8482d79112facd58a63c2d45a39ba0f92 (patch)
treefc47f27c82a3fbc4f42dd5ed49516b6418a2e629 /net/rt4-cli
parentd01b2c425a3aad60c30a53926e164ce5696ab1a1 (diff)
downloadpkgsrc-9178f5c8482d79112facd58a63c2d45a39ba0f92.tar.gz
rt4-cli: Import rt4-cli-4.4.4 as net/rt4-cli
rt allows you to interact with an RT server over HTTP, and offers an interface to RT's functionality that is better-suited to automation and integration with other tools.
Diffstat (limited to 'net/rt4-cli')
-rw-r--r--net/rt4-cli/DESCR3
-rw-r--r--net/rt4-cli/Makefile33
-rw-r--r--net/rt4-cli/PLIST2
-rw-r--r--net/rt4-cli/distinfo6
4 files changed, 44 insertions, 0 deletions
diff --git a/net/rt4-cli/DESCR b/net/rt4-cli/DESCR
new file mode 100644
index 00000000000..6757ff1277c
--- /dev/null
+++ b/net/rt4-cli/DESCR
@@ -0,0 +1,3 @@
+rt allows you to interact with an RT server over HTTP, and offers
+an interface to RT's functionality that is better-suited to automation
+and integration with other tools.
diff --git a/net/rt4-cli/Makefile b/net/rt4-cli/Makefile
new file mode 100644
index 00000000000..e9b0802d47a
--- /dev/null
+++ b/net/rt4-cli/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2019/05/31 17:19:25 leot Exp $
+
+DISTNAME= rt-4.4.4
+PKGNAME= ${DISTNAME:S/rt/rt4-cli/}
+CATEGORIES= net
+MASTER_SITES= https://download.bestpractical.com/pub/rt/release/
+
+MAINTAINER= leot@NetBSD.org
+HOMEPAGE= https://www.bestpractical.com/rt/
+COMMENT= Command-line interface to RT 3.0 or newer
+LICENSE= gnu-gpl-v2
+
+CONFLICTS+= rt<4.0
+
+DEPENDS+= p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message
+DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
+DEPENDS+= p5-Term-ReadLine-[0-9]*:../../devel/p5-Term-ReadLine
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+
+USE_TOOLS+= perl:run
+
+NO_BUILD= yes
+
+USE_LANGUAGES= # none
+
+REPLACE_PERL+= bin/rt
+
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/rt ${DESTDIR}${PREFIX}/bin/rt
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/rt4-cli/PLIST b/net/rt4-cli/PLIST
new file mode 100644
index 00000000000..3673f0cdbd0
--- /dev/null
+++ b/net/rt4-cli/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/31 17:19:25 leot Exp $
+bin/rt
diff --git a/net/rt4-cli/distinfo b/net/rt4-cli/distinfo
new file mode 100644
index 00000000000..68917f18510
--- /dev/null
+++ b/net/rt4-cli/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/05/31 17:19:25 leot Exp $
+
+SHA1 (rt-4.4.4.tar.gz) = e2c9ed8716a180638b4ce34a05d67bcc6c4c0935
+RMD160 (rt-4.4.4.tar.gz) = 10eb3df55a30d3cba154b36d40b5970fd2cebe50
+SHA512 (rt-4.4.4.tar.gz) = 95335cfa9e7107300670a5e8631ffb6f402895dae051201d051ac01885b0cb185f838a666acaec773e0f670e1b9d16b7cede72f37ce9832fd83a9da8514e6972
+Size (rt-4.4.4.tar.gz) = 9977845 bytes