pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

clic: Import clic-1.01 as wip/clic



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Aug 13 23:23:49 2018 +0200
Changeset:	8ccce507bf5a3d1e4036a28f3ec4e5b53499c52b

Modified Files:
	Makefile
Added Files:
	clic/DESCR
	clic/Makefile
	clic/PLIST
	clic/distinfo
	clic/patches/patch-Makefile

Log Message:
clic: Import clic-1.01 as wip/clic

Clic (Common LISP Interactive Client) is a terminal based gopher
client. The name is a bad pun, **clic** is the sound of a mouse click
but the software is keyboard driven...

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8ccce507bf5a3d1e4036a28f3ec4e5b53499c52b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                    |  1 +
 clic/DESCR                  |  3 +++
 clic/Makefile               | 19 +++++++++++++++++++
 clic/PLIST                  |  3 +++
 clic/distinfo               |  7 +++++++
 clic/patches/patch-Makefile | 29 +++++++++++++++++++++++++++++
 6 files changed, 62 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e35b18d6fc..d25fad23a4 100644
--- a/Makefile
+++ b/Makefile
@@ -401,6 +401,7 @@ SUBDIR+=	clementine
 SUBDIR+=	clfswm
 SUBDIR+=	clhep
 SUBDIR+=	cli-git
+SUBDIR+=	clic
 SUBDIR+=	cliquer
 SUBDIR+=	clisp-asdf
 SUBDIR+=	clisp-hg
diff --git a/clic/DESCR b/clic/DESCR
new file mode 100644
index 0000000000..60bec387ea
--- /dev/null
+++ b/clic/DESCR
@@ -0,0 +1,3 @@
+Clic (Common LISP Interactive Client) is a terminal based gopher
+client. The name is a bad pun, **clic** is the sound of a mouse click
+but the software is keyboard driven...
diff --git a/clic/Makefile b/clic/Makefile
new file mode 100644
index 0000000000..55e2e6d038
--- /dev/null
+++ b/clic/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.2 2018/02/28 16:32:56 leot Exp $
+
+DISTNAME=	clic-v1.01
+PKGNAME=	${DISTNAME:S/-v/-/}
+CATEGORIES=	net
+MASTER_SITES=	ftp://bitreich.org/releases/clic/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	gopher://bitreich.org/1/scm/clic
+COMMENT=	Common LISP terminal based gopher client written
+LICENSE=	2-clause-bsd
+
+MAKE_FLAGS+=	PREFIX="${PREFIX}"
+MAKE_FLAGS+=	MANDIR="${PREFIX}/${PKGMANDIR}"
+
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../lang/ecl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/clic/PLIST b/clic/PLIST
new file mode 100644
index 0000000000..61f03e9e42
--- /dev/null
+++ b/clic/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/clic
+man/man1/clic.1
diff --git a/clic/distinfo b/clic/distinfo
new file mode 100644
index 0000000000..61b7e1f528
--- /dev/null
+++ b/clic/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/02/26 16:52:21 leot Exp $
+
+SHA1 (clic-v1.01.tgz) = 58dc15228af54518765ba8b07915ff089c834bc3
+RMD160 (clic-v1.01.tgz) = 8f09b0b3938b0c3965cacc3433cd15add36d50fb
+SHA512 (clic-v1.01.tgz) = f08645e5e1953ae80275132fcc65887cdc6e018bead8ae69cf26b39fdc21d65a4042c4d3d47babbfc1bbf6327de33c9605495e982aeb541c265b0b7f6f3e8446
+Size (clic-v1.01.tgz) = 10550 bytes
+SHA1 (patch-Makefile) = 2caad90c2aedd3955b19f31d90c895f97eedb9bf
diff --git a/clic/patches/patch-Makefile b/clic/patches/patch-Makefile
new file mode 100644
index 0000000000..fd5dff6ffd
--- /dev/null
+++ b/clic/patches/patch-Makefile
@@ -0,0 +1,29 @@
+$NetBSD$
+
+Install clic(1) man page and always quote variables for consistency (and also to
+avoid possible problems if any of them contain spaces).
+
+--- Makefile.orig	2018-08-13 21:06:55.211365239 +0000
++++ Makefile
+@@ -19,15 +19,16 @@ install: ${BIN}
+ 	@mkdir -p "${DESTDIR}${BINDIR}"
+ 	@cp -f clic "${DESTDIR}${BINDIR}/${BIN}"
+ 	@chmod 755 "${DESTDIR}${BINDIR}/${BIN}"
+-	@echo installing manual page to ${DESTDIR}${MANDIR}/man1
+-	@mkdir -p ${DESTDIR}${MANDIR}/man1
+-	@chmod 644 ${DESTDIR}${MANDIR}/man1/clic.1
++	@echo installing manual page to "${DESTDIR}${MANDIR}/man1"
++	@mkdir -p "${DESTDIR}${MANDIR}/man1"
++	@cp -f clic.1 "${DESTDIR}${MANDIR}/man1/clic.1"
++	@chmod 644 "${DESTDIR}${MANDIR}/man1/clic.1"
+ 
+ uninstall:
+ 	@echo removing executable file from "${DESTDIR}${PREFIX}/bin"
+ 	@rm -f "${DESTDIR}${BINDIR}/${BIN}"
+-	@echo removing manual page from ${DESTDIR}${MANDIR}/man1
+-	@rm -f ${DESTDIR}${MANDIR}/man1/clic.1
++	@echo removing manual page from "${DESTDIR}${MANDIR}/man1"
++	@rm -f "${DESTDIR}${MANDIR}/man1/clic.1"
+ 
+ clean:
+ 	rm -f "${BIN}" clic.o clic.eclh clic.cxx


Home | Main Index | Thread Index | Old Index