blob: f5c664a0e9ec45c45e2a2f0ea48adf63dc5f42bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# $NetBSD: Makefile,v 1.32 2004/02/14 17:21:43 jlam Exp $
DISTNAME= plplot-5.2.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=plplot/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://plplot.sourceforge.net/
COMMENT= Scientific plotting package
USE_BUILDLINK2= # defined
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
CONFIGURE_ARGS+= --enable-tcl
CONFIGURE_ARGS+= --disable-itcl
CONFIGURE_ARGS+= --disable-java
CONFIGURE_ARGS+= --disable-octave
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
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
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/gd/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../devel/libtool/buildlink2.mk"
.include "../../x11/tk/buildlink2.mk"
.include "../../lang/tcl/buildlink2.mk"
.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"
|