mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Unbreak port building [1]
- Update WWW [2] Reported by: kris via dosirak [1] Suggested by: eik [2] Pointy Hat to: me
This commit is contained in:
parent
7509bb00fb
commit
2fa71e5cce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112309
@ -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
|
||||
|
||||
|
23
mail/smtpproxy/files/patch-makefile
Normal file
23
mail/smtpproxy/files/patch-makefile
Normal file
@ -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)
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user