4fafc00f4a
fdtools is a set of utilities for working with file descriptors. With these tools, you can examine and manipulate file descriptor properties from shell scripts, where without them you might have resorted to a different language. These tools can rewind file descriptors, switch them between blocking and nonblocking mode, and examine their inode information. On some systems (currently only Linux, as far as I know) they can also allocate, lock, and switch virtual consoles.
32 lines
870 B
Makefile
32 lines
870 B
Makefile
# $NetBSD: Makefile,v 1.1 2017/10/03 00:43:22 schmonz Exp $
|
|
|
|
DISTNAME= fdtools-2015.03.28
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://code.dogmap.org/fdtools/releases/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://code.dogmap.org/fdtools/
|
|
COMMENT= Manipulate file descriptor properties from shell scripts
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DJB_RESTRICTED= no
|
|
|
|
WRKSRC= ${WRKDIR}/misc/${PKGNAME_NOREV}
|
|
DJB_SLASHPACKAGE= YES
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
do-configure:
|
|
${ECHO} ${PREFIX} > ${WRKSRC}/conf-compile/defaults/package_home
|
|
${ECHO} ${PREFIX}/lib/skalibs/sysdeps > ${WRKSRC}/conf-compile/defaults/depend_skalibs_sysdeps
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/command; \
|
|
for i in *; do \
|
|
${INSTALL_PROGRAM} $${i} ${DESTDIR}${PREFIX}/bin; \
|
|
done
|
|
|
|
.include "../../devel/skalibs/buildlink3.mk"
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|