aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/maverik/scripts
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-21 02:47:01 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-21 02:47:01 +0800
commitc860158359eea7345c93ace3ad5d0eddb425372e (patch)
tree0f2a1e8f8e719121c5c31a9f8bf6137f88598dff /graphics/maverik/scripts
parentff47e6d3d015a8a8f142661aa2bd900585940d3c (diff)
downloadfreebsd-ports-gnome-c860158359eea7345c93ace3ad5d0eddb425372e.tar.gz
freebsd-ports-gnome-c860158359eea7345c93ace3ad5d0eddb425372e.tar.zst
freebsd-ports-gnome-c860158359eea7345c93ace3ad5d0eddb425372e.zip
add maverik
A publicly available virtual reality (VR) system
Diffstat (limited to 'graphics/maverik/scripts')
-rw-r--r--graphics/maverik/scripts/genman3list.sh17
1 files changed, 17 insertions, 0 deletions
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