pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Feb 16 16:34:09 UTC 2019

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/empty: DESCR Makefile PLIST distinfo
        pkgsrc/devel/empty/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2775 -r1.2776 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/empty/DESCR pkgsrc/devel/empty/Makefile \
    pkgsrc/devel/empty/PLIST pkgsrc/devel/empty/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/empty/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2775 pkgsrc/devel/Makefile:1.2776
--- pkgsrc/devel/Makefile:1.2775        Sat Feb  9 08:20:28 2019
+++ pkgsrc/devel/Makefile       Sat Feb 16 16:34:09 2019
@@ -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+=    elftoolchain
 SUBDIR+=       elib
 SUBDIR+=       emacs-ilisp
 SUBDIR+=       emacs20-elib
+SUBDIR+=       empty
 SUBDIR+=       epydoc
 SUBDIR+=       eric4
 SUBDIR+=       erlang-base64url

Added files:

Index: pkgsrc/devel/empty/DESCR
diff -u /dev/null pkgsrc/devel/empty/DESCR:1.1
--- /dev/null   Sat Feb 16 16:34:09 2019
+++ pkgsrc/devel/empty/DESCR    Sat Feb 16 16:34:09 2019
@@ -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.).
Index: pkgsrc/devel/empty/Makefile
diff -u /dev/null pkgsrc/devel/empty/Makefile:1.1
--- /dev/null   Sat Feb 16 16:34:09 2019
+++ pkgsrc/devel/empty/Makefile Sat Feb 16 16:34:09 2019
@@ -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"
Index: pkgsrc/devel/empty/PLIST
diff -u /dev/null pkgsrc/devel/empty/PLIST:1.1
--- /dev/null   Sat Feb 16 16:34:09 2019
+++ pkgsrc/devel/empty/PLIST    Sat Feb 16 16:34:09 2019
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/16 16:34:09 bsiegert Exp $
+bin/empty
+man/man1/empty.1
Index: pkgsrc/devel/empty/distinfo
diff -u /dev/null pkgsrc/devel/empty/distinfo:1.1
--- /dev/null   Sat Feb 16 16:34:09 2019
+++ pkgsrc/devel/empty/distinfo Sat Feb 16 16:34:09 2019
@@ -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

Index: pkgsrc/devel/empty/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/empty/patches/patch-Makefile:1.1
--- /dev/null   Sat Feb 16 16:34:09 2019
+++ pkgsrc/devel/empty/patches/patch-Makefile   Sat Feb 16 16:34:09 2019
@@ -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