summaryrefslogtreecommitdiff
path: root/mail/mess822/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz>2004-07-26 23:26:27 +0000
committerschmonz <schmonz>2004-07-26 23:26:27 +0000
commit4ea8993bda84ac063b92580185983fd6686812ee (patch)
tree26b5f3c712ab42f95b71e751b8788808440c0004 /mail/mess822/Makefile
parent5cb7aa8f1918cf6dabc3105e925e09c02af1e1f8 (diff)
downloadpkgsrc-4ea8993bda84ac063b92580185983fd6686812ee.tar.gz
Initial import of mess822-0.58.
mess822 is a library for parsing Internet mail messages. The mess822 package contains several applications that work with qmail: * ofmipd rewrites messages from dumb clients. It supports a database of recognized senders and From lines, using cdb for fast lookups. * new-inject is an experimental new version of qmail-inject. It includes a flexible user-controlled hostname rewriting mechanism. * iftocc can be used in .qmail files. It checks whether a known address is listed in To or Cc. * 822header, 822field, 822date, and 822received extract various pieces of information from a mail message. * 822print converts a message into an easier-to-read format. mess822 supports the full complexity of RFC 822 address lists, including address groups, source routes, spaces around dots, etc. It also supports common RFC 822 extensions: backslashes in atoms, dots in phrases, addresses without host names, etc. It extracts each address as an easy-to-use string, with a separate string for the accompanying comment.
Diffstat (limited to 'mail/mess822/Makefile')
-rw-r--r--mail/mess822/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile
new file mode 100644
index 00000000000..0c1ca8638ea
--- /dev/null
+++ b/mail/mess822/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/26 23:26:27 schmonz Exp $
+#
+
+DISTNAME= mess822-0.58
+CATEGORIES= mail
+MASTER_SITES= http://cr.yp.to/software/
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= http://cr.yp.to/mess822.html
+COMMENT= Library for parsing Internet mail messages
+
+DEPENDS+= {qmail>=1.03nb7,netqmail>=1.05}:../../mail/qmail
+
+# We change conf-home from the default "/usr/local" and don't
+# provide compatibilbity symlinks. We also patch hier.c to respect
+# PKG_SYSCONFDIR and set reasonable modes on directories under
+# ${PREFIX}.
+RESTRICTED= "modified source and binaries may not be distributed"
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
+
+EGDIR= ${PREFIX}/share/examples/mess822
+CFLAGS+= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\"
+USE_PKGINSTALL= yes
+MAKE_DIRS+= ${PKG_SYSCONFDIR}
+SUPPORT_FILES+= ${EGDIR}/leapsecs.dat ${PKG_SYSCONFDIR}/leapsecs.dat
+
+ALL_TARGET= it install instcheck
+INSTALL_TARGET= setup check
+
+INSTALLATION_DIRS= bin include lib man man/cat1 man/cat3 man/cat5 man/cat8
+INSTALLATION_DIRS+= man/man1 man/man3 man/man5 man/man8 share/examples/mess822
+
+do-configure:
+ ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+ ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
+ ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
+ ${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
+
+.include "../../mk/bsd.pkg.mk"