summaryrefslogtreecommitdiff
path: root/mail/teapop/patches/patch-aa
blob: d3ab55a4a0ad4aec59d5c9978500dfba537c7adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.1.1.1 2001/03/24 06:17:06 zuntum Exp $

--- etc/Makefile.in.orig	Sun Jun  4 14:40:00 2000
+++ etc/Makefile.in
@@ -23,15 +23,9 @@
 	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} 0755 ${sysconfdir}/teapop.passwd; \
-	fi
+	${INSTALL} -d ${prefix}/share/examples/teapop; \
+	${BSD_INSTALL_DATA} teapop.passwd ${prefix}/share/examples/teapop; \
+	${CHMOD} 0755 ${prefix}/share/examples/teapop/teapop.passwd; \
 
 makefile: ../config/timestamp
 	@echo Updating Makefile