aboutsummaryrefslogtreecommitdiffstats
path: root/mail/py-milter/Makefile
blob: 9039be542f2a0d6f8a555d9e627419adf94fce1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Vsevolod Lobko <seva@sevasoft.kiev.ua>
# $FreeBSD$

PORTNAME=   milter
PORTVERSION=    0.9.7
CATEGORIES= mail python
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= ${PYPORTNAME}/${PYPORTNAME}/${DISTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PYPORTNAME}-${PORTVERSION}

MAINTAINER= pclin@FreeBSD.org
COMMENT=    Python interface to Sendmail milter API

LICENSE=    GPLv2

.if !exists(/usr/lib/libmilter.so)
LIB_DEPENDS=    milter:${PORTSDIR}/mail/sendmail
.endif

PYPORTNAME= ${PKGNAMEPREFIX:C/[0-9]+-//}${PORTNAME}

DIST_SUBDIR=    python
USE_PYTHON= 2.6-2.9
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    ${PYPORTNAME}

.include <bsd.port.mk>