summaryrefslogtreecommitdiff
path: root/comms/hylafax/patches/patch-ag
blob: cbf9c0e06ed2a67f004b9d494a58b538ed2bafb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-ag,v 1.6 2014/03/14 15:59:29 adam Exp $

--- etc/Makefile.in.orig	2012-06-06 00:58:38.000000000 +0000
+++ etc/Makefile.in
@@ -86,25 +86,25 @@ install: default
 		-src ${SRCDIR}/faxsetup.$$i -O faxsetup.$$i; \
 	done
 	${PUTSERVER} -F ${SBIN} -m 755 -src probemodem.sh -O probemodem
-	${PUTSAMPLE} -F ${SPOOL}/etc -m 644 -o xferfaxlog
-	${PUTSAMPLE} -F ${SPOOL}/etc -m 600 -o hosts.hfaxd
+	${PUTSAMPLE} -F ${PREFIX}/share/examples/hylafax -m 644 -o xferfaxlog
+	${PUTSAMPLE} -F ${PREFIX}/share/examples/hylafax -m 600 -o hosts.hfaxd
 	for i in ${DIALRULES}; do \
-	    ${PUTSERVER} -F ${SPOOL}/etc -m 444 -src ${SRCDIR}/$$i \
+	    ${PUTSERVER} -F ${PREFIX}/share/examples/hylafax -m 444 -src ${SRCDIR}/$$i \
 		-idb "config(update)" -O $$i; \
 	done
 	${PUTSERVER} -F ${LIBEXEC} -m 755 -O lockname ondelay
-	${PUTSAMPLE} -F ${SPOOL}/etc -m 644 -idb nostrip \
+	${PUTSAMPLE} -F ${PREFIX}/share/examples/hylafax -m 644 -idb nostrip \
 	    -src ${SRCDIR}/lutRS18.pcf -O lutRS18.pcf
 	${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \
-	    -idb hylafax.sw.server -dir -F ${SPOOL}/etc templates
-	${PUTSAMPLE} -F ${SPOOL}/etc/templates -m 644 \
+	    -idb hylafax.sw.server -dir -F ${PREFIX}/share/examples/hylafax templates
+	${PUTSAMPLE} -F ${PREFIX}/share/examples/hylafax/templates -m 644 \
 	    -src ${SRCDIR}/templates/README -O README
 	@for d in ${TEMPLATES}; do \
 		${ECHO} "Installing templates/$$d"; \
 		${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \
-		    -idb hylafax.sw.server -dir -F ${SPOOL}/etc/templates $$d; \
+		    -idb hylafax.sw.server -dir -F ${PREFIX}/share/examples/hylafax/templates $$d; \
 		for f in ${SRCDIR}/templates/$$d/*; do \
-			${PUTSAMPLE} -F ${SPOOL}/etc/templates/$$d -m 644 -src $$f `basename $$f`; \
+			${PUTSAMPLE} -F ${PREFIX}/share/examples/hylafax/templates/$$d -m 644 -src $$f `basename $$f`; \
 		done; \
 	done;