aboutsummaryrefslogtreecommitdiff
path: root/security/ruby-password
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2007-06-24 08:40:45 +0000
committerStanislav Sedov <stas@FreeBSD.org>2007-06-24 08:40:45 +0000
commit3a32e373a59979ae95738b53cd4ed5b3677c376b (patch)
treeddfc46b92f3c948e7540e4fada86563bb3fd1e7a /security/ruby-password
parent8a93f3c748187ae82283834b70c118712b0075fa (diff)
downloadports-3a32e373a59979ae95738b53cd4ed5b3677c376b.tar.gz
ports-3a32e373a59979ae95738b53cd4ed5b3677c376b.zip
Notes
Diffstat (limited to 'security/ruby-password')
-rw-r--r--security/ruby-password/Makefile9
-rw-r--r--security/ruby-password/pkg-plist2
2 files changed, 6 insertions, 5 deletions
diff --git a/security/ruby-password/Makefile b/security/ruby-password/Makefile
index 3f1f05ef2127..ad60410c0db9 100644
--- a/security/ruby-password/Makefile
+++ b/security/ruby-password/Makefile
@@ -7,6 +7,7 @@
PORTNAME= password
PORTVERSION= 0.5.3
+PORTREVISION= 1
CATEGORIES= security ruby
MASTER_SITES= http://www.caliban.org/files/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -16,7 +17,7 @@ DIST_SUBDIR= ruby
MAINTAINER= stas@FreeBSD.org
COMMENT= A Ruby library to create, verify and manipulate passwords
-BUILD_DEPENDS= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
+LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
RUN_DEPENDS= ${LOCALBASE}/${SADIR}/termios.so:${PORTSDIR}/comms/ruby-termios
USE_RUBY= yes
@@ -27,7 +28,7 @@ SADIR= lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
CONFIGURE_ARGS= --with-crack-dict="${LOCALBASE}/libdata/cracklib/pw_dict.pwd"
INSTALL_TARGET= site-install
-MAN1= pwgen.1
+MAN1= ruby-pwgen.1
MANCOMPRESSED= no
DOCS_EN= CHANGES README
@@ -37,8 +38,8 @@ post-patch:
${WRKSRC}/rbcrack.c ${WRKSRC}/extconf.rb
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/example/pwgen ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/pwgen.1 ${MANPREFIX}/man/man1/
+ ${INSTALL_SCRIPT} ${WRKSRC}/example/pwgen ${PREFIX}/bin/ruby-pwgen
+ ${INSTALL_MAN} ${WRKSRC}/pwgen.1 ${MANPREFIX}/man/man1/ruby-pwgen.1
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${MKDIR} ${RUBY_MODDOCDIR}
diff --git a/security/ruby-password/pkg-plist b/security/ruby-password/pkg-plist
index 270d95e8bc9a..f6602a80578b 100644
--- a/security/ruby-password/pkg-plist
+++ b/security/ruby-password/pkg-plist
@@ -1,4 +1,4 @@
-bin/pwgen
+bin/ruby-pwgen
%%RUBY_SITEARCHLIBDIR%%/crack.so
%%RUBY_SITELIBDIR%%/password.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES