From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 26 10:00:50 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65D0916A420 for ; Wed, 26 Oct 2005 10:00:50 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C324F43D66 for ; Wed, 26 Oct 2005 10:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9QA0TH2077528 for ; Wed, 26 Oct 2005 10:00:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9QA0TMj077527; Wed, 26 Oct 2005 10:00:29 GMT (envelope-from gnats) Resent-Date: Wed, 26 Oct 2005 10:00:29 GMT Resent-Message-Id: <200510261000.j9QA0TMj077527@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ulrich Spoerlein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A784C16A420; Wed, 26 Oct 2005 09:55:50 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E7F043D73; Wed, 26 Oct 2005 09:55:43 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id E744513F0B6; Wed, 26 Oct 2005 11:55:41 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id C56CF9ABA5; Wed, 26 Oct 2005 11:55:41 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id A48C59AAB0; Wed, 26 Oct 2005 11:55:41 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 6708213F133; Wed, 26 Oct 2005 11:55:41 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j9Q9tffM076013; Wed, 26 Oct 2005 11:55:41 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id j9Q9tfa4069643; Wed, 26 Oct 2005 11:55:41 +0200 (CEST) (envelope-from q@roadrunner.q.local) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id j9Q9telH031664; Wed, 26 Oct 2005 11:55:40 +0200 (CEST) (envelope-from q@roadrunner.q.local) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id j9Q9teh0031663; Wed, 26 Oct 2005 11:55:40 +0200 (CEST) (envelope-from q) Message-Id: <200510260955.j9Q9teh0031663@roadrunner.q.local> Date: Wed, 26 Oct 2005 11:55:40 +0200 (CEST) From: Ulrich Spoerlein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: glewis@FreeBSD.org Subject: ports/88018: [PATCH] math/gnuplot: Install documentation X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 10:00:50 -0000 >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 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: