diff options
| author | Greg Lewis <glewis@FreeBSD.org> | 2005-11-01 20:46:22 +0000 |
|---|---|---|
| committer | Greg Lewis <glewis@FreeBSD.org> | 2005-11-01 20:46:22 +0000 |
| commit | b49904d2770e2c7738fc416788c4fc60c6b9f9d8 (patch) | |
| tree | dc833aa536d1f56ada80f7df1735dbb2de1a67ba /math/gnuplot/Makefile | |
| parent | 641245a4a0905bae666ae3f119e9512c8c1bd7bc (diff) | |
Notes
Diffstat (limited to 'math/gnuplot/Makefile')
| -rw-r--r-- | math/gnuplot/Makefile | 11 |
1 files changed, 10 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> |
