svn commit: r358810 - head/sysutils/py-stdiff

William Grzybowski wg at freebsd.org
Sun Jun 22 14:51:13 UTC 2014


On Sun, Jun 22, 2014 at 11:43 AM, Marcelo Araujo <araujo at freebsd.org> wrote:
> Author: araujo
> Date: Sun Jun 22 14:43:50 2014
> New Revision: 358810
> URL: http://svnweb.freebsd.org/changeset/ports/358810
> QAT: https://qat.redports.org/buildarchive/r358810/
>
> Log:
>   - Stageify.
>
> Modified:
>   head/sysutils/py-stdiff/Makefile
>
> Modified: head/sysutils/py-stdiff/Makefile
> ==============================================================================
> --- head/sysutils/py-stdiff/Makefile    Sun Jun 22 14:42:27 2014        (r358809)
> +++ head/sysutils/py-stdiff/Makefile    Sun Jun 22 14:43:50 2014        (r358810)
> @@ -15,15 +15,14 @@ USE_PYDISTUTILS=    yes
>  PORTDOCS=      *
>  .endif
>
> -NO_STAGE=      yes
>  post-install:
>  .if !defined(NOPORTDOCS)
> -       ${MKDIR} ${DOCSDIR}
> -       $(INSTALL_MAN) ${WRKSRC}/INSTALL.txt ${DOCSDIR}/
> -       $(INSTALL_MAN) ${WRKSRC}/LICENSE.txt ${DOCSDIR}/
> -       (cd ${WRKSRC}/ && ${COPYTREE_SHARE} docs ${DOCSDIR}/)
> +       ${MKDIR} ${STAGEDIR}${DOCSDIR}
> +       $(INSTALL_MAN) ${WRKSRC}/INSTALL.txt ${STAGEDIR}/${DOCSDIR}/
> +       $(INSTALL_MAN) ${WRKSRC}/LICENSE.txt ${STAGEDIR}/${DOCSDIR}/
> +       (cd ${WRKSRC}/ && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/)
>  .endif
>         @if [ ! -f ${PREFIX}/etc/stdiff.conf ]; then \
> -               ${CP} -p ${PREFIX}/etc/stdiff.conf.sample \
> +               ${CP} -p ${STAGEDIR}${PREFIX}/etc/stdiff.conf.sample \
>                 ${PREFIX}/etc/stdiff.conf; fi
>  .include <bsd.port.mk>

Hi,

NOPORTDOCS can be dropped, its deprecated plus stage handles docs automatically.
The copy of .sample configure file is done only in pkg-plist, also
there is a @sample helper now.


Cheers


More information about the svn-ports-head mailing list