diff options
author | markd <markd> | 2002-09-23 13:03:31 +0000 |
---|---|---|
committer | markd <markd> | 2002-09-23 13:03:31 +0000 |
commit | e47f7b679bf61de90d6f7238418bd1ec52eb340c (patch) | |
tree | de97828e2889e7ba37cb620b48a3e4ea17826260 /mail/libmilter | |
parent | e24a56164d06f9e6eba09e7a34b85964fbfbb2f3 (diff) | |
download | pkgsrc-e47f7b679bf61de90d6f7238418bd1ec52eb340c.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/libmilter')
-rw-r--r-- | mail/libmilter/DESCR | 5 | ||||
-rw-r--r-- | mail/libmilter/Makefile | 23 | ||||
-rw-r--r-- | mail/libmilter/PLIST | 5 | ||||
-rw-r--r-- | mail/libmilter/buildlink2.mk | 23 |
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 |