diff options
author | glewis <glewis@FreeBSD.org> | 2005-11-01 20:46:22 +0000 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-11-01 20:46:22 +0000 |
commit | 4e847a5775f6ae921c75992a7238c33dfed2c154 (patch) | |
tree | 7bc7a6e4f61612de936f0fd0efb6b6488b0188b0 /math | |
parent | 3d3550b55c0f4930ba4453945135a1bced7cddc2 (diff) | |
download | FreeBSD-ports-4e847a5775f6ae921c75992a7238c33dfed2c154.zip FreeBSD-ports-4e847a5775f6ae921c75992a7238c33dfed2c154.tar.gz |
. Build and install some of the documentation files.
PR: 88018
Submitted by: Ulrich Spoerlein <q@galgenberg.net>
Diffstat (limited to 'math')
-rw-r--r-- | math/gnuplot/Makefile | 11 | ||||
-rw-r--r-- | math/gnuplot/pkg-plist | 11 |
2 files changed, 21 insertions, 1 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile index 3028f31..880eaaf 100644 --- a/math/gnuplot/Makefile +++ b/math/gnuplot/Makefile @@ -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,6 +98,11 @@ post-patch: 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in @${FIND} "${WRKSRC}" -name '*.orig' -delete +.if !defined(NOPORTDOCS) +post-build: + @cd ${WRKSRC}/docs && ${MAKE} groff html +.endif + post-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin .if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs) @@ -107,6 +112,10 @@ post-install: @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/demo && ${FIND} . \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} + @${MKDIR} ${DOCSDIR}/psdoc + cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.html \ + gnuplot.dvi gnuplot.ps ${DOCSDIR} + cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${DOCSDIR}/psdoc .endif .include <bsd.port.post.mk> diff --git a/math/gnuplot/pkg-plist b/math/gnuplot/pkg-plist index 801cc3d..3c690d2 100644 --- a/math/gnuplot/pkg-plist +++ b/math/gnuplot/pkg-plist @@ -97,9 +97,20 @@ bin/lasergnu %%PORTDOCS%%%%EXAMPLESDIR%%/world.cor %%PORTDOCS%%%%EXAMPLESDIR%%/world.dat %%PORTDOCS%%%%EXAMPLESDIR%%/world.dem +%%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%% |