summaryrefslogtreecommitdiff
path: root/mail/teapop/patches/patch-aa
blob: 3dc5ea29207e85d49525d87c3da01ae2ca89201c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.3 2001/08/31 21:27:49 zuntum Exp $

--- etc/Makefile.in.orig	Tue Aug 28 22:40:21 2001
+++ etc/Makefile.in
@@ -23,15 +23,8 @@
 	fi
 
 install: build
-	@ echo Checking for existing teapop.passwd;			\
-	if [ -f ${sysconfdir}/teapop.passwd ]; then			\
-		echo "Exists...NOT installing teapop.passwd";		\
-	else								\
-		echo "Not found, installing teapop.passwd";		\
-		${INSTALL} -d ${sysconfdir};				\
-		${INSTALL} teapop.passwd ${sysconfdir};			\
-		${CHMOD} 0644 ${sysconfdir}/teapop.passwd;		\
-	fi
+	${BSD_INSTALL_DATA_DIR} ${prefix}/share/examples/teapop
+	${BSD_INSTALL_DATA} teapop.passwd ${prefix}/share/examples/teapop
 
 makefile: ../config/timestamp
 	@ echo Updating Makefile