pkgsrc/graphics/plplot/Makefile

70 lines
2.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.37 2004/10/03 00:14:56 tv Exp $
DISTNAME= plplot-5.2.1
PKGREVISION= 2
2001-05-03 23:06:12 +02:00
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=plplot/}
2003-07-17 23:41:05 +02:00
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://plplot.sourceforge.net/
2001-05-03 23:06:12 +02:00
COMMENT= Scientific plotting package
2004-05-09 02:45:45 +02:00
USE_BUILDLINK3= yes
GNU_CONFIGURE= # defined
USE_GNU_TOOLS+= m4 make
USE_FORTRAN= # defined
USE_X11= # defined
USE_PERL5= build
USE_LIBTOOL= # defined
CONFIGURE_ENV+= GDINCDIR=${BUILDLINK_PREFIX.gd}/include
CONFIGURE_ENV+= GDLIBDIR=${BUILDLINK_PREFIX.gd}/lib
CONFIGURE_ENV+= PNGINCDIR=${BUILDLINK_PREFIX.png}/include
CONFIGURE_ENV+= PNGLIBDIR=${BUILDLINK_PREFIX.png}/lib
CONFIGURE_ENV+= JPEGINCDIR=${BUILDLINK_PREFIX.jpeg}/include
CONFIGURE_ENV+= JPEGLIBDIR=${BUILDLINK_PREFIX.jpeg}/lib
CONFIGURE_ENV+= ZLIBINCDIR=${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ENV+= ZLIBLIBDIR=${BUILDLINK_PREFIX.zlib}/lib
CONFIGURE_ENV+= TCLINCDIR=${BUILDLINK_PREFIX.tcl}/include
CONFIGURE_ENV+= TCLPRIVATEINCDIR=${BUILDLINK_PREFIX.tcl}/include/tcl/generic
CONFIGURE_ENV+= TCLLIBDIR=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ENV+= TKINCDIR=${BUILDLINK_PREFIX.tk}/include
CONFIGURE_ENV+= TKPRIVATEINCDIR=${BUILDLINK_PREFIX.tk}/include/tk/generic
CONFIGURE_ENV+= TKLIBDIR=${BUILDLINK_PREFIX.tk}/lib
CONFIGURE_ARGS+= --enable-drivers
CONFIGURE_ARGS+= --enable-dyndrivers
CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --enable-f77
CONFIGURE_ARGS+= --disable-python
2001-05-03 23:06:12 +02:00
CONFIGURE_ARGS+= --enable-tcl
CONFIGURE_ARGS+= --disable-itcl
CONFIGURE_ARGS+= --disable-java
CONFIGURE_ARGS+= --disable-octave
2001-05-03 23:06:12 +02:00
CONFIGURE_ARGS+= --disable-python
CONFIGURE_ARGS+= --disable-itcl
CONFIGURE_ARGS+= --disable-dp
CONFIGURE_ARGS+= --without-freetype
CONFIGURE_ARGS+= --without-pthreads
CONFIGURE_ARGS+= --without-qhull
CONFIGURE_ARGS+= --without-csa
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
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
post-install:
cd ${PREFIX}/bin && ${LN} -fs libtool plplot_libtool
2004-05-09 02:45:45 +02:00
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/libtool/buildlink3.mk"
.include "../../x11/tk83/buildlink3.mk"
.include "../../lang/tcl83/buildlink3.mk"
2002-10-03 02:52:48 +02:00
.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"