| @@ -1,42 +1,38 @@ | | | @@ -1,42 +1,38 @@ |
1 | # $NetBSD: Makefile.common,v 1.17 2009/10/27 20:48:07 asau Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.18 2010/02/19 14:09:58 asau Exp $ |
2 | | | 2 | |
3 | # used by ../../graphics/gnuplot-nox11 | | 3 | # used by ../../graphics/gnuplot-nox11 |
4 | | | 4 | |
5 | DISTNAME= gnuplot-4.2.6 | | 5 | DISTNAME= gnuplot-4.2.6 |
6 | CATEGORIES+= graphics | | 6 | CATEGORIES+= graphics |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://gnuplot.sourceforge.net/ | | 10 | HOMEPAGE= http://gnuplot.sourceforge.net/ |
11 | COMMENT= Portable interactive, function plotting utility | | 11 | COMMENT= Portable interactive, function plotting utility |
12 | | | 12 | |
13 | PATCHDIR= ${.CURDIR}/../../graphics/gnuplot/patches | | 13 | PATCHDIR= ${.CURDIR}/../../graphics/gnuplot/patches |
14 | DISTINFO_FILE= ${.CURDIR}/../../graphics/gnuplot/distinfo | | 14 | DISTINFO_FILE= ${.CURDIR}/../../graphics/gnuplot/distinfo |
15 | | | 15 | |
16 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 16 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
17 | PKG_DESTDIR_SUPPORT= user-destdir | | 17 | PKG_DESTDIR_SUPPORT= user-destdir |
18 | | | 18 | |
19 | GNU_CONFIGURE= YES | | 19 | GNU_CONFIGURE= YES |
20 | | | 20 | |
21 | USE_TOOLS+= makeinfo | | 21 | USE_TOOLS+= makeinfo |
22 | INFO_FILES= # PLIST | | 22 | INFO_FILES= # PLIST |
23 | | | 23 | |
24 | CONFIGURE_ARGS+= --with-pdf | | | |
25 | CONFIGURE_ARGS+= --enable-history-file | | 24 | CONFIGURE_ARGS+= --enable-history-file |
26 | CONFIGURE_ARGS+= --with-plot=${PREFIX:Q} | | 25 | CONFIGURE_ARGS+= --with-plot=${PREFIX:Q} |
27 | CONFIGURE_ARGS+= --without-lisp-files | | 26 | CONFIGURE_ARGS+= --without-lisp-files |
28 | CONFIGURE_ARGS+= --without-tutorial | | 27 | CONFIGURE_ARGS+= --without-tutorial |
29 | | | 28 | |
30 | # Use BSD editline wherever possible: | | 29 | # Use BSD editline wherever possible: |
31 | .include "../../mk/bsd.prefs.mk" | | 30 | .include "../../mk/bsd.prefs.mk" |
32 | | | 31 | |
33 | .if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" | | 32 | .if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" |
34 | CONFIGURE_ARGS+= --with-readline=bsd | | 33 | CONFIGURE_ARGS+= --with-readline=bsd |
35 | .include "../../mk/curses.buildlink3.mk" | | 34 | .include "../../mk/curses.buildlink3.mk" |
36 | .else | | 35 | .else |
37 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} | | 36 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} |
38 | .include "../../devel/readline/buildlink3.mk" | | 37 | .include "../../devel/readline/buildlink3.mk" |
39 | .endif | | 38 | .endif |
40 | | | | |
41 | .include "../../graphics/gd/buildlink3.mk" | | | |
42 | .include "../../print/pdflib/buildlink3.mk" | | | |