2011-09-16 06:31:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2011/09/16 10:31:22 espie Exp $
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2010-10-28 04:15:02 -04:00
|
|
|
COMMENT = Python interface to sendmail milter API
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2010-10-28 04:15:02 -04:00
|
|
|
MODPY_EGG_VERSION = 0.9.3
|
|
|
|
DISTNAME = pymilter-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = ${DISTNAME:S/py/py-/}
|
2011-09-16 06:31:20 -04:00
|
|
|
REVISION= 1
|
2010-10-28 04:15:02 -04:00
|
|
|
CATEGORIES = mail
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2010-10-28 04:15:02 -04:00
|
|
|
HOMEPAGE = http://www.bmsi.com/python/milter.html
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2008-10-18 08:37:42 -04:00
|
|
|
# GPLv2
|
2010-10-28 04:15:02 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2010-10-28 04:15:02 -04:00
|
|
|
WANTLIB = milter
|
2005-11-01 11:29:24 -05:00
|
|
|
|
2010-10-28 04:15:02 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pymilter/}
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2010-10-28 04:15:02 -04:00
|
|
|
MODULES = lang/python
|
2004-11-25 10:19:20 -05:00
|
|
|
|
2010-10-28 04:15:02 -04:00
|
|
|
REGRESS_DEPENDS = ${RUN_DEPENDS} \
|
2010-11-19 02:23:05 -05:00
|
|
|
net/py-dns
|
2004-11-25 10:19:20 -05:00
|
|
|
|
|
|
|
post-install:
|
2010-10-28 04:15:02 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-milter
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-milter
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-milter
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.py ${PREFIX}/share/examples/py-milter
|
|
|
|
|
|
|
|
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>
|