From d2d012730f5c396fd59eb485e5b2334d72b29167 Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Fri, 7 Jan 2000 13:35:10 +0000 Subject: [PATCH] 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 diff --git a/gnu/usr.bin/dialog/Makefile b/gnu/usr.bin/dialog/Makefile index efbb7931022..ff5dcf7ac57 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 00000000000..a9f05ccb58d --- /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 00000000000..951fe3b597d --- /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$