freebsd-ports/security/ruby-tcpwrap/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby-tcpwrap
# Date created: 15 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= tcpwrap
2003-08-20 20:45:16 +02:00
PORTVERSION= 0.6
CATEGORIES= security ruby
2001-04-16 07:14:48 +02:00
MASTER_SITES= http://www.shugo.net/archive/ruby-tcpwrap/
2000-09-07 09:44:38 +02:00
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
2003-02-18 05:03:45 +01:00
COMMENT= TCP wrappers library for Ruby
2000-09-07 09:44:38 +02:00
BUILD_DEPENDS= ${LOCALBASE}/lib/libident.a:${PORTSDIR}/security/libident
2000-09-07 09:44:38 +02:00
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
CONFIGURE_ARGS= --with-libwrap-dir="/usr" \
--with-ident-dir="${LOCALBASE}"
2000-09-07 09:44:38 +02:00
INSTALL_TARGET= site-install
DOCS_EN= README.en doc/tcpwrap.html.en
DOCS_JA= README.ja doc/tcpwrap.html.ja
post-install:
.if !defined(NOPORTDOCS)
2002-10-06 23:38:34 +02:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
2002-10-06 23:38:34 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
2002-10-06 23:38:34 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>