summaryrefslogtreecommitdiff
path: root/mail/qpopper/patches/patch-al
blob: bdc03b4fb7e890f149bed126513df8e8d46b32e0 (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
$NetBSD: patch-al,v 1.2 2009/12/27 14:17:38 obache Exp $

--- Makefile.in.orig	2006-03-09 22:32:36.000000000 +0000
+++ Makefile.in
@@ -26,6 +26,7 @@ MAKEFILE        =       Makefile
 YACC            =       @YACC@
 LEX             =       @LEX@
 INSTALL         =       @INSTALL@
+DESTDIR		=
 
 @SET_MAKE@
 
@@ -58,10 +59,10 @@ popper_server: 
 	cd ${popper_dir}  && ${MAKE} all
 
 install:
-	${INSTALL} -m 0644 -o root ${top_srcdir}/man/popper.8  ${mandir}/man8/
-	echo "Installed man/popper.8 as ${mandir}/man8/popper.8"
-	${INSTALL} -m 0644 -o root ${top_srcdir}/man/popauth.8 ${mandir}/man8/
-	echo "Installed man/popauth.8 as ${mandir}/man8/popauth.8"
+	${BSD_INSTALL_MAN} ${top_srcdir}/man/popper.8 ${DESTDIR}${mandir}/man8/qpopper.8
+	@echo "Installed man/popper.8 as ${mandir}/man8/qpopper.8"
+	${BSD_INSTALL_MAN} ${top_srcdir}/man/popauth.8 ${DESTDIR}${mandir}/man8/qpopauth.8
+	@echo "Installed man/popauth.8 as ${mandir}/man8/qpopauth.8"
 	cd ${popper_dir}  && ${MAKE} install
 
 clean: