aboutsummaryrefslogtreecommitdiff
path: root/mail/smtpproxy
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-06-26 09:01:12 +0000
committerClement Laforet <clement@FreeBSD.org>2004-06-26 09:01:12 +0000
commit2fa71e5cce61530e2766d8b3389996a31268b407 (patch)
tree02e5dc280e7dbeca3930ead3640c6616fbec4288 /mail/smtpproxy
parent7509bb00fbfb7b5ad67d8d83f143c2cbcf64ea6e (diff)
downloadports-2fa71e5cce61530e2766d8b3389996a31268b407.tar.gz
ports-2fa71e5cce61530e2766d8b3389996a31268b407.zip
Notes
Diffstat (limited to 'mail/smtpproxy')
-rw-r--r--mail/smtpproxy/Makefile6
-rw-r--r--mail/smtpproxy/files/patch-makefile23
-rw-r--r--mail/smtpproxy/pkg-descr2
3 files changed, 25 insertions, 6 deletions
diff --git a/mail/smtpproxy/Makefile b/mail/smtpproxy/Makefile
index 5f5a5859f7aa..73e424c89f41 100644
--- a/mail/smtpproxy/Makefile
+++ b/mail/smtpproxy/Makefile
@@ -20,19 +20,15 @@ DISABLE_SIZE= yes
MAN1= smtp.proxy.1
PLIST_FILES= libexec/smtp.proxy
PORTDOCS= README rfc821.txt
-CFLAGS+= -DVERSION=\'\"${PORTVERSION}\"\'
post-patch:
- @${REINPLACE_CMD} -e 's,CC =,CC ?=,; /^CFLAGS/d ;\
- s,/usr/local,${PREFIX}, ' \
- ${WRKSRC}/makefile
@${REINPLACE_CMD} -e 's,<wait.h>,<sys/wait.h>,' ${WRKSRC}/acp.c
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
diff --git a/mail/smtpproxy/files/patch-makefile b/mail/smtpproxy/files/patch-makefile
new file mode 100644
index 000000000000..72921f378777
--- /dev/null
+++ b/mail/smtpproxy/files/patch-makefile
@@ -0,0 +1,23 @@
+--- makefile.orig Sat Jun 26 08:51:01 2004
++++ makefile Sat Jun 26 08:52:52 2004
+@@ -1,6 +1,6 @@
+
+-CC = gcc
+-CFLAGS = -ggdb -Wall -DVERSION='"$(VERSION)"'
++CC ?= gcc
++CFLAGS += -DVERSION='"$(VERSION)"'
+
+ VERSION = 1.3.3
+ TAR = smtpproxy-$(VERSION)
+@@ -18,9 +18,8 @@
+
+ install: all
+ strip $(TARGETS)
+- cp smtp.proxy /usr/local/sbin/smtp.proxy
+- cp $(TARGETS) /usr/local/sbin
+- cp *.1 /usr/local/man/man1
++ ${BSD_INSTALL_PROGRAM} $(TARGETS) ${PREFIX}/libexec/smtp.proxy
++ ${BSD_INSTALL_MAN} *.1 ${PREFIX}/man/man1
+
+
+ smtp.proxy: $(SMTPPROXY)
diff --git a/mail/smtpproxy/pkg-descr b/mail/smtpproxy/pkg-descr
index 921bb16d240b..53c3c0663682 100644
--- a/mail/smtpproxy/pkg-descr
+++ b/mail/smtpproxy/pkg-descr
@@ -3,4 +3,4 @@ client to a server running on another machine watching that the
protocol is accomplished. If commands outside the specification are
sent they are not forwarded to the server.
-WWW: http://www.quietsche-entchen.de/software/smtp.proxy.html
+WWW: http://quietsche-entchen.de/cgi-bin/wiki.cgi/software/smtp.proxy.yawk