summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-06-27 18:12:21 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-06-27 18:12:21 +0000
commitf401c0eb045c8c3755376b2d5e47b66fc214c365 (patch)
treea7d0f4fbecbb95b18e4cdda37c3edba31afff346 /math
parentUpdate to version 0.9.13 (diff)
Fix OPTIONS
PR: ports/68388 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=112399
Diffstat (limited to 'math')
-rw-r--r--math/gnuplot/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index b43439a0292c..f3be049b3f1c 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnuplot
PORTVERSION= 4.0.0
+PORTREVISION= 1
CATEGORIES= math graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -50,18 +51,18 @@ CONFIGURE_ARGS+= --without-x
PLIST_SUB+= X11:="@comment "
.endif
-.if defined(WITH_PNG)
+.if defined(WITHOUT_PNG)
+CONFIGURE_ARGS+= --without-png
+.else
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
CONFIGURE_ARGS+= --with-png=${LOCALBASE}
-.else
-CONFIGURE_ARGS+= --without-png
.endif
-.if defined(WITH_PDF)
+.if defined(WITHOUT_PDF)
+CONFIGURE_ARGS+= --without-pdf
+.else
LIB_DEPENDS+= pdf.7:${PORTSDIR}/print/pdflib
CONFIGURE_ARGS+= --with-pdf=${LOCALBASE}
-.else
-CONFIGURE_ARGS+= --without-pdf
.endif
post-patch: