diff options
author | wiz <wiz> | 2005-05-31 21:58:38 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-05-31 21:58:38 +0000 |
commit | a25024745ab913109a1f88efb4d965d0243cf7f8 (patch) | |
tree | 62932f7ce015e19b208d4ff0c16ad76d2118ff03 /chat/irssi/options.mk | |
parent | 456dc405405ac40acb5f6212973ea243907ee3c2 (diff) | |
download | pkgsrc-a25024745ab913109a1f88efb4d965d0243cf7f8.tar.gz |
Convert to options framework.
Diffstat (limited to 'chat/irssi/options.mk')
-rw-r--r-- | chat/irssi/options.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/chat/irssi/options.mk b/chat/irssi/options.mk new file mode 100644 index 00000000000..90f8341bf09 --- /dev/null +++ b/chat/irssi/options.mk @@ -0,0 +1,31 @@ +# $NetBSD: options.mk,v 1.1 2005/05/31 21:58:38 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.irssi +PKG_SUPPORTED_OPTIONS= inet6 irssi-perl ssl +PKG_OPTIONS_LEGACY_VARS+= IRSSI_USE_PERL:irssi-perl IRSSI_USE_SSL:ssl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mirssi-perl) +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Irssi/.packlist +PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/Irc/.packlist +PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/UI/.packlist +PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/TextUI/.packlist +.include "../../lang/perl5/buildlink3.mk" +# actually we don't need --with-perl here, irssi is compiled with it by default +# but who knows what may happen in future versions +CONFIGURE_ARGS+= --with-perl +CONFIGURE_ARGS+= --with-perl-lib=site +.else +CONFIGURE_ARGS+= --with-perl=no +.endif + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + +.if !empty(PKG_OPTIONS:Mssl) +.include "../../security/openssl/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-ssl +.endif |