summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1996-01-29 00:31:29 +0000
committerwosch <wosch@FreeBSD.org>1996-01-29 00:31:29 +0000
commit84a0cf5f95fcc03f3328d9d63cad5e703c08ff91 (patch)
tree682602edc846f172408146e2ffccab6fcd727cce /usr.bin
parente1e9689170816b9a3f180f3c36d275e01a14ffd4 (diff)
downloadFreeBSD-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/Makefile15
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>
OpenPOWER on IntegriCloud