aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ansible
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-07-08 00:14:46 +0800
committerkoobs <koobs@FreeBSD.org>2014-07-08 00:14:46 +0800
commit3907312601009cfeb0d798b44d300ddda16a9789 (patch)
tree6cd447d1bdd67dee6460a72324fec6bbc3a88403 /sysutils/ansible
parent3ef8eae0ef07346b145185a501fe7ca8c36f96d7 (diff)
downloadfreebsd-ports-gnome-3907312601009cfeb0d798b44d300ddda16a9789.tar.gz
freebsd-ports-gnome-3907312601009cfeb0d798b44d300ddda16a9789.tar.zst
freebsd-ports-gnome-3907312601009cfeb0d798b44d300ddda16a9789.zip
sysutils/ansible: Fix packaging for pkg_* users
Strip the absolute prefix from the ansible.desktop PLIST_FILES entry which was causing pkg_create to fail. Submitted by: wg Approved by: portmgr (blanket)
Diffstat (limited to 'sysutils/ansible')
-rw-r--r--sysutils/ansible/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile
index 521ca7362e0e..b3d4c5789d46 100644
--- a/sysutils/ansible/Makefile
+++ b/sysutils/ansible/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ansible
PORTVERSION= 1.6.6
+PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= SF/lifanov-ports-distfiles/sysutils/${PORTNAME}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
@@ -47,7 +48,7 @@ PLIST_FILES+= man/man1/ansible-doc.1.gz \
man/man1/ansible-pull.1.gz \
man/man1/ansible-vault.1.gz \
man/man1/ansible.1.gz \
- ${DESKTOPDIR}/${PORTNAME}.desktop \
+ ${DESKTOPDIR:S,^${PREFIX}/,,}/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png
PORTEXAMPLES= ansible.cfg hosts