pkgsrc/mail/libmilter812/Makefile
2005-08-01 14:54:33 +00:00

24 lines
685 B
Makefile

# $NetBSD: Makefile,v 1.2 2005/08/01 14:54:33 wiz Exp $
.include "options.mk"
.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} \ .`