diff options
author | jschauma <jschauma> | 2003-06-06 14:41:29 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-06-06 14:41:29 +0000 |
commit | b8fecd6aee562d6fca467dd84b652751e14c3e98 (patch) | |
tree | 7bdeebb9f3e1478378dd5f45f90f9cc1dddcecf7 /graphics/gnuplot | |
parent | a14ead90350057adb747a9ce28fa208138f3658c (diff) | |
download | pkgsrc-b8fecd6aee562d6fca467dd84b652751e14c3e98.tar.gz |
Same as plotutils:
If X11 is present, set the pkgname to gnuplot-x11 and conflict with
plain gnuplot (and the other way around).
Diffstat (limited to 'graphics/gnuplot')
-rw-r--r-- | graphics/gnuplot/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/gnuplot/Makefile b/graphics/gnuplot/Makefile index 78fc4ab047a..f230f1b2b5a 100644 --- a/graphics/gnuplot/Makefile +++ b/graphics/gnuplot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2003/06/04 21:34:08 jschauma Exp $ +# $NetBSD: Makefile,v 1.20 2003/06/06 14:41:29 jschauma Exp $ # DISTNAME= gnuplot-3.7.3 @@ -24,9 +24,12 @@ CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} .include "../../mk/bsd.prefs.mk" .if exists(${X11BASE}) +PKGNAME= ${DISTNAME:C/-/-x11-/} +CONFLICTS+= ${DISTNAME:C/-[0-9].*//} USE_X11= YES PLIST_SUBST+= XCOMM="" .else +CONFLICTS+= ${DISTNAME:C/-[0-9].*/-x11/} PLIST_SUBST+= XCOMM="@comment " .endif |