Merge from vendor branch TNF:
[pkgsrc.git] / security / ruby-password / Makefile
1 # $NetBSD: Makefile,v 1.3 2010/01/27 21:31:43 joerg Exp $
2
3 DISTNAME=       ruby-password-0.5.3
4 PKGNAME=        ${DISTNAME:S/ruby/${RUBY_PKGPREFIX}/}
5 PKGREVISION=    1
6 CATEGORIES=     security
7 MASTER_SITES=   http://www.caliban.org/files/ruby/
8
9 MAINTAINER=     minskim@NetBSD.org
10 HOMEPAGE=       http://www.caliban.org/ruby/ruby-password.shtml
11 COMMENT=        Suite of password handling methods for Ruby
12 LICENSE=        gnu-gpl-v2 OR gnu-gpl-v3
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 DEPENDS+=       ${RUBY_PKGPREFIX}-termios>=0.9.5:../../comms/ruby-termios
17
18 USE_RUBY_EXTCONF=       yes
19
20 SUBST_CLASSES+=         pwdict
21 SUBST_MESSAGE.pwdict=   Fixing a hardcoded path to pw_dict.pwd.
22 SUBST_STAGE.pwdict=     pre-configure
23 SUBST_FILES.pwdict=     extconf.rb
24 SUBST_SED.pwdict=       -e 's,/usr/local/lib/,${BUILDLINK_PREFIX.libcrack}/libdata/,g'
25
26 .include "../../lang/ruby/modules.mk"
27 .include "../../security/libcrack/buildlink3.mk"
28 .include "../../mk/bsd.pkg.mk"