aboutsummaryrefslogtreecommitdiffstats
path: root/mail/py-milter/Makefile
blob: 94907ae0b1fe21bb9b7d4ea23517978122170c08 (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
PORTREVISION=   1
CATEGORIES= mail python
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= ${PYPORTNAME}/${PYPORTNAME}/${DISTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PYPORTNAME}-${PORTVERSION}

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

LICENSE=    GPLv2

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

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

DIST_SUBDIR=    python
USES=       python:2
USE_PYTHON= distutils autoplist

.include <bsd.port.mk>