2013-01-12 16:27:50 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= automx
|
2014-06-08 18:03:07 +00:00
|
|
|
PORTVERSION= 0.10.2
|
2015-05-07 16:32:43 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
2019-04-10 06:18:31 +00:00
|
|
|
PORTREVISION= 3
|
2013-01-12 16:27:50 +00:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
MAINTAINER= crees@FreeBSD.org
|
|
|
|
COMMENT= Handles mail account profile requests from mail clients
|
|
|
|
|
2016-01-12 16:20:31 +00:00
|
|
|
LICENSE= GPLv3+
|
2015-09-02 22:39:49 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2013-01-12 16:27:50 +00:00
|
|
|
|
2018-05-22 13:15:13 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}ipaddr>=0:devel/py-ipaddr@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}m2crypto>=0:security/py-m2crypto@${PY_FLAVOR} \
|
2016-04-01 14:16:16 +00:00
|
|
|
wget:ftp/wget \
|
|
|
|
dig:dns/bind-tools
|
2014-05-26 18:30:11 +00:00
|
|
|
|
|
|
|
GH_ACCOUNT= sys4
|
2013-01-12 16:27:50 +00:00
|
|
|
|
2014-10-21 17:10:06 +00:00
|
|
|
USES= python
|
2014-05-26 18:30:11 +00:00
|
|
|
USE_GITHUB= yes
|
2013-01-12 16:27:50 +00:00
|
|
|
NO_BUILD= yes
|
2015-09-02 22:39:49 +00:00
|
|
|
NO_ARCH= yes
|
2013-01-12 16:27:50 +00:00
|
|
|
PORTDATA= *
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2014-05-26 18:30:11 +00:00
|
|
|
SUB_FILES= pkg-message
|
2013-01-12 16:27:50 +00:00
|
|
|
|
2015-12-30 12:14:07 +00:00
|
|
|
OPTIONS_DEFINE= DOCS MEMCACHE
|
2014-05-29 21:26:49 +00:00
|
|
|
MEMCACHE_DESC= Add memcache support
|
2018-05-22 13:15:13 +00:00
|
|
|
MEMCACHE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=0:databases/py-python-memcached@${PY_FLAVOR}
|
2013-01-12 16:27:50 +00:00
|
|
|
|
|
|
|
do-install:
|
2013-12-21 21:18:36 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
(cd ${WRKSRC}/src && \
|
|
|
|
${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR})
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/automx_wsgi.py ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/automx-test ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/conf/automx.conf \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/automx.conf.sample
|
2013-01-13 16:42:48 +00:00
|
|
|
.for s in 1 5
|
2013-12-21 21:18:36 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man$s/* ${STAGEDIR}${PREFIX}/man/man$s/
|
2013-01-12 16:27:50 +00:00
|
|
|
.endfor
|
2015-12-30 12:14:07 +00:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2013-12-21 21:18:36 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "[^m]*" ${STAGEDIR}${DOCSDIR})
|
2015-09-02 22:39:49 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/BASIC_CONFIGURATION_README ${STAGEDIR}${DOCSDIR}
|
2014-05-26 18:30:11 +00:00
|
|
|
|
2013-01-12 16:27:50 +00:00
|
|
|
.include <bsd.port.mk>
|