summaryrefslogtreecommitdiff
path: root/security/ruby-password/Makefile
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/Makefile
parent- Drop FreeBSD 4.x bits. (diff)
- Add missed run-time dependency by convrting build depends to lib depends
- Change the name of utility to not conflict wih pwgen - Bump up PORTREVISION. Submitted by: Jan Srzednicki <w@wrzask.pl> PR: ports/112996
Notes
Notes: svn path=/head/; revision=194163
Diffstat (limited to 'security/ruby-password/Makefile')
-rw-r--r--security/ruby-password/Makefile9
1 files changed, 5 insertions, 4 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}