diff options
author | glewis <glewis@FreeBSD.org> | 2005-11-02 04:46:22 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-11-02 04:46:22 +0800 |
commit | 4e847a5775f6ae921c75992a7238c33dfed2c154 (patch) | |
tree | 7bc7a6e4f61612de936f0fd0efb6b6488b0188b0 /math/gnuplot | |
parent | 3d3550b55c0f4930ba4453945135a1bced7cddc2 (diff) | |
download | freebsd-ports-gnome-4e847a5775f6ae921c75992a7238c33dfed2c154.tar.gz freebsd-ports-gnome-4e847a5775f6ae921c75992a7238c33dfed2c154.tar.zst freebsd-ports-gnome-4e847a5775f6ae921c75992a7238c33dfed2c154.zip |
. Build and install some of the documentation files.
PR: 88018
Submitted by: Ulrich Spoerlein <q@galgenberg.net>
Diffstat (limited to 'math/gnuplot')
-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 3028f31bc7b0..880eaaf77388 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 801cc3dff705..3c690d25c2f2 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%% |