aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlifanov <lifanov@FreeBSD.org>2017-09-20 04:52:14 +0800
committerlifanov <lifanov@FreeBSD.org>2017-09-20 04:52:14 +0800
commit159db7c107e9a24e05e483d22ef6e5cc056b4a33 (patch)
treed8dfaa15cb090832207cc6b1efadc9381d087ab0
parentb3a7b51df7c0903f24aa66854e665d682e9cc6d2 (diff)
downloadfreebsd-ports-gnome-159db7c107e9a24e05e483d22ef6e5cc056b4a33.tar.gz
freebsd-ports-gnome-159db7c107e9a24e05e483d22ef6e5cc056b4a33.tar.zst
freebsd-ports-gnome-159db7c107e9a24e05e483d22ef6e5cc056b4a33.zip
update sysutils/ansible to 2.4.0.0
This is a major feature release. Changes: https://github.com/ansible/ansible/blob/v2.4.0.0-1/CHANGELOG.md
-rw-r--r--sysutils/ansible/Makefile18
-rw-r--r--sysutils/ansible/distinfo6
2 files changed, 11 insertions, 13 deletions
diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile
index 3bbcef020c92..2ddd04c68f2d 100644
--- a/sysutils/ansible/Makefile
+++ b/sysutils/ansible/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ansible
-PORTVERSION?= 2.3.2.0
+PORTVERSION?= 2.4.0.0
PORTREVISION?= 0
CATEGORIES= sysutils python
MASTER_SITES= http://releases.ansible.com/ansible/
@@ -30,9 +30,11 @@ CPE_VENDOR= ansibleworks
SUB_FILES= pkg-message
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
-PLIST_FILES?= man/man1/ansible-console.1.gz \
+PLIST_FILES?= man/man1/ansible-config.1.gz \
+ man/man1/ansible-console.1.gz \
man/man1/ansible-doc.1.gz \
man/man1/ansible-galaxy.1.gz \
+ man/man1/ansible-inventory.1.gz \
man/man1/ansible-playbook.1.gz \
man/man1/ansible-pull.1.gz \
man/man1/ansible-vault.1.gz \
@@ -43,14 +45,10 @@ PORTEXAMPLES= ansible.cfg hosts
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
-.for f in bin/ansible docs/man/man1/* examples/* lib/ansible/*.py \
- lib/ansible/*/*.py lib/ansible/*/*/*.py lib/ansible/*/*/*/*.py
- @${REINPLACE_CMD} -e 's|/etc/ansible|${ETCDIR}|' ${WRKSRC}/${f}
-.endfor
-
-.for f in docs/man/man1/* examples/* lib/ansible/*.py lib/ansible/*/*.py
- @${REINPLACE_CMD} -e 's|/usr/share/ansible|${DATADIR}|' ${WRKSRC}/${f}
-.endfor
+ ${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \
+ -e 's|/usr/bin/python|${PYTHON_CMD}|'
+ -e 's|/etc/ansible|${ETCDIR}|' \
+ -e 's|/usr/share/ansible|${DATADIR}|'
post-install:
@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
diff --git a/sysutils/ansible/distinfo b/sysutils/ansible/distinfo
index d9d7f88f8704..4a55adbd9665 100644
--- a/sysutils/ansible/distinfo
+++ b/sysutils/ansible/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1502726252
-SHA256 (ansible-2.3.2.0.tar.gz) = 0563b425279422487f12616ef719f6e558373b258dcf47e548d119be8d3168eb
-SIZE (ansible-2.3.2.0.tar.gz) = 4319664
+TIMESTAMP = 1505849561
+SHA256 (ansible-2.4.0.0.tar.gz) = 1a276fee7f72d4e6601a7994879e8467edb763dacc3e215258cfe71350b77c76
+SIZE (ansible-2.4.0.0.tar.gz) = 6623856