aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-09-05 01:38:04 +0800
committerjohans <johans@FreeBSD.org>2014-09-05 01:38:04 +0800
commit13aeecf9f01d47b458fcce10c4dd1a1ab926ce52 (patch)
tree187263d234665cfbc038f65c54786f481a4661d3 /lang
parentde727649b1d42621378a0195c2a2e7b9c399cf89 (diff)
downloadfreebsd-ports-gnome-13aeecf9f01d47b458fcce10c4dd1a1ab926ce52.tar.gz
freebsd-ports-gnome-13aeecf9f01d47b458fcce10c4dd1a1ab926ce52.tar.zst
freebsd-ports-gnome-13aeecf9f01d47b458fcce10c4dd1a1ab926ce52.zip
Fix misleading option name: the option uses plotutils, not gnuplot
No functional changes PR: 193317 Submitted by: amdmi3
Diffstat (limited to 'lang')
-rw-r--r--lang/algol68g/Makefile25
1 files changed, 9 insertions, 16 deletions
diff --git a/lang/algol68g/Makefile b/lang/algol68g/Makefile
index 12060e2cfbc0..88e56ff6722a 100644
--- a/lang/algol68g/Makefile
+++ b/lang/algol68g/Makefile
@@ -11,8 +11,15 @@ COMMENT= Algol 68 Genie compiler
LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
-OPTIONS_DEFINE= GNUPLOT PGSQL
-OPTIONS_DEFAULT=GNUPLOT PGSQL
+OPTIONS_DEFINE= PLOTUTILS PGSQL
+OPTIONS_DEFAULT=PLOTUTILS PGSQL
+
+PLOTUTILS_DESC= Plotting support via plotutils
+PLOTUTILS_LIB_DEPENDS= libplot.so:${PORTSDIR}/graphics/plotutils
+PLOTUTILS_CONFIGURE_ENABLE=plotutils
+
+PGSQL_USES= pgsql
+PGSQL_CONFIGURE_ENABLE= postgresql
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-compiler
@@ -21,20 +28,6 @@ PLIST_DIRS= include/algol68g
PLIST_FILES= bin/a68g man/man1/a68g.1.gz \
include/algol68g/a68g.h include/algol68g/a68g-config.h
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGNUPLOT}
-LIB_DEPENDS+= libplot.so:${PORTSDIR}/graphics/plotutils
-.else
-CONFIGURE_ARGS+=--disable-plotutils
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PGSQL= yes
-.else
-CONFIGURE_ARGS+=--disable-postgresql
-.endif
-
post-patch:
# Skip broken check, assume our $CC works
@${REINPLACE_CMD} -Ee 's/.*(\*-freebsd)/\1/' \