Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 16:14:46 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361103 - head/sysutils/ansible
Message-ID:  <201407071614.s67GEkcg067517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Jul  7 16:14:46 2014
New Revision: 361103
URL: http://svnweb.freebsd.org/changeset/ports/361103
QAT: https://qat.redports.org/buildarchive/r361103/

Log:
  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)

Modified:
  head/sysutils/ansible/Makefile

Modified: head/sysutils/ansible/Makefile
==============================================================================
--- head/sysutils/ansible/Makefile	Mon Jul  7 16:02:06 2014	(r361102)
+++ head/sysutils/ansible/Makefile	Mon Jul  7 16:14:46 2014	(r361103)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407071614.s67GEkcg067517>