openbsd-ports/mail/py-milter/Makefile
fgsch 20af77c7a4 Update py-milter to 0.9.3
martynas@ ok.
2010-10-28 08:15:02 +00:00

38 lines
943 B
Makefile

# $OpenBSD: Makefile,v 1.14 2010/10/28 08:15:02 fgsch Exp $
COMMENT = Python interface to sendmail milter API
MODPY_EGG_VERSION = 0.9.3
DISTNAME = pymilter-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
CATEGORIES = mail
HOMEPAGE = http://www.bmsi.com/python/milter.html
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = milter
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pymilter/}
MODULES = lang/python
REGRESS_DEPENDS = ${RUN_DEPENDS} \
::net/py-dns
post-install:
${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
.include <bsd.port.mk>