svn commit: r394668 - head/science/cdo
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Aug 19 01:38:21 UTC 2015
Author: sunpoet
Date: Wed Aug 19 01:38:20 2015
New Revision: 394668
URL: https://svnweb.freebsd.org/changeset/ports/394668
Log:
- Convert to new options dependency helper
Modified:
head/science/cdo/Makefile
Modified: head/science/cdo/Makefile
==============================================================================
--- head/science/cdo/Makefile Wed Aug 19 01:26:39 2015 (r394667)
+++ head/science/cdo/Makefile Wed Aug 19 01:38:20 2015 (r394668)
@@ -16,6 +16,8 @@ LICENSE= GPLv2
OPTIONS_DEFINE= CGRIBEX HDF5 JASPER NETCDF PROJ SZIP UDUNITS
OPTIONS_DEFAULT=CGRIBEX HDF5 JASPER NETCDF PROJ SZIP UDUNITS
OPTIONS_SUB= yes
+HDF5_IMPLIES= SZIP
+NETCDF_IMPLIES= HDF5
PORTSCOUT= site:https://code.zmaw.de/projects/cdo/files
@@ -55,16 +57,6 @@ UDUNITS_CONFIGURE_OFF= --without-udunits
UDUNITS_CONFIGURE_ON= --with-udunits2=${LOCALBASE}
UDUNITS_LIB_DEPENDS= libudunits2.so:${PORTSDIR}/science/udunits
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MHDF5} && !${PORT_OPTIONS:MSZIP}
-IGNORE= HDF5 option requires SZIP option
-.endif
-
-.if ${PORT_OPTIONS:MNETCDF} && !${PORT_OPTIONS:MHDF5}
-IGNORE= NETCDF option requires HDF5 option
-.endif
-
.include <bsd.port.pre.mk>
.if ${ARCH} != "sparc64"
More information about the svn-ports-all
mailing list