Annotation of pkgsrc/graphics/gnuplot/Makefile, revision 1.58
1.58 ! drochner 1: # $NetBSD: Makefile,v 1.57 2011/11/01 06:01:35 sbd Exp $
1.1 tron 2:
1.58 ! drochner 3: DISTNAME= gnuplot-4.4.4
1.53 adam 4: CATEGORIES+= graphics
5: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
6:
7: MAINTAINER= pkgsrc-users@NetBSD.org
8: HOMEPAGE= http://gnuplot.sourceforge.net/
9: COMMENT= Portable interactive, function plotting utility
1.1 tron 10:
1.38 wiz 11: CONFLICTS+= gnuplot-nox11-[0-9]*
1.8 bad 12:
1.53 adam 13: PATCHDIR= ${.CURDIR}/../../graphics/gnuplot/patches
14: DISTINFO_FILE= ${.CURDIR}/../../graphics/gnuplot/distinfo
15:
16: PKG_INSTALLATION_TYPES= overwrite pkgviews
17: PKG_DESTDIR_SUPPORT= user-destdir
18:
19: USE_TOOLS+= makeinfo pkg-config
20: GNU_CONFIGURE= yes
21: #CONFIGURE_ARGS+= --enable-history-file
22: CONFIGURE_ARGS+= --with-plot=${PREFIX}
23: CONFIGURE_ARGS+= --without-latex
24: CONFIGURE_ARGS+= --without-lisp-files
25: CONFIGURE_ARGS+= --without-tutorial
26: INFO_FILES= yes
27:
28: # Use BSD editline wherever possible:
29: .include "../../mk/bsd.prefs.mk"
30:
31: .if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
32: CONFIGURE_ARGS+= --with-readline=bsd
33: .include "../../mk/curses.buildlink3.mk"
34: .else
35: CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
36: .include "../../devel/readline/buildlink3.mk"
37: .endif
38:
39: # Make this available to patch-ah so the font path can include pkgsrc fonts.
40: SUBST_CLASSES+= fontpath
41: SUBST_STAGE.fontpath= pre-configure
42: SUBST_MESSAGE.fontpath= Fixing font path.
43: SUBST_FILES.fontpath= src/variable.c
44: SUBST_SED.fontpath= -e 's,@PKGSRC_PREFIX@,"${PREFIX}",'
45:
46: .include "options.mk"
1.16 wiz 47:
1.53 adam 48: .include "../../devel/pango/buildlink3.mk"
49: .include "../../graphics/cairo/buildlink3.mk"
1.26 snj 50: .include "../../graphics/plotutils/buildlink3.mk"
1.3 agc 51: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>