2009-03-25 09:52:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2009/03/25 13:52:31 jasper Exp $
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= Python interface to sendmail milter API
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2008-10-18 08:37:42 -04:00
|
|
|
DISTNAME= pymilter-0.8.10
|
2009-03-25 09:52:31 -04:00
|
|
|
PKGNAME= py-${DISTNAME}p0
|
2004-11-25 10:19:20 -05:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.bmsi.com/python/milter.html
|
|
|
|
|
2008-10-18 08:37:42 -04:00
|
|
|
# GPLv2
|
2004-11-25 10:19:20 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2005-11-01 11:29:24 -05:00
|
|
|
WANTLIB= milter
|
|
|
|
|
2008-10-18 08:37:42 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymilter/}
|
2004-11-25 10:19:20 -05:00
|
|
|
|
|
|
|
MODULES= lang/python
|
2006-10-22 09:49:28 -04:00
|
|
|
MODPY_VERSION= 2.4
|
2004-11-25 10:19:20 -05:00
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-milter
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-milter
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
2008-10-18 08:37:42 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/{bms,sample,rejects}.py \
|
2004-11-25 10:19:20 -05:00
|
|
|
${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/milter.cfg ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rhsbl.m4 ${EXAMPLESDIR}
|
|
|
|
|
2008-10-18 08:37:42 -04:00
|
|
|
# needs the DNS python 2.4 module which we don't provide
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
#do-regress: fake
|
|
|
|
# @cd ${WRKSRC} && ${MAKE_ENV} \
|
|
|
|
# PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test.py
|
2004-11-25 10:19:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|