From 2d48543fe382e23eb2fed97f10dbc0ac70a06125 Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 29 Jan 2005 16:41:18 +0000 Subject: Small C program which is used to alter your mime-encoded mailpacks - Insert disclaimers - Insert arbitary X-headers - Modify existing headers - Remove attachments based on filename or content-type - Replace attachments based on filename PR: ports/76661 Submitted by: Ion-Mihai "IOnut" Tetcu --- mail/Makefile | 1 + mail/altermime/Makefile | 37 +++++++++++++++++++++++++++++++++++++ mail/altermime/distinfo | 2 ++ mail/altermime/pkg-descr | 15 +++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 mail/altermime/Makefile create mode 100644 mail/altermime/distinfo create mode 100644 mail/altermime/pkg-descr diff --git a/mail/Makefile b/mail/Makefile index a0c22f3d0600..3c2f9c64ae12 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -8,6 +8,7 @@ SUBDIR += addresses SUBDIR += aileron SUBDIR += akpop3d + SUBDIR += altermime SUBDIR += althea SUBDIR += annoyance-filter SUBDIR += anomy-sanitizer diff --git a/mail/altermime/Makefile b/mail/altermime/Makefile new file mode 100644 index 000000000000..4c09727ff3d7 --- /dev/null +++ b/mail/altermime/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: altermime +# Date created: 2005-01-25 +# Whom: Ion-Mihai "IOnut" Tetcu +# +# $FreeBSD$ +# + +PORTNAME= altermime +PORTVERSION= 0.3.5 +CATEGORIES= mail textproc +MASTER_SITES= http://www.pldaniels.com/altermime/ + +MAINTAINER= itetcu@people.tecnik93.com +COMMENT= Small C program which is used to alter your mime-encoded mailpacks + +PLIST_FILES= bin/altermime + +USE_REINPLACE= yes + +PORTDOCS= CHANGELOG LICENCE README + +post-patch: + @${REINPLACE_CMD} -e "s/CFLAGS=-Wall -g/CFLAGS=-Wall ${CFLAGS}/" ${WRKSRC}/Makefile + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${LOCALBASE}/bin +.ifndef(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/mail/altermime/distinfo b/mail/altermime/distinfo new file mode 100644 index 000000000000..c9a2f3511b67 --- /dev/null +++ b/mail/altermime/distinfo @@ -0,0 +1,2 @@ +MD5 (altermime-0.3.5.tar.gz) = 7c178b25514e86d0e7e432ee94aa013f +SIZE (altermime-0.3.5.tar.gz) = 66253 diff --git a/mail/altermime/pkg-descr b/mail/altermime/pkg-descr new file mode 100644 index 000000000000..82281ff26aef --- /dev/null +++ b/mail/altermime/pkg-descr @@ -0,0 +1,15 @@ +What can alterMIME do? + +- Insert disclaimers +- Insert arbitary X-headers +- Modify existing headers +- Remove attachments based on filename or content-type +- Replace attachments based on filename + +For using with postfix see: +http://www.paw.co.za/docs/howtos/postfix-altermime/postfix-altermime-howto.html + +WWW: http://www.pldaniels.com/altermime/ + +-IOnut + -- cgit