pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/libmilter812 Rename of current libmilter package ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ccc4a018a9c
branches:  trunk
changeset: 480123:7ccc4a018a9c
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Mon Aug 30 20:53:20 2004 +0000

description:
Rename of current libmilter package to libmilter812 to make way for
new libmilter/sendmail 8.13.x tree in pkgsrc.

diffstat:

 mail/libmilter812/DESCR         |   5 +++++
 mail/libmilter812/Makefile      |  23 +++++++++++++++++++++++
 mail/libmilter812/PLIST         |   5 +++++
 mail/libmilter812/buildlink3.mk |  23 +++++++++++++++++++++++
 mail/libmilter812/builtin.mk    |  27 +++++++++++++++++++++++++++
 5 files changed, 83 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r 08af1f35fcd5 -r 7ccc4a018a9c mail/libmilter812/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libmilter812/DESCR   Mon Aug 30 20:53:20 2004 +0000
@@ -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 -r 08af1f35fcd5 -r 7ccc4a018a9c mail/libmilter812/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libmilter812/Makefile        Mon Aug 30 20:53:20 2004 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/30 20:53:20 adrianp Exp $
+
+.include "../../mail/sendmail812/Makefile.common"
+
+PKGNAME=       libmilter-${DIST_VERS}
+COMMENT=       Mail filter support library for sendmail
+
+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)
+
+PTHREAD_OPTS+= require
+
+.include "../../mk/pthread.buildlink3.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 -r 08af1f35fcd5 -r 7ccc4a018a9c mail/libmilter812/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libmilter812/PLIST   Mon Aug 30 20:53:20 2004 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/30 20:53:20 adrianp Exp $
+include/libmilter/mfapi.h
+include/libmilter/mfdef.h
+lib/libmilter.a
+@dirrm include/libmilter
diff -r 08af1f35fcd5 -r 7ccc4a018a9c mail/libmilter812/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libmilter812/buildlink3.mk   Mon Aug 30 20:53:20 2004 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/08/30 20:53:20 adrianp Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBMILTER_BUILDLINK3_MK:=      ${LIBMILTER_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libmilter
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibmilter}
+BUILDLINK_PACKAGES+=   libmilter
+
+.if !empty(LIBMILTER_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmilter+=  libmilter>=8.12.9nb1
+BUILDLINK_PKGSRCDIR.libmilter?=        ../../mail/libmilter812
+BUILDLINK_DEPMETHOD.libmilter?=        build
+
+PTHREAD_OPTS+=         require
+.endif # LIBMILTER_BUILDLINK3_MK
+
+.include "../../mk/pthread.buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 08af1f35fcd5 -r 7ccc4a018a9c mail/libmilter812/builtin.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libmilter812/builtin.mk      Mon Aug 30 20:53:20 2004 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2004/08/30 20:53:20 adrianp Exp $
+
+.if !defined(IS_BUILTIN.libmilter)
+IS_BUILTIN.libmilter=  no
+.  if exists(/usr/include/libmilter) && exists (/usr/lib/libmilter.a)
+IS_BUILTIN.libmilter=  yes
+.  endif
+.endif # IS_BUILTIN.libmilter
+
+.if !defined(USE_BUILTIN.libmilter)
+USE_BUILTIN.libmilter?=        ${IS_BUILTIN.libmilter}
+
+.  if defined(BUILTIN_PKG.libmilter)
+USE_BUILTIN.libmilter= yes
+.    for _depend_ in ${BUILDLINK_DEPENDS.libmilter}
+.      if !empty(USE_BUILTIN.libmilter:M[yY][eE][sS])
+USE_BUILTIN.libmilter!=        \
+       if ${PKG_ADMIN} pmatch '${_depend_}' ${BUILTIN_PKG.libmilter}; then \
+               ${ECHO} "yes";                                          \
+       else                                                            \
+               ${ECHO} "no";                                           \
+       fi
+.      endif
+.    endfor
+.  endif
+.endif # USE_BUILTIN.libmilter
+



Home | Main Index | Thread Index | Old Index