summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2002-09-23 13:03:31 +0000
committermarkd <markd@pkgsrc.org>2002-09-23 13:03:31 +0000
commitcc878eae0b9d5d6a699df232fe40ca76d65a9924 (patch)
treede97828e2889e7ba37cb620b48a3e4ea17826260 /mail
parent9eaafb28954c4d0e7941c119bbaa69dd738d1a96 (diff)
downloadpkgsrc-cc878eae0b9d5d6a699df232fe40ca76d65a9924.tar.gz
Initial import of libmilter-8.12.6
The sendmail Mail Filter API (Milter) is designed to allow third-party programs access to mail messages as they are being processed in order to filter meta-information and content. libmilter provides the implementation of this API.
Diffstat (limited to 'mail')
-rw-r--r--mail/libmilter/DESCR5
-rw-r--r--mail/libmilter/Makefile23
-rw-r--r--mail/libmilter/PLIST5
-rw-r--r--mail/libmilter/buildlink2.mk23
4 files changed, 56 insertions, 0 deletions
diff --git a/mail/libmilter/DESCR b/mail/libmilter/DESCR
new file mode 100644
index 00000000000..9b02bc1d1b2
--- /dev/null
+++ b/mail/libmilter/DESCR
@@ -0,0 +1,5 @@
+The sendmail Mail Filter API (Milter) is designed to allow third-party
+programs access to mail messages as they are being processed in order to
+filter meta-information and content.
+
+libmilter provides the implementation of this API.
diff --git a/mail/libmilter/Makefile b/mail/libmilter/Makefile
new file mode 100644
index 00000000000..c222f226fa5
--- /dev/null
+++ b/mail/libmilter/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/23 13:03:31 markd Exp $
+
+.include "../../mail/sendmail/Makefile.common"
+
+PKGNAME= libmilter-${DIST_VERS}
+COMMENT= Mail filter support library for sendmail
+
+USE_MILTER= YES
+
+post-patch: make-sendmail-siteconfig
+ ${ECHO} >>${DESCR_SRC}
+
+do-build:
+ @(cd ${WRKSRC}/libmilter; ${SETENV} ${MAKE_ENV} ./Build)
+
+do-install:
+ @(cd ${WRKSRC}/libmilter; ${SETENV} ${MAKE_ENV} ./Build INCLUDEDIR=${PREFIX}/include LIBDIR=${PREFIX}/lib install)
+
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
+
+# has to be below include for bsd.pkg.mk, else substition fails
+OBJDIR!= ${ECHO} obj.`uname -srm | ${TR} \ .`
diff --git a/mail/libmilter/PLIST b/mail/libmilter/PLIST
new file mode 100644
index 00000000000..6f47518e211
--- /dev/null
+++ b/mail/libmilter/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/23 13:03:31 markd Exp $
+include/libmilter/mfapi.h
+include/libmilter/mfdef.h
+lib/libmilter.a
+@dirrm include/libmilter
diff --git a/mail/libmilter/buildlink2.mk b/mail/libmilter/buildlink2.mk
new file mode 100644
index 00000000000..4d8ecae5722
--- /dev/null
+++ b/mail/libmilter/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/09/23 13:03:31 markd Exp $
+#
+# This Makefile fragment is included by packages that use libmilter.
+#
+
+.if !defined(LIBMILTER_BUILDLINK2_MK)
+LIBMILTER_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libmilter
+BUILDLINK_DEPENDS.libmilter?= libmilter>=8.12.6
+BUILDLINK_PKGSRCDIR.libmilter?= ../../mail/libmilter
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libmilter=libmilter
+BUILDLINK_PREFIX.libmilter_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libmilter+= include/libmilter/mfapi.h
+BUILDLINK_FILES.libmilter+= include/libmilter/mfdef.h
+BUILDLINK_FILES.libmilter+= lib/libmilter.*
+
+BUILDLINK_TARGETS+= libmilter-buildlink
+
+libmilter-buildlink: _BUILDLINK_USE
+
+.endif # LIBMILTER_BUILDLINK2_MK