summaryrefslogtreecommitdiff
path: root/security/ruby-password
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-04-18 17:25:51 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-04-18 17:25:51 +0000
commit6bbdbd573c9949523803be71f33309f0ca158472 (patch)
treeed8583ec7e561125c09e78d3218ccdecfb439953 /security/ruby-password
parent- Update to 1.6.37 (diff)
Update to 0.5.1, with pwgen(1) utility included.
Notes
Notes: svn path=/head/; revision=107451
Diffstat (limited to 'security/ruby-password')
-rw-r--r--security/ruby-password/Makefile10
-rw-r--r--security/ruby-password/distinfo4
-rw-r--r--security/ruby-password/pkg-plist2
3 files changed, 11 insertions, 5 deletions
diff --git a/security/ruby-password/Makefile b/security/ruby-password/Makefile
index 5b3479729e9e..49bb3eaf11fa 100644
--- a/security/ruby-password/Makefile
+++ b/security/ruby-password/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= password
-PORTVERSION= 0.4.1
+PORTVERSION= 0.5.1
CATEGORIES= security ruby
MASTER_SITES= http://www.caliban.org/files/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -21,13 +21,19 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/termios.so:${PORTSDIR}/comms/ruby-termios
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
+RUBY_SHEBANG_FILES= example/*
CONFIGURE_ARGS= --with-crack-dict="${LOCALBASE}/libdata/cracklib/pw_dict.pwd"
INSTALL_TARGET= site-install
-DOCS_EN= CHANGES README doc/password.html
+MAN1= pwgen.1
+MANCOMPRESSED= no
+
+DOCS_EN= CHANGES README
post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/example/pwgen ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/pwgen.1 ${MANPREFIX}/man/man1/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/*.rb ${RUBY_MODEXAMPLESDIR}/
diff --git a/security/ruby-password/distinfo b/security/ruby-password/distinfo
index 35fc59bfcdbd..56728ca71fc7 100644
--- a/security/ruby-password/distinfo
+++ b/security/ruby-password/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/ruby-password-0.4.1.tar.gz) = 23a341156c8fccc4c31e5700b092ae7b
-SIZE (ruby/ruby-password-0.4.1.tar.gz) = 17098
+MD5 (ruby/ruby-password-0.5.1.tar.gz) = 19b77a32335d96a0f876589b09672925
+SIZE (ruby/ruby-password-0.5.1.tar.gz) = 22412
diff --git a/security/ruby-password/pkg-plist b/security/ruby-password/pkg-plist
index cf9991ca6d0c..38b051e8c2b8 100644
--- a/security/ruby-password/pkg-plist
+++ b/security/ruby-password/pkg-plist
@@ -1,8 +1,8 @@
+bin/pwgen
%%RUBY_SITEARCHLIBDIR%%/crack.so
%%RUBY_SITELIBDIR%%/password.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/password.html
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%