# Created by: Akinori MUSHA aka knu # $FreeBSD: head/security/ruby-tcpwrap/Makefile 412349 2016-04-01 14:25:16Z mat $ PORTNAME= tcpwrap PORTVERSION= 0.6 PORTREVISION= 1 CATEGORIES= security ruby MASTER_SITES= http://shugo.net/archive/ruby-tcpwrap/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= TCP wrappers library for Ruby LIB_DEPENDS= libident.so:security/libident OPTIONS_DEFINE= DOCS USE_RUBY= yes USE_RUBY_EXTCONF= yes WRKSRC= ${WRKDIR}/ruby-${PORTNAME} CONFIGURE_ARGS= --with-libwrap-dir=/usr \ --with-ident-dir="${LOCALBASE}" MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \ INSTALL_DATA="${INSTALL_DATA}" INSTALL_TARGET= site-install DOCS_EN= README.en doc/tcpwrap.html.en DOCS_JA= README.ja doc/tcpwrap.html.ja post-install: ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${STAGEDIR}${RUBY_MODDOCDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .include