svn commit: r361103 - head/sysutils/ansible

Kubilay Kocak koobs at FreeBSD.org
Mon Jul 7 16:14:47 UTC 2014


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


More information about the svn-ports-all mailing list