freebsd-ports/mail/py-apolicy/Makefile
Martin Wilke 1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00

38 lines
902 B
Makefile

# New ports collection makefile for: py-apolicy
# Date created: 24 November 2008
# Whom: Chifeng QU <chifeng@gmail.com>
#
# $FreeBSD$
#
PORTNAME= apolicy
PORTVERSION= 0.73
CATEGORIES= mail python
MASTER_SITES= http://download.gna.org/apolicy/%SUBDIR%/ \
http://www.chifeng.name/dist/apolicy/%SUBDIR%/ \
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER?= chifeng@gmail.com
COMMENT= An ACL system for Postfix, as a policy daemon
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/spf.py:${PORTSDIR}/mail/py-spf \
${PYTHON_SITELIBDIR}/IPy.py:${PORTSDIR}/net-mgmt/py-ipy
USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
USE_TWISTED= yes
NO_BUILD= yes
USE_RC_SUBR= apolicyd
SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
PYTHON_CMD=${PYTHON_CMD}
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/setup.py
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>