Date: Wed, 26 Oct 2005 11:55:40 +0200 (CEST) From: Ulrich Spoerlein <q@galgenberg.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: glewis@FreeBSD.org Subject: ports/88018: [PATCH] math/gnuplot: Install documentation Message-ID: <200510260955.j9Q9teh0031663@roadrunner.q.local> Resent-Message-ID: <200510261000.j9QA0TMj077527@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88018 >Category: ports >Synopsis: [PATCH] math/gnuplot: Install documentation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 26 10:00:29 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 6.0-BETA5 i386 >Organization: >Environment: System: FreeBSD roadrunner 6.0-BETA5 FreeBSD 6.0-BETA5 #1: Tue Sep 20 21:30:40 CEST 2005 >Description: As with all complex software, documentation is essential. gnuplot already has an online documentation, but it's a PITA to use. And psdoc is not even available online (yet very useful). Port maintainer (glewis@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- gnuplot-4.0.0_4.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/math/gnuplot/Makefile,v retrieving revision 1.58 diff -u -u -r1.58 Makefile --- Makefile 12 Apr 2005 03:26:03 -0000 1.58 +++ Makefile 26 Oct 2005 09:53:58 -0000 @@ -7,7 +7,7 @@ PORTNAME= gnuplot PORTVERSION= 4.0.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -98,15 +98,23 @@ 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in @${FIND} "${WRKSRC}" -name '*.orig' -delete +.if !defined(NOPORTDOCS) +post-build: + @cd ${WRKSRC}/docs && ${GMAKE} groff html +.endif + post-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin .if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs) ${INSTALL_DATA} ${WRKSRC}/lisp/gnuplot*.el ${EMACS_SITE_LISPDIR} .endif .if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${EXAMPLESDIR} ${DOCSDIR}/psdoc cd ${WRKSRC}/demo && ${FIND} . \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} + cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.html \ + gnuplot.dvi gnuplot.ps ${DOCSDIR} + cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} * ${DOCSDIR}/psdoc .endif .include <bsd.port.post.mk> Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/math/gnuplot/pkg-plist,v retrieving revision 1.13 diff -u -u -r1.13 pkg-plist --- pkg-plist 26 Oct 2004 19:51:06 -0000 1.13 +++ pkg-plist 26 Oct 2005 09:53:58 -0000 @@ -97,9 +97,21 @@ %%PORTDOCS%%%%EXAMPLESDIR%%/world.cor %%PORTDOCS%%%%EXAMPLESDIR%%/world.dat %%PORTDOCS%%%%EXAMPLESDIR%%/world.dem +%%PORTDOCS%%%%DOCSDIR%%/psdoc/Makefile +%%PORTDOCS%%%%DOCSDIR%%/psdoc/README +%%PORTDOCS%%%%DOCSDIR%%/psdoc/ps_file.doc +%%PORTDOCS%%%%DOCSDIR%%/psdoc/ps_fontfile_doc.tex +%%PORTDOCS%%%%DOCSDIR%%/psdoc/ps_guide.ps +%%PORTDOCS%%%%DOCSDIR%%/psdoc/ps_symbols.gpi +%%PORTDOCS%%%%DOCSDIR%%/gnuplot.dvi +%%PORTDOCS%%%%DOCSDIR%%/gnuplot.html +%%PORTDOCS%%%%DOCSDIR%%/gnuplot.ps +%%PORTDOCS%%%%DOCSDIR%%/gnuplot.txt %%EMACS_SITE_LISPDIR%%/gnuplot-gui.el %%EMACS_SITE_LISPDIR%%/gnuplot.el %%DATADIR%%/4.0/gnuplot.gih @dirrm %%DATADIR%%/4.0 @dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/psdoc +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- gnuplot-4.0.0_4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510260955.j9Q9teh0031663>