pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Add a package for empty-0.6.20b.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d6923bb31cf
branches:  trunk
changeset: 329852:1d6923bb31cf
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Feb 16 16:34:09 2019 +0000

description:
Add a package for empty-0.6.20b.

Run applications under pseudo-terminal (PTY) sessions and replace
TCL/Expect with a simple tool under your favorite shell (sh, bash,
csh, tcsh, ksh, zsh, etc.).

Packaged by David Weller-Fahy in PR pkg/53955.

diffstat:

 devel/Makefile                     |   3 ++-
 devel/empty/DESCR                  |   3 +++
 devel/empty/Makefile               |  13 +++++++++++++
 devel/empty/PLIST                  |   3 +++
 devel/empty/distinfo               |   7 +++++++
 devel/empty/patches/patch-Makefile |  31 +++++++++++++++++++++++++++++++
 6 files changed, 59 insertions(+), 1 deletions(-)

diffs (94 lines):

diff -r a14c4ca4028b -r 1d6923bb31cf devel/Makefile
--- a/devel/Makefile    Sat Feb 16 16:27:19 2019 +0000
+++ b/devel/Makefile    Sat Feb 16 16:34:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2775 2019/02/09 08:20:28 wen Exp $
+# $NetBSD: Makefile,v 1.2776 2019/02/16 16:34:09 bsiegert Exp $
 #
 
 COMMENT=       Development utilities
@@ -253,6 +253,7 @@
 SUBDIR+=       elib
 SUBDIR+=       emacs-ilisp
 SUBDIR+=       emacs20-elib
+SUBDIR+=       empty
 SUBDIR+=       epydoc
 SUBDIR+=       eric4
 SUBDIR+=       erlang-base64url
diff -r a14c4ca4028b -r 1d6923bb31cf devel/empty/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/empty/DESCR Sat Feb 16 16:34:09 2019 +0000
@@ -0,0 +1,3 @@
+Run applications under pseudo-terminal (PTY) sessions and replace
+TCL/Expect with a simple tool under your favorite shell (sh, bash,
+csh, tcsh, ksh, zsh, etc.).
diff -r a14c4ca4028b -r 1d6923bb31cf devel/empty/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/empty/Makefile      Sat Feb 16 16:34:09 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2019/02/16 16:34:09 bsiegert Exp $
+
+DISTNAME=      empty-0.6.20b
+CATEGORIES=    devel
+MASTER_SITES=  https://downloads.sourceforge.net/project/empty/empty/empty-0.6.20b/
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=    dave%weller-fahy.com@localhost
+HOMEPAGE=      https://downloads.sourceforge.net/project/empty/empty/empty-0.6.20b/
+COMMENT=       Simple replacement for expect
+LICENSE=       modified-bsd
+
+.include "../../mk/bsd.pkg.mk"
diff -r a14c4ca4028b -r 1d6923bb31cf devel/empty/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/empty/PLIST Sat Feb 16 16:34:09 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/16 16:34:09 bsiegert Exp $
+bin/empty
+man/man1/empty.1
diff -r a14c4ca4028b -r 1d6923bb31cf devel/empty/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/empty/distinfo      Sat Feb 16 16:34:09 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/02/16 16:34:09 bsiegert Exp $
+
+SHA1 (empty-0.6.20b.tgz) = 584ef81a2c16f9602a7552a39be55a0c49f185eb
+RMD160 (empty-0.6.20b.tgz) = 092ed244e0b856ff5bb923798f9fa0142dd533b0
+SHA512 (empty-0.6.20b.tgz) = bdeda29ecde0bc7ee0432656f0497154e04dbad26aba62a0fe76ded394ddeefe2bfd921594a2dae44459b62ab4767d3b12a7a86216dfda56b6d77035a8b05c3d
+Size (empty-0.6.20b.tgz) = 16269 bytes
+SHA1 (patch-Makefile) = c15f37504340e500e9fad8755029ad3773c43ed4
diff -r a14c4ca4028b -r 1d6923bb31cf devel/empty/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/empty/patches/patch-Makefile        Sat Feb 16 16:34:09 2019 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-Makefile,v 1.1 2019/02/16 16:34:09 bsiegert Exp $
+
+Do not set PREFIX to allow unprivileged use, and respect DESTDIR.
+
+--- Makefile.orig      2015-08-10 08:21:35.000000000 +0000
++++ Makefile
+@@ -13,8 +13,6 @@
+ CC =  cc
+ LIBS =        -lutil
+ 
+-PREFIX = /usr/local
+-
+ all:
+       ${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c
+ 
+@@ -41,11 +39,11 @@ SunOS-gcc:
+ 
+ install:
+       [ -f `which strip` ] && strip empty
+-      [ -d ${PREFIX}/bin ] && cp empty ${PREFIX}/bin || mkdir -p ${PREFIX}/bin && cp empty ${PREFIX}/bin
+-      [ -d ${PREFIX}/man/man1 ] && cp empty.1 ${PREFIX}/man/man1 || mkdir -p ${PREFIX}/man/man1 && cp empty.1 ${PREFIX}/man/man1
++      [ -d ${DESTDIR}${PREFIX}/bin ] && cp empty ${DESTDIR}${PREFIX}/bin || mkdir -p ${DESTDIR}${PREFIX}/bin && cp empty ${DESTDIR}${PREFIX}/bin
++      [ -d ${DESTDIR}${PREFIX}/man/man1 ] && cp empty.1 ${DESTDIR}${PREFIX}/man/man1 || mkdir -p ${DESTDIR}${PREFIX}/man/man1 && cp empty.1 ${DESTDIR}${PREFIX}/man/man1
+ deinstall:
+-      rm ${PREFIX}/bin/empty
+-      rm ${PREFIX}/man/man1/empty.1
++      rm ${DESTDIR}${PREFIX}/bin/empty
++      rm ${DESTDIR}${PREFIX}/man/man1/empty.1
+ uninstall:    deinstall
+ 
+ clean:



Home | Main Index | Thread Index | Old Index