head	1.17;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.06.01.19;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.08.03.15.54.35;	author cs;	state Exp;
branches;
next	1.15;

1.15
date	2012.02.12.22.26.55;	author pgollucci;	state Exp;
branches;
next	1.14;

1.14
date	2012.02.10.21.30.07;	author pgollucci;	state Exp;
branches;
next	1.13;

1.13
date	2011.11.01.22.59.35;	author pgollucci;	state Exp;
branches;
next	1.12;

1.12
date	2011.10.24.03.33.14;	author stas;	state Exp;
branches;
next	1.11;

1.11
date	2011.06.26.03.21.26;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2007.06.24.08.40.45;	author stas;	state Exp;
branches;
next	1.9;

1.9
date	2006.10.03.13.20.15;	author stas;	state Exp;
branches;
next	1.8;

1.8
date	2005.11.11.01.17.48;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2004.12.25.22.17.22;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.18.17.25.51;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2003.12.15.06.46.42;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.18.05.33.50;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2002.10.06.21.36.25;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2002.10.05.20.25.43;	author knu;	state Exp;
branches;
next	1.1;

1.1
date	2002.09.19.20.05.56;	author knu;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switch exporter over
@
text
@# New ports collection makefile for:	Ruby/Password
# Date created:		18 September 2002
# Whom:			Akinori MUSHA aka knu <knu@@idaemons.org>
#
# $FreeBSD: head/security/ruby-password/Makefile 301960 2012-08-03 15:54:35Z cs $
#

PORTNAME=	password
PORTVERSION=	0.5.3
PORTREVISION=	4
CATEGORIES=	security ruby
MASTER_SITES=	http://www.caliban.org/files/ruby/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER=	ruby@@FreeBSD.org
COMMENT=	A Ruby library to create, verify, and manipulate passwords

LIB_DEPENDS=	crack.10:${PORTSDIR}/security/cracklib
RUN_DEPENDS=	rubygem-ruby-termios>=0:${PORTSDIR}/comms/rubygem-ruby-termios

USE_RUBY=	yes
USE_RUBY_EXTCONF=	yes
RUBY_SHEBANG_FILES=	example/*
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=		ruby-pwgen.1
MANCOMPRESSED=	no

DOCS_EN=	CHANGES README

post-patch:
	@@${REINPLACE_CMD} -E -e 's,([^[:alpha:]]+)crack.h,\1packer.h,g' \
		${WRKSRC}/rbcrack.c ${WRKSRC}/extconf.rb

post-install:
	${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}
	${INSTALL_DATA} ${WRKSRC}/example/*.rb ${RUBY_MODEXAMPLESDIR}/
	${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
.endif

.include <bsd.port.mk>
@


1.16
log
@SVN rev 301960 on 2012-08-03 15:54:35Z by cs

Fix typos and make small modifications in COMMENT (according to Porter's
Handbook)

Approved by:	portmgr@@ (implicit)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@- Pregenerate pw_dict since cracklib stopped distributing one
  which dependant ports require at build-time.
- Convert dependant ports to LIB_DEPENDS
- Bump PORTREVISIONs

Reported by:    pav via pointyhat
@
text
@d18 1
a18 1
COMMENT=	A Ruby library to create, verify and manipulate passwords
@


1.14
log
@- Chase shlib bump for security/cracklib from .1 -> .10

Forgotten by:   myself (pgollucci)
Reported by:    pav via pointyhat
@
text
@d10 1
a10 1
PORTREVISION=	3
d20 1
a20 1
LIB_DEPENDS=	crack:${PORTSDIR}/security/cracklib
@


1.13
log
@Send ports@@ ruby ports over ruby@@
most of these were from stas@@
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.12
log
@- Return my ports back to the pool.  I was unable to make any fixes to
  my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
@
text
@d17 1
a17 1
MAINTAINER=	ports@@FreeBSD.org
@


1.11
log
@- Update to 0.9.6
- Unbreak with ruby 1.9   <=0.9.5  doesn't build with ruby 1.9
- Development of ruby's termios has moved
- Name changed to termios -> ruby-termios
- Bump PORTREVISION on ports with dependency changes

With Hat:       ruby@@
Sponsored by:   RideCharge Inc. / TaxiMagic
Checked by:     make index
@
text
@d17 1
a17 1
MAINTAINER=	stas@@FreeBSD.org
@


1.10
log
@- 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
@
text
@d10 1
a10 1
PORTREVISION=	1
d21 1
a21 1
RUN_DEPENDS=	${LOCALBASE}/${SADIR}/termios.so:${PORTSDIR}/comms/ruby-termios
@


1.9
log
@- Update to 0.5.3
- PREFIX safety
- Take maintainership

Approved by:	sem (mentor)
@
text
@d10 1
d20 1
a20 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
d31 1
a31 1
MAN1=		pwgen.1
d41 2
a42 2
	${INSTALL_SCRIPT} ${WRKSRC}/example/pwgen ${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/pwgen.1 ${MANPREFIX}/man/man1/
@


1.8
log
@With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.2
d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
d20 1
a20 1
RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/termios.so:${PORTSDIR}/comms/ruby-termios
d25 1
d35 4
d44 1
d46 1
a46 4
	${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS_EN}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
@


1.7
log
@Update to 0.5.2.
@
text
@d16 1
a16 1
MAINTAINER=	knu@@FreeBSD.org
@


1.6
log
@Update to 0.5.1, with pwgen(1) utility included.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.1
@


1.5
log
@Update to 0.4.1.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.1
d24 1
d29 4
a32 1
DOCS_EN=	CHANGES README doc/password.html
d35 2
@


1.4
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.0
@


1.3
log
@Use RUBY_MOD*.
@
text
@d17 1
@


1.2
log
@Update to 0.3.0.
@
text
@d31 3
a33 3
	${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/example/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
	${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
d35 1
a35 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
@


1.1
log
@Add ruby-password, a Ruby library to create, verify and manipulate
passwords.
@
text
@d9 1
a9 1
PORTVERSION=	0.2.0
d32 1
a32 1
	${INSTALL_DATA} ${WRKSRC}/examples/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
@

