Fix OPTIONS

PR:		ports/68388
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev
2004-06-27 18:12:21 +00:00
parent 76a9fa4ba5
commit f401c0eb04

View File

@@ -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: