2002-09-19 22:05:56 +02:00
|
|
|
# New ports collection makefile for: Ruby/Password
|
|
|
|
# Date created: 18 September 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= password
|
2002-10-05 22:25:44 +02:00
|
|
|
PORTVERSION= 0.3.0
|
2002-09-19 22:05:56 +02:00
|
|
|
CATEGORIES= security ruby
|
|
|
|
MASTER_SITES= http://www.caliban.org/files/ruby/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= A Ruby library to create, verify and manipulate passwords
|
2002-09-19 22:05:56 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
|
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/termios.so:${PORTSDIR}/comms/ruby-termios
|
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-crack-dict="${LOCALBASE}/libdata/cracklib/pw_dict.pwd"
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
|
|
|
DOCS_EN= CHANGES README doc/password.html
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example/*.rb ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2002-09-19 22:05:56 +02:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 23:38:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2002-09-19 22:05:56 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|