freebsd-ports/mail/pop3gwd/files/patch-makefile
Will Andrews be8168529b Add pop3gwd 1.2, an app-level proxy for mail retrieval behind firewalls.
It appears to have been heavily audited (at least as far as string format
paranoia goes, and optimizes: snprintf() -> strlcpy()).

PR:		22123
Submitted by:	Joao Carlos Mendes Luis <jonny@jonny.eng.br>
Obtained from:	OpenBSD
2000-10-28 03:06:49 +00:00

33 lines
755 B
Plaintext

# $OpenBSD: patch-makefile,v 1.1.1.1 2000/01/03 02:22:43 kevlo Exp $
--- Makefile.orig Thu Jun 19 19:06:28 1997
+++ Makefile Wed Dec 29 12:25:33 1999
@@ -3,22 +3,23 @@
CC=gcc
-CFLAGS= -O2
+CFLAGS= -O2 -Wall
MODULES=main.o parse_cmd_line.o get_remote_data.o connect_login.o io.o relay_data.o
DOCS=README COPYING HISTORY
-INSTALL_DIR=/usr/sbin
+INSTALL_DIR=${PREFIX}/libexec
VERSION=1.2
-DOC_DIR=/usr/doc/pop3gwd-$(VERSION)
+DOC_DIR=${PREFIX}/share/doc/pop3gwd-$(VERSION)
in.pop3gwd: pop3-gw.h $(MODULES)
$(CC) $(CFLAGS) -o $@ $(MODULES)
strip $@
chmod 755 $@
+all:
+ make
install:
- make
- cp -f in.pop3gwd $(INSTALL_DIR)/
+ cp -f in.pop3gwd $(INSTALL_DIR)/pop3gwd
[ -d $(DOC_DIR) ] || mkdir $(DOC_DIR)
cp -f $(DOCS) $(DOC_DIR)