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$