2010-10-18 15:59:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2010/10/18 19:59:15 espie Exp $
|
2006-07-31 11:40:22 -04:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= DKIM milter
|
2006-07-31 11:40:22 -04:00
|
|
|
|
2009-06-01 08:15:57 -04:00
|
|
|
DISTNAME= dkim-milter-2.8.3
|
2010-04-15 10:58:24 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2006-07-31 11:40:22 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/dkim-milter/
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dkim-milter/}
|
|
|
|
|
2006-11-22 08:47:07 -05:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
|
2006-07-31 11:40:22 -04:00
|
|
|
# sendmail open source license
|
|
|
|
PERMIT_PACKAGE_CDROM= Patent
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Patent
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-01-23 01:43:07 -05:00
|
|
|
WANTLIB= c crypto milter pthread ssl
|
2006-07-31 11:40:22 -04:00
|
|
|
|
|
|
|
EXAMPLESDIR= share/examples/dkim-milter
|
2010-10-18 15:59:15 -04:00
|
|
|
USE_GROFF = Yes
|
2006-07-31 11:40:22 -04:00
|
|
|
|
2008-01-24 10:27:55 -05:00
|
|
|
post-configure:
|
|
|
|
@(echo "define(\`confCC', \`${CC}')"; \
|
|
|
|
echo "define(\`confOPTIMIZE', \`${CFLAGS}')") \
|
|
|
|
>${WRKSRC}/devtools/Site/site.config.m4
|
|
|
|
|
2006-07-31 11:40:22 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/obj.*/dkim-filter/dkim-filter ${PREFIX}/libexec
|
2007-12-17 05:59:37 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/obj.*/dkim-filter/dkim-testkey ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/obj.*/dkim-filter/dkim-testssp ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dkim-filter/dkim-genkey.sh ${PREFIX}/bin/dkim-genkey
|
2009-03-06 07:26:33 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-filter.conf.5 ${PREFIX}/man/man5
|
2006-07-31 11:40:22 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-filter.8 ${PREFIX}/man/man8
|
2007-12-17 05:59:37 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-testkey.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-testssp.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-genkey.8 ${PREFIX}/man/man8
|
2006-07-31 11:40:22 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dkim-filter/dkim-filter.conf.sample ${PREFIX}/${EXAMPLESDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|