pkgsrc/devel/p5-Any-Moose/options.mk
wiz 52e3479efe Update to 0.24. Add options.mk file to choose between Mouse and
Moose backends.

0.24      2014-06-23 15:53:03Z
  - fixed bad changelog from last release, doh!

0.23      2014-06-23 13:04:35Z
  - now always prefers Moose if Moo is loaded, to overcome some
    incompatibility issues in subclasses (github #1, Graham Knop)

0.22      2014-06-19 02:30:13Z
  - fix missing =encoding directive in pod
  - canonical repository moved to https://github.com/moose/Any-Moose
2014-09-06 13:29:55 +00:00

18 lines
551 B
Makefile

# $NetBSD: options.mk,v 1.1 2014/09/06 13:29:55 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Any-Moose
PKG_OPTIONS_REQUIRED_GROUPS= backend
PKG_OPTIONS_GROUP.backend= moose mouse
PKG_SUGGESTED_OPTIONS= moose
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmoose)
DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
BUILD_DEPENDS+= p5-MooseX-Types>=0.44nb2:../../devel/p5-MooseX-Types
.endif
.if !empty(PKG_OPTIONS:Mmouse)
DEPENDS+= p5-Mouse-[0-9]*:../../devel/p5-Mouse
BUILD_DEPENDS+= p5-MouseX-Types-[0-9]*:../../devel/p5-MouseX-Types
.endif