1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/mail/py-milter/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

30 lines
648 B
Makefile

# 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
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= ${PYPORTNAME}
NO_STAGE= yes
.include <bsd.port.mk>