Lines 2-40
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= ansible |
4 |
PORTNAME= ansible |
5 |
PORTVERSION= 1.7.2 |
5 |
PORTVERSION= 1.8.2 |
6 |
CATEGORIES= sysutils python |
6 |
CATEGORIES= sysutils python |
7 |
MASTER_SITES= SF/lifanov-ports-distfiles/sysutils/${PORTNAME}/:icons |
|
|
8 |
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ |
9 |
${PORTNAME}.png:icons |
10 |
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} |
11 |
|
7 |
|
12 |
MAINTAINER= lifanov@mail.lifanov.com |
8 |
MAINTAINER= lifanov@mail.lifanov.com |
13 |
COMMENT= Simple ssh-based configuration management and orchestration system |
9 |
COMMENT= Radically simple IT automation |
14 |
|
10 |
|
15 |
LICENSE= GPLv3 |
11 |
LICENSE= GPLv3 |
16 |
|
12 |
|
17 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \ |
13 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \ |
|
|
14 |
${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto \ |
18 |
${PYTHON_PKGNAMEPREFIX}paramiko>0:${PORTSDIR}/security/py-paramiko \ |
15 |
${PYTHON_PKGNAMEPREFIX}paramiko>0:${PORTSDIR}/security/py-paramiko \ |
19 |
${PYTHON_PKGNAMEPREFIX}Jinja2>0:${PORTSDIR}/devel/py-Jinja2 |
16 |
${PYTHON_PKGNAMEPREFIX}Jinja2>0:${PORTSDIR}/devel/py-Jinja2 |
20 |
|
17 |
|
21 |
OPTIONS_DEFINE= ACCELERATE EXAMPLES |
18 |
OPTIONS_DEFINE= EXAMPLES |
22 |
OPTIONS_DEFAULT= ACCELERATE |
|
|
23 |
|
19 |
|
24 |
ACCELERATE_DESC= Enable Accelerated Mode (Uses pycrypto and keyczar) |
|
|
25 |
ACCELERATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto \ |
26 |
${PYTHON_PKGNAMEPREFIX}keyczar>0:${PORTSDIR}/security/py-keyczar |
27 |
|
28 |
USE_GITHUB= yes |
20 |
USE_GITHUB= yes |
29 |
GH_ACCOUNT= ${PORTNAME} |
21 |
GH_ACCOUNT= ${PORTNAME} |
30 |
GH_PROJECT= ${PORTNAME} |
22 |
GH_PROJECT= ${PORTNAME} |
31 |
GH_TAGNAME= ${GH_COMMIT} |
23 |
GH_TAGNAME= ${GH_COMMIT} |
32 |
GH_COMMIT= d3c28fe |
24 |
GH_COMMIT= 6f568bd |
33 |
|
25 |
|
34 |
USES= cpe python:2 shebangfix |
26 |
USES= cpe python:2 shebangfix |
35 |
USE_PYTHON= autoplist distutils |
27 |
USE_PYTHON= autoplist distutils |
36 |
SHEBANG_FILES= library/*/* \ |
28 |
SHEBANG_FILES= lib/ansible/runner/action_plugins/synchronize.py |
37 |
lib/ansible/runner/action_plugins/synchronize.py |
|
|
38 |
CPE_VENDOR= ansibleworks |
29 |
CPE_VENDOR= ansibleworks |
39 |
|
30 |
|
40 |
SUB_FILES= pkg-message |
31 |
SUB_FILES= pkg-message |
Lines 44-67
Link Here
|
44 |
man/man1/ansible-playbook.1.gz \ |
35 |
man/man1/ansible-playbook.1.gz \ |
45 |
man/man1/ansible-pull.1.gz \ |
36 |
man/man1/ansible-pull.1.gz \ |
46 |
man/man1/ansible-vault.1.gz \ |
37 |
man/man1/ansible-vault.1.gz \ |
47 |
man/man1/ansible.1.gz \ |
38 |
man/man1/ansible.1.gz |
48 |
${DESKTOPDIR:S,^${PREFIX}/,,}/${PORTNAME}.desktop \ |
|
|
49 |
share/pixmaps/${PORTNAME}.png |
50 |
|
39 |
|
51 |
PORTEXAMPLES= ansible.cfg hosts |
40 |
PORTEXAMPLES= ansible.cfg hosts |
52 |
|
41 |
|
53 |
post-patch: |
42 |
post-patch: |
54 |
.for f in bin/ansible-galaxy docs/man/man1/ansible-playbook.1 \ |
43 |
.for f in bin/ansible-galaxy docs/man/man1/ansible-galaxy.1 \ |
55 |
docs/man/man1/ansible.1 examples/ansible.cfg \ |
44 |
docs/man/man1/ansible-playbook.1 docs/man/man1/ansible.1 \ |
56 |
examples/hosts lib/ansible/constants.py \ |
45 |
examples/ansible.cfg examples/hosts lib/ansible/constants.py \ |
57 |
lib/ansible/playbook/__init__.py lib/ansible/runner/__init__.py \ |
46 |
lib/ansible/module_utils/urls.py lib/ansible/playbook/__init__.py \ |
58 |
library/system/setup |
47 |
lib/ansible/runner/__init__.py plugins/README.md \ |
|
|
48 |
plugins/inventory/cobbler.py plugins/inventory/collins.py \ |
49 |
plugins/inventory/nova.py plugins/inventory/spacewalk.py \ |
50 |
v2/ansible/constants.py v2/ansible/playbook/role/definition.py |
59 |
@${REINPLACE_CMD} -e 's|/etc/ansible|${ETCDIR}|' ${WRKSRC}/${f} |
51 |
@${REINPLACE_CMD} -e 's|/etc/ansible|${ETCDIR}|' ${WRKSRC}/${f} |
60 |
.endfor |
52 |
.endfor |
61 |
|
53 |
|
62 |
.for f in docs/man/man1/ansible-playbook.1 docs/man/man1/ansible.1 \ |
54 |
.for f in docs/man/man1/ansible-playbook.1 docs/man/man1/ansible.1 \ |
63 |
examples/ansible.cfg lib/ansible/constants.py \ |
55 |
examples/ansible.cfg lib/ansible/constants.py \ |
64 |
lib/ansible/playbook/__init__.py lib/ansible/runner/__init__.py |
56 |
lib/ansible/playbook/__init__.py lib/ansible/runner/__init__.py \ |
|
|
57 |
v2/ansible/constants.py |
65 |
@${REINPLACE_CMD} -e 's|/usr/share/ansible|${DATADIR}|' ${WRKSRC}/${f} |
58 |
@${REINPLACE_CMD} -e 's|/usr/share/ansible|${DATADIR}|' ${WRKSRC}/${f} |
66 |
.endfor |
59 |
.endfor |
67 |
|
60 |
|
Lines 72-80
Link Here
|
72 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
65 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
73 |
${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR} |
66 |
${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR} |
74 |
${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR} |
67 |
${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR} |
75 |
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ |
|
|
76 |
${STAGEDIR}${PREFIX}/share/pixmaps/ |
77 |
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \ |
78 |
${STAGEDIR}${DESKTOPDIR} |
79 |
|
68 |
|
80 |
.include <bsd.port.mk> |
69 |
.include <bsd.port.mk> |