Annotation of pkgsrc/graphics/gnuplot/Makefile, revision 1.20
1.20 ! jschauma 1: # $NetBSD: Makefile,v 1.19 2003/06/04 21:34:08 jschauma Exp $
1.2 hubertf 2: #
1.1 tron 3:
1.17 wiz 4: DISTNAME= gnuplot-3.7.3
1.13 veego 5: SVR4_PKGNAME= gplot
1.1 tron 6: CATEGORIES= graphics x11
1.17 wiz 7: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/} \
8: ftp://ftp.ucc.ie/pub/gnuplot/ \
9: ftp://ftp.cc.monash.edu.au/pub/gnuplot/
1.1 tron 10:
1.6 garbled 11: MAINTAINER= root@garbled.net
1.17 wiz 12: HOMEPAGE= http://sourceforge.net/projects/gnuplot/
1.11 wiz 13: COMMENT= gnuplot is a nice plotting utility
1.8 bad 14:
1.15 jlam 15: USE_BUILDLINK2= YES
1.17 wiz 16: # because of missing rl_complete_with_tilde_expansion and rl_terminal_name
17: USE_GNU_READLINE= YES
1.14 jlam 18: GNU_CONFIGURE= YES
1.1 tron 19:
1.17 wiz 20: CONFIGURE_ARGS+= --with-pdf
21: CONFIGURE_ARGS+= --with-plot=${LOCALBASE}
22: CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
1.19 jschauma 23:
24: .include "../../mk/bsd.prefs.mk"
25:
26: .if exists(${X11BASE})
1.20 ! jschauma 27: PKGNAME= ${DISTNAME:C/-/-x11-/}
! 28: CONFLICTS+= ${DISTNAME:C/-[0-9].*//}
1.19 jschauma 29: USE_X11= YES
30: PLIST_SUBST+= XCOMM=""
31: .else
1.20 ! jschauma 32: CONFLICTS+= ${DISTNAME:C/-[0-9].*/-x11/}
1.19 jschauma 33: PLIST_SUBST+= XCOMM="@comment "
34: .endif
1.16 wiz 35:
1.17 wiz 36: .include "../../devel/readline/buildlink2.mk"
37: .include "../../graphics/plotutils/buildlink2.mk"
1.16 wiz 38: .include "../../graphics/png/buildlink2.mk"
1.17 wiz 39: .include "../../print/pdflib/buildlink2.mk"
40: .include "../../mk/texinfo.mk"
1.3 agc 41: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>