Date: Wed, 27 Apr 2016 16:53:29 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414119 - head/Mk/Uses Message-ID: <201604271653.u3RGrTwb035549@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Wed Apr 27 16:53:29 2016 New Revision: 414119 URL: https://svnweb.freebsd.org/changeset/ports/414119 Log: Don't abuse an existing target and create our own. Sponsored by: Absolight Modified: head/Mk/Uses/gem.mk Modified: head/Mk/Uses/gem.mk ============================================================================== --- head/Mk/Uses/gem.mk Wed Apr 27 16:36:41 2016 (r414118) +++ head/Mk/Uses/gem.mk Wed Apr 27 16:53:29 2016 (r414119) @@ -123,8 +123,8 @@ do-install: .endif .if ${gem_ARGS} == "autoplist" -.if !target(post-install-script) -post-install-script: +_USES_install+= 820:gem-autoplist +gem-autoplist: @${ECHO} ${GEM_SPEC} >> ${TMPPLIST} .if !defined(NOPORTDOCS) @${FIND} -ds ${STAGEDIR}${PREFIX}/${DOC_DIR} -type f -print | ${SED} -E -e \ @@ -136,7 +136,6 @@ post-install-script: ${FIND} -ds ${STAGEDIR}${PREFIX}/${EXT_DIR} -type f -print | ${SED} -E -e \ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} ; \ fi -.endif .else IGNORE= Incorrect 'USES+=gem:${gem_ARGS}' expecting 'USES+=gem[:autoplist]' .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604271653.u3RGrTwb035549>