original
This commit is contained in:
@ -10,9 +10,9 @@ WWW= https://www.nagios.org/
|
|||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
FLAVORS= default monplugins
|
#FLAVORS= default monplugins
|
||||||
FLAVOR?= ${FLAVORS:[1]}
|
#FLAVOR?= ${FLAVORS:[1]}
|
||||||
monplugins_PKGNAMESUFFIX= -monplugins
|
#monplugins_PKGNAMESUFFIX= -monplugins
|
||||||
|
|
||||||
LIB_DEPENDS= libltdl.so:devel/libltdl \
|
LIB_DEPENDS= libltdl.so:devel/libltdl \
|
||||||
libgd.so:graphics/gd
|
libgd.so:graphics/gd
|
||||||
@ -74,7 +74,8 @@ GROUPS= ${NAGIOSGROUP}
|
|||||||
OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK
|
OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK
|
||||||
OPTIONS_RADIO= PLUGINS
|
OPTIONS_RADIO= PLUGINS
|
||||||
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
|
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
|
||||||
#OPTIONS_DEFAULT= NAGPLUGINS
|
# XXX:
|
||||||
|
OPTIONS_DEFAULT= NAGPLUGINS
|
||||||
EMBEDDED_PERL_DESC= Enable embedded Perl [requires Perl 5.8.0+]
|
EMBEDDED_PERL_DESC= Enable embedded Perl [requires Perl 5.8.0+]
|
||||||
NANOSLEEP_DESC= Use nanosleep in event timing
|
NANOSLEEP_DESC= Use nanosleep in event timing
|
||||||
EVENT_BROKER_DESC= Enable event broker functionality
|
EVENT_BROKER_DESC= Enable event broker functionality
|
||||||
@ -91,13 +92,13 @@ EMBEDDED_PERL_CONFIGURE_WITH= perlcache
|
|||||||
NANOSLEEP_CONFIGURE_ENABLE= nanosleep
|
NANOSLEEP_CONFIGURE_ENABLE= nanosleep
|
||||||
EVENT_BROKER_CONFIGURE_ENABLE= event-broker
|
EVENT_BROKER_CONFIGURE_ENABLE= event-broker
|
||||||
|
|
||||||
.if ${FLAVOR:U} == monplugins
|
#.if ${FLAVOR:U} == monplugins
|
||||||
OPTIONS_DEFAULT+= MONPLUGINS
|
#OPTIONS_DEFAULT+= MONPLUGINS
|
||||||
.endif
|
#.endif
|
||||||
|
|
||||||
.if ${FLAVOR:U} == default
|
#.if ${FLAVOR:U} == default
|
||||||
OPTIONS_DEFAULT+= NAGPLUGINS
|
#OPTIONS_DEFAULT+= NAGPLUGINS
|
||||||
.endif
|
#.endif
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
|
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
|
||||||
|
|||||||
Reference in New Issue
Block a user