diff options
| author | Alexey Zelkin <phantom@FreeBSD.org> | 2000-04-24 11:17:53 +0000 |
|---|---|---|
| committer | Alexey Zelkin <phantom@FreeBSD.org> | 2000-04-24 11:17:53 +0000 |
| commit | d7f3a396a2e0a969fc5d92603c17959b98267b56 (patch) | |
| tree | 4428f3cc890aeb3b94561ebe06eeef0bb8704c41 /gnu/usr.bin/bc | |
| parent | c82b30ba7710037f2b8d86de839b0d99bb1647c1 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/bc')
| -rw-r--r-- | gnu/usr.bin/bc/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile index d1aab78870da..a8c3af4647ab 100644 --- a/gnu/usr.bin/bc/Makefile +++ b/gnu/usr.bin/bc/Makefile @@ -11,4 +11,14 @@ CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../../contrib/bc/h -DHAVE_CONFIG_H DPADD= ${LIBREADLINE} ${LIBTERMCAP} LDADD= -lreadline -ltermcap +EXAMPLES= ckbook.b pi.b primes.b twins.b +EXAMPDIR= /usr/share/examples/bc + +beforeinstall: +.for file in ${EXAMPLES} + cd ${.CURDIR}/../../../contrib/bc/Examples ; \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \ + ${DESTDIR}${EXAMPDIR} +.endfor + .include <bsd.prog.mk> |
