pkgsrc/math/grace/Makefile

43 lines
1.4 KiB
Makefile
Raw Normal View History

2017-04-30 03:21:19 +02:00
# $NetBSD: Makefile,v 1.65 2017/04/30 01:21:49 ryoon Exp $
DISTNAME= grace-5.1.25
2017-04-30 03:21:19 +02:00
PKGREVISION= 1
CATEGORIES= math graphics x11
MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/
MASTER_SITES+= ftp://ftp.fu-berlin.de/unix/graphics/grace/src/stable/
MASTER_SITES+= ftp://ftp.ru.xemacs.org/pub/math/grace/src/stable/
MASTER_SITES+= ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/grace/src/stable/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/
COMMENT= GRaphing, Advanced Computation and Exploration of data
LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake
USE_LANGUAGES= c fortran77
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-grace-home=${PREFIX}/grace
CONFIGURE_ARGS+= --without-bundled-xbae
Update grace to 5.1.22. Patch provided by Aleksej Saushev in PR 38884. 5.1.22 Interface * [DC] mention object type when asking for user's confirmation on delete Parser * [ES] added "LINCONV(set1, set2)" command - an equivalent of Transformations->Linear convolution * [ES] added "VOIGT(gamma, sigma, x)" function (rep. #2144) Bug fixes * [ES] in the grace_np library GraceClose() could kill all user processes if by that time the Grace subprocess has exited (rep. #2035) * [ES] certain hand-modified settings in project files might cause the GUI crash (incl. rep. #2139) * [ES] ungraceful closing of anonymous pipes could result in high CPU load 5.1.21 Functionality * [ES] added IsoLatin5 (ISO 8859-9) encoding file * [ES] now honor locale in number stringifications (rep. #2109) * [ES] extended range of prefixes in the Engineering format up to 10^{+/-24} * [HR] added "Computing" tick label format Interface * [ES] added "-maxpath" command line option for setting maximal drawing path length * [ES] allow for longer legend lines Parser * [ES] added "KILL BLOCK" command (deallocates the memory of the current block data) Bug fixes * [ES] there was a misleading error message when attempting to redefine an existing variable/keyword in the parser * [ES] fixed rounding-off problem with zero labels (rep. #2098) Portability/Compilation * [IG] eliminated some of gcc-4.1 warnings (rep. #2111) * [IG] man page cleaned (rep. #2110) 5.1.20 Parser * [ES] added SGN() function Defaults * [ES] changed default major tick spacings to 0.2 Bug fixes * [ES] command argument "-graphtype pie" wasn't recognized (rep. #2058) * [ES] fixed openning of help documents when using an external browser * [ES] "Geometric transforms" with order: "Rotate, scale, translate" in fact was doing "Translate, scale, rotate" * [ES] Grace might crash when using "Engineering" tick label format (rep. #2094) * [ES] file selection dialog wasn't closed when fit parameters file was read in successfully 5.1.19 Functionality * [ES] BARDY and BARDYDY sets are now allowed in XY graphs Bug fixes * [RL] loading a DL module could fail with an irrelevant error message (rep. #2071) * [ES] a bug in the PS driver caused CUPS to output empty page if printing accounting was enabled in foomatic (rep. #2047) * [ES] automatic data point purging (enabled when set length exceeds "Max drawing path length" in Edit/Preferences) could fail silently (rep. #2069) * [ES] the point purging could result in wrong set filling when fill to the baseline was selected * [ES] configure's option --with-helpviewer was broken (rep. #1414) 5.1.18 Parser * [ES] implemented concatenation of quoted strings and numerical expressions Bug fixes * [ES] some X font configurations could make Grace crash (rep. #1436) * [ES] DEFAULT ... commands had no effect on new drawing objects (including rep. #1437) * [ES] DEFAULT CHAR SIZE had no effect on tick labels of new axes 5.1.17 Drivers * [ES] changed default resolution of the PDF driver to 300 dpi Documentation/Info * [ES] minor documentation updates, including rep. #1421 Bug fixes * [ES] with page fill disabled, the page frame line might be drawn with wrong properties * [ES] due to a bug in the Xbae widget, when a TrueType font was used, several dialogs could become unusable (including rep. #1366) * [ES] enabling patterned fills and PDF-1.4 compatibility mode could result in crash when printing to PDF 5.1.16 Interface * [ES] set scrolling of the custom ticks/labels table to 1 row per click (rep. #1419) Documentation/Info * [ES] updates relevant to the status of mailing lists/forums Portability/Compilation * [ES] PDF driver updated to work with PDFlib-6 (rep. #1426). Minimal supported version is now 5.0 Drivers * [ES] added option to generate PDF-1.4 format (Acrobat5). Support for PDF-1.2 (Acrobat3) removed Bug fixes * [ES] replaced meaningless error message issued when trying to load data with a few string columns as a single set * [ES] in the spreadsheet editor, the last entered cell's data wasn't committed (rep. #1420) 5.1.15 Functionality * [ES] increased max number of custom tick marks/labels to 256 per a popular demand Project files * [ES] now using one-line format for saving graph's world and viewport settings Defaults * [ES] changed default external help viewer to mozilla Documentation/Info * [ES] misc documentation updates (including rep. #1411) Bug fixes * [ES] fixed crash when number of custom tick marks/labels exceeded 100 * [ES] fixed evaluation of FWHM in "Feature extraction" (old version might produce wrong results for multi-peak data) * [ES] support for loadable functions of 4 and 5 parameters, introduced in 5.1.14, was incomplete * [ES] in correlation/covariance, only the absolute value at 0 is normalized to 1, so for anti-correlation the sign is preserved
2008-07-18 19:22:47 +02:00
INSTALLATION_DIRS= bin
# test require X
#TEST_TARGET= check
post-install:
Update grace to 5.1.22. Patch provided by Aleksej Saushev in PR 38884. 5.1.22 Interface * [DC] mention object type when asking for user's confirmation on delete Parser * [ES] added "LINCONV(set1, set2)" command - an equivalent of Transformations->Linear convolution * [ES] added "VOIGT(gamma, sigma, x)" function (rep. #2144) Bug fixes * [ES] in the grace_np library GraceClose() could kill all user processes if by that time the Grace subprocess has exited (rep. #2035) * [ES] certain hand-modified settings in project files might cause the GUI crash (incl. rep. #2139) * [ES] ungraceful closing of anonymous pipes could result in high CPU load 5.1.21 Functionality * [ES] added IsoLatin5 (ISO 8859-9) encoding file * [ES] now honor locale in number stringifications (rep. #2109) * [ES] extended range of prefixes in the Engineering format up to 10^{+/-24} * [HR] added "Computing" tick label format Interface * [ES] added "-maxpath" command line option for setting maximal drawing path length * [ES] allow for longer legend lines Parser * [ES] added "KILL BLOCK" command (deallocates the memory of the current block data) Bug fixes * [ES] there was a misleading error message when attempting to redefine an existing variable/keyword in the parser * [ES] fixed rounding-off problem with zero labels (rep. #2098) Portability/Compilation * [IG] eliminated some of gcc-4.1 warnings (rep. #2111) * [IG] man page cleaned (rep. #2110) 5.1.20 Parser * [ES] added SGN() function Defaults * [ES] changed default major tick spacings to 0.2 Bug fixes * [ES] command argument "-graphtype pie" wasn't recognized (rep. #2058) * [ES] fixed openning of help documents when using an external browser * [ES] "Geometric transforms" with order: "Rotate, scale, translate" in fact was doing "Translate, scale, rotate" * [ES] Grace might crash when using "Engineering" tick label format (rep. #2094) * [ES] file selection dialog wasn't closed when fit parameters file was read in successfully 5.1.19 Functionality * [ES] BARDY and BARDYDY sets are now allowed in XY graphs Bug fixes * [RL] loading a DL module could fail with an irrelevant error message (rep. #2071) * [ES] a bug in the PS driver caused CUPS to output empty page if printing accounting was enabled in foomatic (rep. #2047) * [ES] automatic data point purging (enabled when set length exceeds "Max drawing path length" in Edit/Preferences) could fail silently (rep. #2069) * [ES] the point purging could result in wrong set filling when fill to the baseline was selected * [ES] configure's option --with-helpviewer was broken (rep. #1414) 5.1.18 Parser * [ES] implemented concatenation of quoted strings and numerical expressions Bug fixes * [ES] some X font configurations could make Grace crash (rep. #1436) * [ES] DEFAULT ... commands had no effect on new drawing objects (including rep. #1437) * [ES] DEFAULT CHAR SIZE had no effect on tick labels of new axes 5.1.17 Drivers * [ES] changed default resolution of the PDF driver to 300 dpi Documentation/Info * [ES] minor documentation updates, including rep. #1421 Bug fixes * [ES] with page fill disabled, the page frame line might be drawn with wrong properties * [ES] due to a bug in the Xbae widget, when a TrueType font was used, several dialogs could become unusable (including rep. #1366) * [ES] enabling patterned fills and PDF-1.4 compatibility mode could result in crash when printing to PDF 5.1.16 Interface * [ES] set scrolling of the custom ticks/labels table to 1 row per click (rep. #1419) Documentation/Info * [ES] updates relevant to the status of mailing lists/forums Portability/Compilation * [ES] PDF driver updated to work with PDFlib-6 (rep. #1426). Minimal supported version is now 5.0 Drivers * [ES] added option to generate PDF-1.4 format (Acrobat5). Support for PDF-1.2 (Acrobat3) removed Bug fixes * [ES] replaced meaningless error message issued when trying to load data with a few string columns as a single set * [ES] in the spreadsheet editor, the last entered cell's data wasn't committed (rep. #1420) 5.1.15 Functionality * [ES] increased max number of custom tick marks/labels to 256 per a popular demand Project files * [ES] now using one-line format for saving graph's world and viewport settings Defaults * [ES] changed default external help viewer to mozilla Documentation/Info * [ES] misc documentation updates (including rep. #1411) Bug fixes * [ES] fixed crash when number of custom tick marks/labels exceeded 100 * [ES] fixed evaluation of FWHM in "Feature extraction" (old version might produce wrong results for multi-peak data) * [ES] support for loadable functions of 4 and 5 parameters, introduced in 5.1.14, was incomplete * [ES] in correlation/covariance, only the absolute value at 0 is normalized to 1, so for anti-correlation the sign is preserved
2008-07-18 19:22:47 +02:00
${RM} -f ${DESTDIR}${PREFIX}/bin/xmgrace
${LN} -s ${DESTDIR}${PREFIX}/grace/bin/xmgrace ${DESTDIR}${PREFIX}/bin
2004-04-12 05:58:36 +02:00
.include "../../devel/netcdf/buildlink3.mk"
.include "../../fonts/t1lib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
2004-04-12 05:58:36 +02:00
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../math/fftw2/buildlink3.mk"
.include "../../print/pdflib-lite/buildlink3.mk"
2004-04-12 05:58:36 +02:00
.include "../../x11/Xbae/buildlink3.mk"
.include "../../x11/XmHTML/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
2004-04-12 05:58:36 +02:00
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"