From 371dd1e862d7012ed744ce9dbdbd619d88d1aed7 Mon Sep 17 00:00:00 2001 From: phantom Date: Fri, 7 Jan 2000 13:35:10 +0000 Subject: Install contents of the dialog/TESTS directory to share/examples/dialog --- gnu/usr.bin/dialog/Makefile | 2 ++ gnu/usr.bin/dialog/TESTS/Makefile | 12 ++++++++++++ gnu/usr.bin/dialog/TESTS/README | 15 +++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 gnu/usr.bin/dialog/TESTS/Makefile create mode 100644 gnu/usr.bin/dialog/TESTS/README (limited to 'gnu/usr.bin/dialog') 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 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$ -- cgit v1.1