diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/reply-o-matic/Makefile | 27 | ||||
-rw-r--r-- | mail/reply-o-matic/distinfo | 2 | ||||
-rw-r--r-- | mail/reply-o-matic/files/patch-Makefile | 25 | ||||
-rw-r--r-- | mail/reply-o-matic/files/patch-main.c | 20 | ||||
-rw-r--r-- | mail/reply-o-matic/pkg-descr | 5 | ||||
-rw-r--r-- | mail/reply-o-matic/pkg-plist | 3 |
7 files changed, 83 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index ea113e0505cb..2db40fdab991 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -361,6 +361,7 @@ SUBDIR += relay-ctrl SUBDIR += relaydb SUBDIR += renattach + SUBDIR += reply-o-matic SUBDIR += rftp SUBDIR += ricochet SUBDIR += ripmime diff --git a/mail/reply-o-matic/Makefile b/mail/reply-o-matic/Makefile new file mode 100644 index 000000000000..4bfc49ed4fbc --- /dev/null +++ b/mail/reply-o-matic/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: qdvdauthor +# Date created: 05/13/04 +# Whom: oz@nixil.net +# +# $FreeBSD$ +# + +PORTNAME= reply-o-matic +PORTVERSION= 1.2.0 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= oz@nixil.net +COMMENT= A highly configureble, secure, auto reply software + +USE_REINPLACE= yes + +MAN1= rom.1 + +post-patch: + @${REINPLACE_CMD} \ + -e 's|/etc/rom|${PREFIX}/etc/rom|g' \ + -e 's|/usr/sbin/rom|${PREFIX}/sbin/rom|g' \ + ${WRKSRC}/rom.h ${WRKSRC}/rom.1 + +.include <bsd.port.mk> diff --git a/mail/reply-o-matic/distinfo b/mail/reply-o-matic/distinfo new file mode 100644 index 000000000000..3801a82942a0 --- /dev/null +++ b/mail/reply-o-matic/distinfo @@ -0,0 +1,2 @@ +MD5 (reply-o-matic-1.2.0.tar.gz) = 770eee68bed7da27fed35afc95f1e205 +SIZE (reply-o-matic-1.2.0.tar.gz) = 26483 diff --git a/mail/reply-o-matic/files/patch-Makefile b/mail/reply-o-matic/files/patch-Makefile new file mode 100644 index 000000000000..7ec4f0d16e25 --- /dev/null +++ b/mail/reply-o-matic/files/patch-Makefile @@ -0,0 +1,25 @@ +--- Makefile.orig Tue Nov 25 18:41:39 2003 ++++ Makefile Thu May 13 19:34:50 2004 +@@ -1,7 +1,5 @@ +-INSTALL_PREFIX= +-MAN1=/usr/share/man/man1/ +- +-CFLAGS=-g -O2 ++INSTALL_PREFIX=${PREFIX} ++MAN1=/man/man1/ + + all: main.o base64.o + $(CC) $(CFLAGS) -o rom main.o base64.o +@@ -9,10 +7,10 @@ + clean: + @rm -f rom *.o core + install: +- install -d -m 755 $(INSTALL_PREFIX)/usr/sbin ++ install -d -m 755 $(INSTALL_PREFIX)/sbin + install -d -m 755 $(INSTALL_PREFIX)/etc/rom + install -d -m 1755 $(INSTALL_PREFIX)/etc/rom/.rates +- install -m 755 rom $(INSTALL_PREFIX)/usr/sbin/ ++ install -m 755 rom $(INSTALL_PREFIX)/sbin + install -d -m 755 $(INSTALL_PREFIX)$(MAN1) + install -m 755 rom.1 $(INSTALL_PREFIX)$(MAN1) + diff --git a/mail/reply-o-matic/files/patch-main.c b/mail/reply-o-matic/files/patch-main.c new file mode 100644 index 000000000000..4234cdca84d1 --- /dev/null +++ b/mail/reply-o-matic/files/patch-main.c @@ -0,0 +1,20 @@ +--- main.c.orig Thu May 13 18:44:13 2004 ++++ main.c Thu May 13 18:44:46 2004 +@@ -929,7 +929,7 @@ + case -1: + diedie(2); + break; +- default: ++/* default: */ + } + if ( forwardto[0] != 0 ) { + pipe(dfd); +@@ -966,7 +966,7 @@ + case -1: + diedie(2); + break; +- default: ++/* default: */ + } + } + diff --git a/mail/reply-o-matic/pkg-descr b/mail/reply-o-matic/pkg-descr new file mode 100644 index 000000000000..842da11cc433 --- /dev/null +++ b/mail/reply-o-matic/pkg-descr @@ -0,0 +1,5 @@ +Reply-o-Matic is a highly configureble, secure, auto reply software, to be +used in conjunction with any Mail Delivery/Transfer Agent or local delivery +agent. It provides an easy, uniformed way, to provide autoreplies to e-mails. + +WWW: http://reply-o-matic.sourceforge.net/ diff --git a/mail/reply-o-matic/pkg-plist b/mail/reply-o-matic/pkg-plist new file mode 100644 index 000000000000..22ed8fa92c08 --- /dev/null +++ b/mail/reply-o-matic/pkg-plist @@ -0,0 +1,3 @@ +sbin/rom +@dirrm etc/rom/.rates +@dirrm etc/rom |