2001-06-21 13:37:30 +02:00
|
|
|
# New ports collection makefile for: Ruby/MCrypt
|
|
|
|
# Date created: 20 June 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mcrypt
|
|
|
|
PORTVERSION= 0.2
|
2001-09-17 19:54:27 +02:00
|
|
|
PORTREVISION= 1
|
2001-06-21 13:37:30 +02:00
|
|
|
CATEGORIES= security ruby
|
2004-07-05 21:33:12 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2001-06-21 13:37:30 +02:00
|
|
|
MASTER_SITE_SUBDIR= knu
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2009-06-16 17:53:25 +02:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= A Ruby interface to the mcrypt library
|
2001-06-21 13:37:30 +02:00
|
|
|
|
2003-01-03 20:24:34 +01:00
|
|
|
LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt/
|
2001-06-21 13:37:30 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
|
|
|
DOCS_EN= ChangeLog README TODO
|
|
|
|
|
2007-10-11 21:59:57 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/MCRYPT..(void..)/void, /' \
|
|
|
|
${WRKSRC}/ruby-mcrypt.c
|
|
|
|
|
2001-06-21 13:37:30 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/testmcrypt.rb ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-06-21 13:37:30 +02:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 23:38:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-06-21 13:37:30 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2007-10-11 21:59:57 +02:00
|
|
|
.include <bsd.port.mk>
|