summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2000-01-07 13:35:10 +0000
committerphantom <phantom@FreeBSD.org>2000-01-07 13:35:10 +0000
commit371dd1e862d7012ed744ce9dbdbd619d88d1aed7 (patch)
tree03b3212a65f3a4be57be75302dead15fe4c70160 /gnu
parentd13160a5a224989ebd05472be37c467485bc45fb (diff)
downloadFreeBSD-src-371dd1e862d7012ed744ce9dbdbd619d88d1aed7.zip
FreeBSD-src-371dd1e862d7012ed744ce9dbdbd619d88d1aed7.tar.gz
Install contents of the dialog/TESTS directory to share/examples/dialog
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/dialog/Makefile2
-rw-r--r--gnu/usr.bin/dialog/TESTS/Makefile12
-rw-r--r--gnu/usr.bin/dialog/TESTS/README15
3 files changed, 29 insertions, 0 deletions
diff --git a/gnu/usr.bin/dialog/Makefile b/gnu/usr.bin/dialog/Makefile
index efbb793..ff5dcf7 100644
--- a/gnu/usr.bin/dialog/Makefile
+++ b/gnu/usr.bin/dialog/Makefile
@@ -1,6 +1,8 @@
# Makefile for dialog
# $FreeBSD$
+SUBDIR= TESTS
+
PROG= dialog
MAN1= dialog.1
diff --git a/gnu/usr.bin/dialog/TESTS/Makefile b/gnu/usr.bin/dialog/TESTS/Makefile
new file mode 100644
index 0000000..a9f05cc
--- /dev/null
+++ b/gnu/usr.bin/dialog/TESTS/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+FILES= README checklist ftreebox infobox inputbox menubox msgbox \
+ prgbox radiolist textbox treebox yesno
+
+beforeinstall:
+.for file in ${FILES}
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
+ ${DESTDIR}/usr/share/examples/dialog
+.endfor
+
+.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/dialog/TESTS/README b/gnu/usr.bin/dialog/TESTS/README
new file mode 100644
index 0000000..951fe3b
--- /dev/null
+++ b/gnu/usr.bin/dialog/TESTS/README
@@ -0,0 +1,15 @@
+These shell scripts demonstrate possibilities of the dialog(1) tool.
+
+checklist - checkbox list
+ftreebox - file tree box
+infobox - info box
+inputbox - input box
+menubox - menu
+msgbox - message box
+prgbox - program box
+radiolist - radio button list
+textbox - simple text box
+treebox - tree box
+yesno - yes/no dialog
+
+$FreeBSD$
OpenPOWER on IntegriCloud