be08b597ad
Patch provided by MAINTAINER, Francis GUDIN. The changes in version 0.8 are: - When using dtach -A or dtach -c, the master will now wait until the client attaches before trying to read from the program being executed. This avoids a race condition when the program prints something and exits before the client can attach itself. - Instead of exiting quietly, dtach will now report any errors that occur while trying to execute the program. - dtach -n can now be used without a terminal. - dtach -A will now try to detect and remove stale sockets. - Removed a Linux-specific escape sequence from the code that restores the original terminal settings. - Changed dtach.1 to use \- for the dashes in command line options, and fix an ambiguous backslash. - Use non-blocking mode in the master process, and avoid data loss by ensuring that at least one attaching client succesfully completes a write. - Fix -e ^<char> to work with lowercase characters.
30 lines
809 B
Makefile
30 lines
809 B
Makefile
# $NetBSD: Makefile,v 1.6 2008/03/08 01:06:50 obache Exp $
|
|
|
|
DISTNAME= dtach-0.8
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dtach/}
|
|
|
|
MAINTAINER= fgudin@nerim.net
|
|
HOMEPAGE= http://dtach.sourceforge.net/
|
|
COMMENT= Small program that emulates the detach feature of screen
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
BUILD_TARGET= dtach
|
|
|
|
DOCS= COPYING README dtach.spec
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC:Q}/dtach ${DESTDIR}${PREFIX:Q}/bin
|
|
${INSTALL_MAN} ${WRKSRC:Q}/dtach.1 \
|
|
${DESTDIR}${PREFIX:Q}/${PKGMANDIR:Q}/man1
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR:Q}
|
|
cd ${WRKSRC:Q}; for f in ${DOCS}; do \
|
|
${INSTALL_DATA} $$f ${DESTDIR}${DOCDIR}/$$f; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|