diff options
Diffstat (limited to 'math/gnuplot/Makefile')
-rw-r--r-- | math/gnuplot/Makefile | 13 |
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: |