2004-03-07 12:40:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.5 2004/03/07 11:40:53 markd Exp $
|
2002-09-23 15:03:31 +02:00
|
|
|
|
|
|
|
.include "../../mail/sendmail/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)
|
|
|
|
|
2004-03-07 12:40:53 +01:00
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
|
2002-09-23 15:03:31 +02:00
|
|
|
.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} \ .`
|