diff options
author | wosch <wosch@FreeBSD.org> | 1996-01-29 00:31:29 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1996-01-29 00:31:29 +0000 |
commit | 84a0cf5f95fcc03f3328d9d63cad5e703c08ff91 (patch) | |
tree | 682602edc846f172408146e2ffccab6fcd727cce /usr.bin | |
parent | e1e9689170816b9a3f180f3c36d275e01a14ffd4 (diff) | |
download | FreeBSD-src-84a0cf5f95fcc03f3328d9d63cad5e703c08ff91.zip FreeBSD-src-84a0cf5f95fcc03f3328d9d63cad5e703c08ff91.tar.gz |
install new calendars/de_DE.ISO8859-1/calendar.* files
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/calendar/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/calendar/Makefile b/usr.bin/calendar/Makefile index 7b6e434..96d25dd 100644 --- a/usr.bin/calendar/Makefile +++ b/usr.bin/calendar/Makefile @@ -1,9 +1,20 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= calendar +INTER= de_DE.ISO8859-1 +SHAREDIR= /usr/share/calendar +TEXTMODE?= 444 beforeinstall: - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${.CURDIR}/calendars/calendar.* ${DESTDIR}/usr/share/calendar + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ + ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR} + for lang in ${INTER}; \ + do \ + [ -d ${DESTDIR}${SHAREDIR}/$$lang ] || \ + mkdir -p ${DESTDIR}${SHAREDIR}/$$lang; \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ + ${.CURDIR}/calendars/$$lang/calendar.* \ + ${DESTDIR}${SHAREDIR}/$$lang; \ + done; .include <bsd.prog.mk> |