summaryrefslogtreecommitdiff
path: root/textproc/aspell-german/patches/patch-aa
blob: f2f944f7bb3e23e5831c5ce5f0e31ecae9272d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.2 2003/01/19 06:35:48 salo Exp $

--- Makefile.pre.orig	Fri Jan  3 18:39:33 2003
+++ Makefile.pre	Wed Jan 15 00:48:39 2003
@@ -16,12 +16,10 @@
 all: ${rws_files} ${data_files}
 
 install: all
-	mkdir -p ${DESTDIR}${dictdir}/
-	cp ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
-	cd ${DESTDIR}${dictdir}/ && chmod 644 ${rws_files} ${multi_files}
-	mkdir -p ${DESTDIR}${datadir}/
-	cp ${data_files} ${DESTDIR}${datadir}/
-	cd ${DESTDIR}${datadir}/ && chmod 644 ${data_files}
+	${BSD_INSTALL_DATA_DIR} ${DESTDIR}${dictdir}/
+	${BSD_INSTALL_DATA} ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
+	${BSD_INSTALL_DATA_DIR} ${DESTDIR}${datadir}/
+	${BSD_INSTALL_DATA} ${data_files} ${DESTDIR}${datadir}/
 
 clean:
 	rm -f ${rws_files}