pkgsrc/net/oinkmaster/options.mk
adrianp 56e1b071d4 Oinkmaster can either use external tools or Perl modules to do it's job
so expose this via options.mk
Silence SUBST_SED pkglint warning
PKGREVISION++
2008-12-08 13:05:22 +00:00

18 lines
497 B
Makefile

# $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