summaryrefslogtreecommitdiff
path: root/net/oinkmaster/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'net/oinkmaster/options.mk')
-rw-r--r--net/oinkmaster/options.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/oinkmaster/options.mk b/net/oinkmaster/options.mk
new file mode 100644
index 00000000000..d64ac6031dd
--- /dev/null
+++ b/net/oinkmaster/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2008/12/08 13:05:22 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.oinkmaster
+
+PKG_SUPPORTED_OPTIONS= oinkmaster-perl-tools
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Use perl tools for downloading rule files
+###
+.if !empty(PKG_OPTIONS:Moinkmaster-perl-tools)
+DEPENDS+= p5-Archive-Tar-[0-9]*:../../archivers/p5-Archive-Tar
+DEPENDS+= p5-IO-Zlib-[0-9]*:../../devel/p5-IO-Zlib
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+.else
+DEPENDS+= wget>=1.00:../../net/wget
+.endif