pkgsrc/graphics/plplot/Makefile

79 lines
2.4 KiB
Makefile
Raw Normal View History

2002-10-03 02:52:48 +02:00
# $NetBSD: Makefile,v 1.24 2002/10/03 00:52:48 wiz Exp $
Update of plplot to 5.0.4. Important Changes: (1) Default orientation for the ljii, ljiip, psc, ps, and pstex drivers has been rotated from seascape (upside-down landscape) by 180 deg to landscape. With this change no special 180 deg latex rotations will be required to get true landscape mode (top of the plot on the left of the page as opposed to on the right of the page for seascape mode). If you still require seascape for some reason for these drivers, use the -ori 2. command-line option or else use plsdiori(2.) or plsetopt("ori", "2."). (2) The installation location for examples has been changed to $prefix/lib/plplot<ver>/examples to be in better conformance with the FHS. Important Bug fixes: (1) Many improvements to the octave front end. (2) Many improvements to the xfig driver. (3) If the overall aspect ratio is changed by the -geometry, -a, or -portrait options or else by the combination of the -ori 1 and -freeaspect options, the character aspect ratio remains unaffected. For example, when the overall aspect ratio is changed now, circular symbols remain circular rather than turning into ellipses as in the old code. (4) Software pattern fills now rotate correctly with the rest of the plot when the -ori option is used. This fix affects all drivers (e.g., xwin, psc) which do not handle their own pattern fills. (Previously the rotation angle for software pattern fills was mistakenly doubled by two calls to the orientation transformation routine.) Important New Features: (1) Portrait mode. Use the -portrait option on the command line or else plsetopt("portrait", "") to get this option which only currently affects the ljii, ljiip, ps, psc, and pstex drivers. This option is especially useful for yplot, the yorick front-end to PLplot. yplot previously maintained separate (==> hard-to-maintain and buggy) portrait versions of the psc, ps, and ljiip drivers. Those will no longer be necessary with this PLplot core change, and in fact portrait mode is now available for a much wider range of drivers. (2) -drvopt command-line option (or else use plsetopt("drvopt","option")). This allows setting options for particular drivers. For example, the -drvopt text option for the psc or ps driver allows use of Adobe fonts (This is poorly documented currently, but for now see notes in ps.c for more details). (3) New pstex driver. This is not currently documented, but there is post from João Cardoso on plplot_devel (http://www.geocrawler.com/archives/3/10834/2001/4/50/5536095/) that gives the recipe (ignore the configuration stuff and start with the ./x01c command). The idea is to emulate the pstex output of the xfig application so that latex can be used to directly process the file output from the PLplot pstex driver.
2001-06-20 14:51:53 +02:00
DISTNAME= plplot-5.0.4
2001-05-03 23:06:12 +02:00
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=plplot/}
2001-05-03 23:06:12 +02:00
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://plplot.sourceforge.net/
2001-05-03 23:06:12 +02:00
COMMENT= Scientific plotting package
2001-05-03 23:06:12 +02:00
DEPENDS+= tcl>=8.3.0:../../lang/tcl
DEPENDS+= tk>=8.3.0:../../x11/tk
BUILD_DEPENDS+= m4>=1.4:../../devel/m4
2002-10-03 02:52:48 +02:00
AUTOCONF_REQD= 2.13
2001-05-03 23:06:12 +02:00
GNU_CONFIGURE= #defined
USE_GMAKE= #defined
USE_FORTRAN= #defined
USE_X11= #defined
USE_PERL5= build
2001-05-03 23:06:12 +02:00
EVAL_PREFIX+= TK_PREFIX=tk
TCL_PREFIX_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= TCL_PREFIX=tcl
2001-05-03 23:06:12 +02:00
CONFIGURE_ENV+= BIN_DIR="${PREFIX}/bin"
CONFIGURE_ENV+= LIB_DIR="${PREFIX}/lib"
CONFIGURE_ENV+= INCLUDE_DIR="${PREFIX}/include/plplot"
CONFIGURE_ENV+= DATA_DIR="${PREFIX}/libdata/plplot"
CONFIGURE_ENV+= DOC_DIR="${PREFIX}/share/doc/plplot"
CONFIGURE_ENV+= DEMOS_DIR="${PREFIX}/share/examples/plplot"
CONFIGURE_ENV+= TCL_DIR="${PREFIX}/lib/tcl/plplot"
CONFIGURE_ENV+= TKINCDIR="${TK_PREFIX}/include"
CONFIGURE_ENV+= TKLIBDIR="${TK_PREFIX}/lib"
CONFIGURE_ENV+= TCLINCDIR="${TCL_PREFIX}/include"
CONFIGURE_ENV+= TCLLIBDIR="${TCL_PREFIX}/lib"
CONFIGURE_ENV+= USER_FLAGS_C="${CFLAGS}"
CONFIGURE_ENV+= USER_FLAGS_LC="${LDFLAGS}"
CONFIGURE_ENV+= USER_FLAGS_CXX="${CXXFLAGS}"
CONFIGURE_ENV+= USER_FLAGS_LCXX="${LDFLAGS}"
CONFIGURE_ENV+= USER_FLAGS_F="${FFLAGS}"
CONFIGURE_ENV+= USER_FLAGS_LF="${LDLAGS}"
2001-05-03 23:06:12 +02:00
CONFIGURE_ARGS+= --with-double
CONFIGURE_ARGS+= --enable-xwin
CONFIGURE_ARGS+= --enable-tcl
CONFIGURE_ARGS+= --enable-tk
CONFIGURE_ARGS+= --without-shlib
CONFIGURE_ARGS+= --disable-python
CONFIGURE_ARGS+= --disable-itcl
CONFIGURE_ARGS+= --disable-dp
Update of plplot to 5.0.4. Important Changes: (1) Default orientation for the ljii, ljiip, psc, ps, and pstex drivers has been rotated from seascape (upside-down landscape) by 180 deg to landscape. With this change no special 180 deg latex rotations will be required to get true landscape mode (top of the plot on the left of the page as opposed to on the right of the page for seascape mode). If you still require seascape for some reason for these drivers, use the -ori 2. command-line option or else use plsdiori(2.) or plsetopt("ori", "2."). (2) The installation location for examples has been changed to $prefix/lib/plplot<ver>/examples to be in better conformance with the FHS. Important Bug fixes: (1) Many improvements to the octave front end. (2) Many improvements to the xfig driver. (3) If the overall aspect ratio is changed by the -geometry, -a, or -portrait options or else by the combination of the -ori 1 and -freeaspect options, the character aspect ratio remains unaffected. For example, when the overall aspect ratio is changed now, circular symbols remain circular rather than turning into ellipses as in the old code. (4) Software pattern fills now rotate correctly with the rest of the plot when the -ori option is used. This fix affects all drivers (e.g., xwin, psc) which do not handle their own pattern fills. (Previously the rotation angle for software pattern fills was mistakenly doubled by two calls to the orientation transformation routine.) Important New Features: (1) Portrait mode. Use the -portrait option on the command line or else plsetopt("portrait", "") to get this option which only currently affects the ljii, ljiip, ps, psc, and pstex drivers. This option is especially useful for yplot, the yorick front-end to PLplot. yplot previously maintained separate (==> hard-to-maintain and buggy) portrait versions of the psc, ps, and ljiip drivers. Those will no longer be necessary with this PLplot core change, and in fact portrait mode is now available for a much wider range of drivers. (2) -drvopt command-line option (or else use plsetopt("drvopt","option")). This allows setting options for particular drivers. For example, the -drvopt text option for the psc or ps driver allows use of Adobe fonts (This is poorly documented currently, but for now see notes in ps.c for more details). (3) New pstex driver. This is not currently documented, but there is post from João Cardoso on plplot_devel (http://www.geocrawler.com/archives/3/10834/2001/4/50/5536095/) that gives the recipe (ignore the configuration stuff and start with the ./x01c command). The idea is to emulate the pstex output of the xfig application so that latex can be used to directly process the file output from the PLplot pstex driver.
2001-06-20 14:51:53 +02:00
INFO_FILES= plplotdoc.info
post-extract:
@cd ${WRKSRC}/doc; ${GTAR} zxf plplotdoc-info-0.4.1.tar.gz
post-patch:
${MV} -f ${WRKSRC}/src/plctrl.c ${WRKSRC}/src/plctrl.c.dist
${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${WRKSRC}/src/plctrl.c.dist \
> ${WRKSRC}/src/plctrl.c
pre-configure:
2002-10-03 02:52:48 +02:00
cd ${WRKSRC}/cf && ${AUTOCONF}
${CP} ${WRKSRC}/cf/configure ${WRKSRC}
post-install:
2001-07-06 17:27:14 +02:00
cd ${WRKSRC}/doc/plplotdoc-info-0.4.1/; \
${INSTALL_DATA} plplotdoc.info plplotdoc.info-* ${PREFIX}/info
${INSTALL_DATA} ${WRKSRC}/doc/plplotdoc-0.4.1.dvi \
Update of plplot to 5.0.4. Important Changes: (1) Default orientation for the ljii, ljiip, psc, ps, and pstex drivers has been rotated from seascape (upside-down landscape) by 180 deg to landscape. With this change no special 180 deg latex rotations will be required to get true landscape mode (top of the plot on the left of the page as opposed to on the right of the page for seascape mode). If you still require seascape for some reason for these drivers, use the -ori 2. command-line option or else use plsdiori(2.) or plsetopt("ori", "2."). (2) The installation location for examples has been changed to $prefix/lib/plplot<ver>/examples to be in better conformance with the FHS. Important Bug fixes: (1) Many improvements to the octave front end. (2) Many improvements to the xfig driver. (3) If the overall aspect ratio is changed by the -geometry, -a, or -portrait options or else by the combination of the -ori 1 and -freeaspect options, the character aspect ratio remains unaffected. For example, when the overall aspect ratio is changed now, circular symbols remain circular rather than turning into ellipses as in the old code. (4) Software pattern fills now rotate correctly with the rest of the plot when the -ori option is used. This fix affects all drivers (e.g., xwin, psc) which do not handle their own pattern fills. (Previously the rotation angle for software pattern fills was mistakenly doubled by two calls to the orientation transformation routine.) Important New Features: (1) Portrait mode. Use the -portrait option on the command line or else plsetopt("portrait", "") to get this option which only currently affects the ljii, ljiip, ps, psc, and pstex drivers. This option is especially useful for yplot, the yorick front-end to PLplot. yplot previously maintained separate (==> hard-to-maintain and buggy) portrait versions of the psc, ps, and ljiip drivers. Those will no longer be necessary with this PLplot core change, and in fact portrait mode is now available for a much wider range of drivers. (2) -drvopt command-line option (or else use plsetopt("drvopt","option")). This allows setting options for particular drivers. For example, the -drvopt text option for the psc or ps driver allows use of Adobe fonts (This is poorly documented currently, but for now see notes in ps.c for more details). (3) New pstex driver. This is not currently documented, but there is post from João Cardoso on plplot_devel (http://www.geocrawler.com/archives/3/10834/2001/4/50/5536095/) that gives the recipe (ignore the configuration stuff and start with the ./x01c command). The idea is to emulate the pstex output of the xfig application so that latex can be used to directly process the file output from the PLplot pstex driver.
2001-06-20 14:51:53 +02:00
${PREFIX}/share/doc/plplot
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/plplot
${INSTALL_DATA} ${WRKSRC}/doc/plplotdoc-html-0.4.1/*.html \
Update of plplot to 5.0.4. Important Changes: (1) Default orientation for the ljii, ljiip, psc, ps, and pstex drivers has been rotated from seascape (upside-down landscape) by 180 deg to landscape. With this change no special 180 deg latex rotations will be required to get true landscape mode (top of the plot on the left of the page as opposed to on the right of the page for seascape mode). If you still require seascape for some reason for these drivers, use the -ori 2. command-line option or else use plsdiori(2.) or plsetopt("ori", "2."). (2) The installation location for examples has been changed to $prefix/lib/plplot<ver>/examples to be in better conformance with the FHS. Important Bug fixes: (1) Many improvements to the octave front end. (2) Many improvements to the xfig driver. (3) If the overall aspect ratio is changed by the -geometry, -a, or -portrait options or else by the combination of the -ori 1 and -freeaspect options, the character aspect ratio remains unaffected. For example, when the overall aspect ratio is changed now, circular symbols remain circular rather than turning into ellipses as in the old code. (4) Software pattern fills now rotate correctly with the rest of the plot when the -ori option is used. This fix affects all drivers (e.g., xwin, psc) which do not handle their own pattern fills. (Previously the rotation angle for software pattern fills was mistakenly doubled by two calls to the orientation transformation routine.) Important New Features: (1) Portrait mode. Use the -portrait option on the command line or else plsetopt("portrait", "") to get this option which only currently affects the ljii, ljiip, ps, psc, and pstex drivers. This option is especially useful for yplot, the yorick front-end to PLplot. yplot previously maintained separate (==> hard-to-maintain and buggy) portrait versions of the psc, ps, and ljiip drivers. Those will no longer be necessary with this PLplot core change, and in fact portrait mode is now available for a much wider range of drivers. (2) -drvopt command-line option (or else use plsetopt("drvopt","option")). This allows setting options for particular drivers. For example, the -drvopt text option for the psc or ps driver allows use of Adobe fonts (This is poorly documented currently, but for now see notes in ps.c for more details). (3) New pstex driver. This is not currently documented, but there is post from João Cardoso on plplot_devel (http://www.geocrawler.com/archives/3/10834/2001/4/50/5536095/) that gives the recipe (ignore the configuration stuff and start with the ./x01c command). The idea is to emulate the pstex output of the xfig application so that latex can be used to directly process the file output from the PLplot pstex driver.
2001-06-20 14:51:53 +02:00
${PREFIX}/share/doc/html/plplot
2002-10-03 02:52:48 +02:00
.include "../../mk/autoconf.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"