8e5db79efa
Submitted by Maxime Guillaud <bsd-ports@mguillaud.net>. akpop3d is a POP3 daemon aimed to be small and secure. It is stand-alone, very small, easy to modify. Despite its small size, it offers a lot of features.
27 lines
860 B
Plaintext
27 lines
860 B
Plaintext
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
|
|
--- Makefile.in.orig Mon Aug 11 21:12:11 2003
|
|
+++ Makefile.in Wed Oct 27 20:57:17 2004
|
|
@@ -1,7 +1,7 @@
|
|
# $Id: patch-Makefile_in,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
|
|
|
|
CC=@CC@
|
|
-CFLAGS=@CFLAGS@ @DEFS@ -D_BSD_SOURCE
|
|
+CFLAGS=@CFLAGS@ @DEFS@ -D_BSD_SOURCE -DSYSCONFDIR="\"@sysconfdir@\""
|
|
LDFLAGS=@LDFLAGS@
|
|
LIBS=@LIBS@
|
|
|
|
@@ -60,8 +60,12 @@ install_sbin:
|
|
$(INSTALL) $(OUTPUT) $(DESTDIR)$(sbindir)
|
|
|
|
install_man:
|
|
+ $(RM) $(OUTPUT).8.tmp
|
|
+ sed -e "s;/etc/pop3;@sysconfdir@/pop3;g" \
|
|
+ -e "s;/etc/akpop3d;@sysconfdir@/akpop3d;g" \
|
|
+ $(OUTPUT).8 > $(OUTPUT).8.tmp
|
|
mkdir -p $(DESTDIR)$(mandir)/man8
|
|
- $(INSTALL) $(OUTPUT).8 $(DESTDIR)$(mandir)/man8
|
|
+ $(INSTALL) $(OUTPUT).8.tmp $(DESTDIR)$(mandir)/man8/$(OUTPUT).8
|
|
# $(GZIP) $(DESTDIR)$(mandir)/man8/$(OUTPUT).8
|
|
|
|
install_init:
|