Date: Wed, 10 Jan 2018 04:42:30 +0000 (UTC) From: Zach Leslie <zleslie@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458597 - head/sysutils/rubygem-facter Message-ID: <201801100442.w0A4gUCe096728@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zleslie Date: Wed Jan 10 04:42:29 2018 New Revision: 458597 URL: https://svnweb.freebsd.org/changeset/ports/458597 Log: Add staticly named symlink to port-versioned directory To be utilized by sysutils/puppetserver, here we add a symlink to point at the gem directory. This allows puppetserver to use facter as a library without knowing the version installed. Approved by: swills(mentor), robak Differential Revision: D13803 Modified: head/sysutils/rubygem-facter/Makefile Modified: head/sysutils/rubygem-facter/Makefile ============================================================================== --- head/sysutils/rubygem-facter/Makefile Wed Jan 10 04:02:21 2018 (r458596) +++ head/sysutils/rubygem-facter/Makefile Wed Jan 10 04:42:29 2018 (r458597) @@ -3,7 +3,7 @@ PORTNAME= facter PORTVERSION= 2.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils rubygems MASTER_SITES= RG \ http://downloads.puppetlabs.com/facter/ @@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_RUBY= yes USES= gem -PLIST_FILES= bin/facter +PLIST_FILES= bin/facter ${GEMS_DIR}/facter OPTIONS_DEFINE= EC2_FACTS ZFS_FACTS EC2_FACTS_DESC= Generate AWS EC2 related facts @@ -39,5 +39,8 @@ post-patch-EC2_FACTS-off: post-patch-ZFS_FACTS-off: @${REINPLACE_CMD} -e 's/\,\ \"lib\/facter\/zfs_version.rb\"//' ${WRKSRC}/${PORTNAME}.gemspec @${REINPLACE_CMD} -e 's/\,\ \"lib\/facter\/zpool_version.rb\"//' ${WRKSRC}/${PORTNAME}.gemspec + +post-install: + ${RLN} ${STAGEDIR}/${PREFIX}/${GEMS_DIR}/facter-${PORTVERSION} ${STAGEDIR}/${PREFIX}/${GEMS_DIR}/facter .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801100442.w0A4gUCe096728>