Date: Mon, 4 Aug 2014 14:15:29 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364009 - head/textproc/prosper Message-ID: <53df9581.5673.2b9ad07b@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Mon Aug 4 14:15:29 2014 New Revision: 364009 URL: http://svnweb.freebsd.org/changeset/ports/364009 QAT: https://qat.redports.org/buildarchive/r364009/ Log: - Add staging support - Convert to new options framework Modified: head/textproc/prosper/Makefile Modified: head/textproc/prosper/Makefile ============================================================================== --- head/textproc/prosper/Makefile Mon Aug 4 14:06:08 2014 (r364008) +++ head/textproc/prosper/Makefile Mon Aug 4 14:15:29 2014 (r364009) @@ -33,44 +33,31 @@ DOCS= AUTHORS ChangeLog FAQ INSTALL NEW doc/prosper-structure.eps doc/prosper-structure.fig \ doc/prosper-tour.pdf doc/prosper-tour.ps doc/prosper-tour.tex \ doc/rotation.ps doc/rotation.tex -EXAMPLES_DIR= doc/doc-examples -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + post-extract: @(cd ${WRKDIR}/contrib-prosper-1.0.0 && ${FIND} . | \ ${CPIO} --quiet -dump ${WRKSRC}/contrib) do-install: - @${MKDIR} ${PROSPERDIR}/contrib/img - @${MKDIR} ${PROSPERDIR}/designer - @${MKDIR} ${PROSPERDIR}/img - ${INSTALL_DATA} ${WRKSRC}/*.sty ${PROSPERDIR} - ${INSTALL_DATA} ${WRKSRC}/*.cls ${PROSPERDIR} - ${INSTALL_DATA} ${WRKSRC}/img/*.gif ${PROSPERDIR}/img - ${INSTALL_DATA} ${WRKSRC}/img/*.ps ${PROSPERDIR}/img - ${INSTALL_DATA} ${WRKSRC}/contrib/*.sty ${PROSPERDIR}/contrib - ${INSTALL_DATA} ${WRKSRC}/contrib/*.ps ${PROSPERDIR}/contrib - ${INSTALL_DATA} ${WRKSRC}/contrib/*.tex ${PROSPERDIR}/contrib - ${INSTALL_DATA} ${WRKSRC}/contrib/img/*.ps ${PROSPERDIR}/contrib/img - ${INSTALL_DATA} ${WRKSRC}/contrib/img/*.eps ${PROSPERDIR}/contrib/img - ${INSTALL_DATA} ${WRKSRC}/contrib/img/*.gif ${PROSPERDIR}/contrib/img - ${INSTALL_DATA} ${WRKSRC}/designer/prosper* ${PROSPERDIR}/designer -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for FILE in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -.endfor - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} -.for FILE in ${EXAMPLES_DIR}/Example* - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${EXAMPLESDIR} -.endfor - @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." -.endif - -post-install: - ${MKTEXLSR} + @${MKDIR} ${STAGEDIR}${PROSPERDIR}/contrib/img + @${MKDIR} ${STAGEDIR}${PROSPERDIR}/designer + @${MKDIR} ${STAGEDIR}${PROSPERDIR}/img + ${INSTALL_DATA} ${WRKSRC}/*.sty ${STAGEDIR}${PROSPERDIR} + ${INSTALL_DATA} ${WRKSRC}/*.cls ${STAGEDIR}${PROSPERDIR} + ${INSTALL_DATA} ${WRKSRC}/img/*.gif ${STAGEDIR}${PROSPERDIR}/img + ${INSTALL_DATA} ${WRKSRC}/img/*.ps ${STAGEDIR}${PROSPERDIR}/img + (cd ${WRKSRC}/contrib && ${INSTALL_DATA} *.sty *.ps *.tex \ + ${STAGEDIR}${PROSPERDIR}/contrib) + (cd ${WRKSRC}/contrib/img && ${INSTALL_DATA} *.ps *.eps *.gif \ + ${STAGEDIR}${PROSPERDIR}/contrib/img) + ${INSTALL_DATA} ${WRKSRC}/designer/prosper* \ + ${STAGEDIR}${PROSPERDIR}/designer + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/doc-examples/Example* \ + ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53df9581.5673.2b9ad07b>