From c860158359eea7345c93ace3ad5d0eddb425372e Mon Sep 17 00:00:00 2001 From: ijliao Date: Tue, 20 Nov 2001 18:47:01 +0000 Subject: add maverik A publicly available virtual reality (VR) system --- graphics/maverik/scripts/genman3list.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 graphics/maverik/scripts/genman3list.sh (limited to 'graphics/maverik/scripts') diff --git a/graphics/maverik/scripts/genman3list.sh b/graphics/maverik/scripts/genman3list.sh new file mode 100644 index 000000000000..09616491ac6d --- /dev/null +++ b/graphics/maverik/scripts/genman3list.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# $FreeBSD$ + +if [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then + exit +fi + +exec > ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc + +echo "MAN3= \\" +find ${WRKDIRPREFIX}${REALCURDIR}/work/${DISTNAME}/doc/MFS/man3 -type f -exec basename {} \; | sed 's,$, \\,' + +echo +echo "MLINKS= \\" +ls -al ${WRKDIRPREFIX}${REALCURDIR}/work/${DISTNAME}/doc/MFS/man3 | \ + awk '/->/ { print $(NF), $(NF - 2), " \\" }' +echo -- cgit