fc7645d0ef
- Import patch to resolve crash during IPv6 connection handling. Submitter has coordinated fix with upstream; it can be removed next update. - Pass on MAINTAINER to from ports@ to submitter. - While here, move DIST_SUBDIR to appease portlint. PR: 214317 Submitted by: schmidt@ze.tum.de MFH: 2016Q4 (blanket)
32 lines
744 B
Makefile
32 lines
744 B
Makefile
# Created by: Vsevolod Lobko <seva@sevasoft.kiev.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= milter
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= mail python
|
|
MASTER_SITES= SF/${PYPORTNAME}/${PYPORTNAME}/${DISTNAME}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PYPORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= python
|
|
|
|
MAINTAINER= estartu@augusta.de
|
|
COMMENT= Python interface to Sendmail milter API
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
.if !exists(/usr/lib/libmilter.so)
|
|
LIB_DEPENDS= libmilter.so:mail/libmilter
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
.endif
|
|
|
|
PYPORTNAME= ${PKGNAMEPREFIX:C/[0-9]+-//}${PORTNAME}
|
|
|
|
USES= python:2
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/milter.so
|
|
|
|
.include <bsd.port.mk>
|