Date: Thu, 11 Jan 2018 12:39:22 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458725 - head/audio/festival-freebsoft-utils Message-ID: <201801111239.w0BCdM04008070@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Thu Jan 11 12:39:22 2018 New Revision: 458725 URL: https://svnweb.freebsd.org/changeset/ports/458725 Log: - Move some knobs to their standard locations within the Makefile - Use option helper target, deobfuscate installation commands, mute MKDIR's, wrap overly long lines, use INSTAL_DATA when appropriate instead of INSTALL_MAN Modified: head/audio/festival-freebsoft-utils/Makefile Modified: head/audio/festival-freebsoft-utils/Makefile ============================================================================== --- head/audio/festival-freebsoft-utils/Makefile Thu Jan 11 12:29:24 2018 (r458724) +++ head/audio/festival-freebsoft-utils/Makefile Thu Jan 11 12:39:22 2018 (r458725) @@ -9,25 +9,25 @@ MASTER_SITES= http://www.freebsoft.org/pub/projects/${ MAINTAINER= avilla@FreeBSD.org COMMENT= Festival utilities focused on interaction with Speech Dispatcher -OPTIONS_DEFINE= DOCS - RUN_DEPENDS= festival:audio/festival \ sox:audio/sox NO_BUILD= yes USES= iconv +INFO= ${PORTNAME} PORTDOCS= ANNOUNCE NEWS README -INFO= ${PORTNAME} +OPTIONS_DEFINE= DOCS do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/share/festival/lib - cd ${WRKSRC} && ${INSTALL_DATA} *.scm ${STAGEDIR}${PREFIX}/share/festival/lib - cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.info ${STAGEDIR}${PREFIX}/${INFO_PATH} - ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} -.endfor + @${MKDIR} ${STAGEDIR}${PREFIX}/share/festival/lib + ${INSTALL_DATA} ${WRKSRC}/*.scm ${STAGEDIR}${PREFIX}/share/festival/lib + ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.info \ + ${STAGEDIR}${PREFIX}/${INFO_PATH} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801111239.w0BCdM04008070>