1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/mail/py-apolicy/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

37 lines
837 B
Makefile

# Created by: Chifeng QU <chifeng@gmail.com>
# $FreeBSD$
PORTNAME= apolicy
PORTVERSION= 0.73
PORTREVISION= 1
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
USES= twisted
USE_PYTHON= yes
USE_PYDISTUTILS=yes
NO_BUILD= yes
USE_RC_SUBR= apolicyd
SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
PYTHON_CMD=${PYTHON_CMD}
SUB_FILES= pkg-message
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/setup.py
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>