diff options
-rw-r--r-- | gnu/usr.bin/dialog/Makefile | 2 | ||||
-rw-r--r-- | gnu/usr.bin/dialog/TESTS/Makefile | 12 | ||||
-rw-r--r-- | gnu/usr.bin/dialog/TESTS/README | 15 |
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$ |