2016-05-20 14:12:14 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2016/05/20 12:12:14 jperkin Exp $
|
2002-09-23 15:03:31 +02:00
|
|
|
|
|
|
|
PKGNAME= libmilter-${DIST_VERS}
|
2016-05-20 14:12:14 +02:00
|
|
|
PKGREVISION= 1
|
2002-09-23 15:03:31 +02:00
|
|
|
COMMENT= Mail filter support library for sendmail
|
|
|
|
|
2007-09-25 22:05:23 +02:00
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mail/sendmail/Makefile.common"
|
|
|
|
|
2007-04-26 08:42:39 +02:00
|
|
|
INSTALLATION_DIRS= include lib
|
2007-03-24 20:21:18 +01:00
|
|
|
|
2002-09-23 15:03:31 +02:00
|
|
|
post-patch: make-sendmail-siteconfig
|
|
|
|
|
|
|
|
do-build:
|
2007-04-26 08:47:06 +02:00
|
|
|
(cd ${WRKSRC}/libmilter && env ${MAKE_ENV} ./Build)
|
2002-09-23 15:03:31 +02:00
|
|
|
|
|
|
|
do-install:
|
2009-12-16 10:46:36 +01:00
|
|
|
(cd ${WRKSRC}/libmilter && env ${MAKE_ENV} ./Build BINOWN=${BINOWN} BINGRP=${BINGRP} SHAREOWN=${SHAREOWN} SHAREGRP=${SHAREGRP} INCLUDEDIR=${DESTDIR}${PREFIX}/include LIBDIR=${DESTDIR}${PREFIX}/lib install)
|
2002-09-23 15:03:31 +02:00
|
|
|
|
2004-03-07 12:40:53 +01:00
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
|
2004-05-09 23:14:42 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2002-09-23 15:03:31 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
|
2014-06-20 18:28:50 +02:00
|
|
|
# has to be below include for bsd.pkg.mk, else substitution fails
|
2004-08-30 22:48:47 +02:00
|
|
|
OBJDIR!= ${ECHO} obj.`${UNAME} -srm | ${TR} \ .`
|