diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-31 19:19:32 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-31 19:19:32 +0800 |
commit | 68b530317704ed344f567080786046479ed054fb (patch) | |
tree | 93fe9eebc56e2451ba426603948adb8749cb38e9 /astro | |
parent | aedee365f6b7833ae31d4b673dcd979c369e4ac2 (diff) | |
download | freebsd-ports-graphics-68b530317704ed344f567080786046479ed054fb.tar.gz freebsd-ports-graphics-68b530317704ed344f567080786046479ed054fb.tar.zst freebsd-ports-graphics-68b530317704ed344f567080786046479ed054fb.zip |
Convert to new options framework
Diffstat (limited to 'astro')
-rw-r--r-- | astro/p5-Astro-satpass/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/astro/p5-Astro-satpass/Makefile b/astro/p5-Astro-satpass/Makefile index f3df0c4107b..18747a3422f 100644 --- a/astro/p5-Astro-satpass/Makefile +++ b/astro/p5-Astro-satpass/Makefile @@ -21,11 +21,13 @@ LICENSE_COMB= dual BUILD_DEPENDS= p5-Date-Manip>=1.14:${PORTSDIR}/devel/p5-Date-Manip RUN_DEPENDS= p5-Date-Manip>=1.14:${PORTSDIR}/devel/p5-Date-Manip -OPTIONS= GEOCODER_US "Add support for Geo::Coder::Geocoder::US" on \ - SIMBAD "Add support for Astro::SIMBAD::Client" on \ - SOAPLITE "Add support for SOAP::Lite (deprecated)" off \ - SPACETRACK "Add support for Astro::SpaceTrack" on \ - USGS "Add support for Geo::WebService::Elevation::USGS" on +OPTIONS_DEFINE= GEOCODER_US SIMBAD SOAPLITE SPACETRACK USGS +OPTIONS_DEFAULT= GEOCODER_US SIMBAD SPACETRACK USGS +GEOCODER_US_DESC= Add support for Geo::Coder::Geocoder::US +SIMBAD_DESC= Add support for Astro::SIMBAD::Client +SOAPLITE_DESC= Add support for SOAP::Lite (deprecated) +SPACETRACK_DESC= Add support for Astro::SpaceTrack +USGS_DESC= Add support for Geo::WebService::Elevation::USGS CONFIGURE_ARGS= -y PERL_CONFIGURE= yes @@ -44,23 +46,23 @@ MAN3= Astro::Coord::ECI.3 \ .include <bsd.port.options.mk> -.if !defined(WITHOUT_GEOCODER_US) +.if ${PORT_OPTIONS:MGEOCODER_US} RUN_DEPENDS+= p5-Geo-Coder-Geocoder-US>=0:${PORTSDIR}/misc/p5-Geo-Coder-Geocoder-US .endif -.if !defined(WITHOUT_SIMBAD) +.if ${PORT_OPTIONS:MSIMBAD} RUN_DEPENDS+= p5-Astro-SIMBAD-Client>=0:${PORTSDIR}/astro/p5-Astro-SIMBAD-Client .endif -.if !defined(WITHOUT_SPACETRACK) +.if ${PORT_OPTIONS:MSPACETRACK} RUN_DEPENDS+= p5-Astro-SpaceTrack>=0:${PORTSDIR}/astro/p5-Astro-SpaceTrack .endif -.if !defined(WITHOUT_USGS) +.if ${PORT_OPTIONS:MUSGS} RUN_DEPENDS+= p5-Geo-WebService-Elevation-USGS>=0:${PORTSDIR}/science/p5-Geo-WebService-Elevation-USGS .endif -.if defined(WITH_SOAPLITE) +.if ${PORT_OPTIONS:MSOAPLITE} RUN_DEPENDS+= p5-SOAP-Lite>=0:${PORTSDIR}/net/p5-SOAP-Lite .endif |