From owner-svn-ports-head@FreeBSD.ORG Wed Jul 2 13:43:42 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17EB3390; Wed, 2 Jul 2014 13:43:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0558B26C6; Wed, 2 Jul 2014 13:43:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s62DhfAp074928; Wed, 2 Jul 2014 13:43:41 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s62DhfDH074927; Wed, 2 Jul 2014 13:43:41 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201407021343.s62DhfDH074927@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 2 Jul 2014 13:43:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360188 - head/print/yatex X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 13:43:42 -0000 Author: bapt Date: Wed Jul 2 13:43:41 2014 New Revision: 360188 URL: http://svnweb.freebsd.org/changeset/ports/360188 QAT: https://qat.redports.org/buildarchive/r360188/ Log: Support stage Modified: head/print/yatex/Makefile Modified: head/print/yatex/Makefile ============================================================================== --- head/print/yatex/Makefile Wed Jul 2 13:40:36 2014 (r360187) +++ head/print/yatex/Makefile Wed Jul 2 13:43:41 2014 (r360188) @@ -19,6 +19,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message yatex-startup.el SUB_LIST= EMACS_SITE_LISPDIR="${EMACS_SITE_LISPDIR}" +OPTIONS_DEFINE= DOCS + PORTDOCS= 00readme readme.meadow.j yatex.new yatexj.tex yatex.ref \ yahtmlj.tex htmlqa yatexadd.doc yatexgen.doc qanda \ yatexe.tex htmlqa.eng yahtmle.tex yatexref.eng qanda.eng @@ -32,31 +34,23 @@ ELFILES= comment.el yatex.el yatexadd.el OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include - post-extract: @${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC} do-install: - @${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}/yatex + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex cd ${WRKSRC} && \ - ${INSTALL_DATA} ${ELFILES} ${PREFIX}/${EMACS_SITE_LISPDIR}/yatex + ${INSTALL_DATA} ${ELFILES} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex ${INSTALL_DATA} \ ${WRKDIR}/yatex-startup.el \ ${WRKSRC}/help/YATEXHLP.jp \ ${WRKSRC}/help/YATEXHLP.eng \ - ${PREFIX}/${EMACS_SITE_LISPDIR} + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} for F in ${INFO}; do \ ${INSTALL_DATA} ${WRKSRC}/docs/$$F \ - ${PREFIX}/${INFO_PATH}/$${F}.info; \ + ${STAGEDIR}${PREFIX}/${INFO_PATH}/$${F}.info; \ done -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif - -post-install: - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include