aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-05-26 09:44:10 +0800
committerdanfe <danfe@FreeBSD.org>2005-05-26 09:44:10 +0800
commitcdde2019b9bb0a243c22cfc4b7ec4e4f55edbd27 (patch)
tree8b746810e568ddb25f7ae1e3eb4814683ce8a1a8 /net
parent75a120a8731e5873e6301a904627e6ab9d41d512 (diff)
downloadfreebsd-ports-gnome-cdde2019b9bb0a243c22cfc4b7ec4e4f55edbd27.tar.gz
freebsd-ports-gnome-cdde2019b9bb0a243c22cfc4b7ec4e4f55edbd27.tar.zst
freebsd-ports-gnome-cdde2019b9bb0a243c22cfc4b7ec4e4f55edbd27.zip
Convert to OPTIONS.
Approved by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/mpich/Makefile10
-rw-r--r--net/mpich2/Makefile10
2 files changed, 14 insertions, 6 deletions
diff --git a/net/mpich/Makefile b/net/mpich/Makefile
index 18ccfa50fe41..722a8e819daa 100644
--- a/net/mpich/Makefile
+++ b/net/mpich/Makefile
@@ -20,6 +20,13 @@ COMMENT= Message Passing Interface (MPI) Library
CONFIGURE_ARGS= -prefix=${PREFIX}/mpich
+OPTIONS= X11 "Enable MPE graphics" on \
+ TK "Build with TK support" on \
+ JAVA "Build with Java support" off \
+ SSH "Enable SSH client support" on
+
+.include <bsd.port.pre.mk>
+
.if defined(WITHOUT_X11)
WITHOUT_TK= yes
CONFIGURE_ARGS+=--disable-mpe_graphics
@@ -177,9 +184,6 @@ MAN4= CLOG_Init.4 CLOG_commtype.4 CLOG_cput.4 CLOG_csync.4 \
MPE_Describe_event.4 MPE_Get_mouse_press.4 MPE_Make_color_array.4 \
MPE_Print_datatype_unpack_action.4
-.include <bsd.port.pre.mk>
-
-# To disable ssh client support, build with WITHOUT_SSH set.
# Use ssh instead of rsh
.if !defined(WITHOUT_SSH)
.if ${OSVERSION} >= 400016 && exists(/usr/bin/ssh)
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile
index 18ccfa50fe41..722a8e819daa 100644
--- a/net/mpich2/Makefile
+++ b/net/mpich2/Makefile
@@ -20,6 +20,13 @@ COMMENT= Message Passing Interface (MPI) Library
CONFIGURE_ARGS= -prefix=${PREFIX}/mpich
+OPTIONS= X11 "Enable MPE graphics" on \
+ TK "Build with TK support" on \
+ JAVA "Build with Java support" off \
+ SSH "Enable SSH client support" on
+
+.include <bsd.port.pre.mk>
+
.if defined(WITHOUT_X11)
WITHOUT_TK= yes
CONFIGURE_ARGS+=--disable-mpe_graphics
@@ -177,9 +184,6 @@ MAN4= CLOG_Init.4 CLOG_commtype.4 CLOG_cput.4 CLOG_csync.4 \
MPE_Describe_event.4 MPE_Get_mouse_press.4 MPE_Make_color_array.4 \
MPE_Print_datatype_unpack_action.4
-.include <bsd.port.pre.mk>
-
-# To disable ssh client support, build with WITHOUT_SSH set.
# Use ssh instead of rsh
.if !defined(WITHOUT_SSH)
.if ${OSVERSION} >= 400016 && exists(/usr/bin/ssh)