| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.18 2010/02/19 14:09:58 asau Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.19 2010/05/10 06:22:03 minskim 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 |
| @@ -19,20 +19,20 @@ PKG_DESTDIR_SUPPORT= user-destdir | | | @@ -19,20 +19,20 @@ PKG_DESTDIR_SUPPORT= user-destdir |
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+= --enable-history-file | | 24 | CONFIGURE_ARGS+= --enable-history-file |
25 | CONFIGURE_ARGS+= --with-plot=${PREFIX:Q} | | 25 | CONFIGURE_ARGS+= --with-plot=${PREFIX:Q} |
26 | CONFIGURE_ARGS+= --without-lisp-files | | 26 | CONFIGURE_ARGS+= --without-lisp-files |
27 | CONFIGURE_ARGS+= --without-tutorial | | 27 | CONFIGURE_ARGS+= --without-tutorial |
28 | | | 28 | |
29 | # Use BSD editline wherever possible: | | 29 | # Use BSD editline wherever possible: |
30 | .include "../../mk/bsd.prefs.mk" | | 30 | .include "../../mk/bsd.prefs.mk" |
31 | | | 31 | |
32 | .if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" | | 32 | .if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin" |
33 | CONFIGURE_ARGS+= --with-readline=bsd | | 33 | CONFIGURE_ARGS+= --with-readline=bsd |
34 | .include "../../mk/curses.buildlink3.mk" | | 34 | .include "../../mk/curses.buildlink3.mk" |
35 | .else | | 35 | .else |
36 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} | | 36 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} |
37 | .include "../../devel/readline/buildlink3.mk" | | 37 | .include "../../devel/readline/buildlink3.mk" |
38 | .endif | | 38 | .endif |