Date: Thu, 30 Jan 2014 18:50:14 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341870 - head/deskutils/teapot Message-ID: <201401301850.s0UIoEqq079854@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Thu Jan 30 18:50:14 2014 New Revision: 341870 URL: http://svnweb.freebsd.org/changeset/ports/341870 QAT: https://qat.redports.org/buildarchive/r341870/ Log: Stage support Modified: head/deskutils/teapot/Makefile head/deskutils/teapot/pkg-plist Modified: head/deskutils/teapot/Makefile ============================================================================== --- head/deskutils/teapot/Makefile Thu Jan 30 18:12:19 2014 (r341869) +++ head/deskutils/teapot/Makefile Thu Jan 30 18:50:14 2014 (r341870) @@ -17,29 +17,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake -NO_MANCOMPRESS= no -MAN1= teapot.1 - # We download the prebuilt binary tarball for Linux in order to avoid # having to generate the pdf and html docs from the LyX sourcecode. WRKSRC_DOCS= ${WRKDIR}/${DISTNAME:C/^./T/}-Linux/share/doc/${PORTNAME} -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + post-patch: @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \ ${WRKSRC}/CMakeLists.txt -.include <bsd.port.options.mk> - post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} \* ${DOCSDIR}) -.endif - -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk> Modified: head/deskutils/teapot/pkg-plist ============================================================================== --- head/deskutils/teapot/pkg-plist Thu Jan 30 18:12:19 2014 (r341869) +++ head/deskutils/teapot/pkg-plist Thu Jan 30 18:50:14 2014 (r341870) @@ -1,4 +1,5 @@ bin/teapot +man/man1/teapot.1.gz %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/html/node1.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401301850.s0UIoEqq079854>