# New ports collection makefile for: ruby-radius # Date created: 11 November 2002 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= radius PORTVERSION= 1.0.0 CATEGORIES= net ruby MASTER_SITES= http://savannah.gnu.org/download/ruby-radius/ruby-radius.pkg/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTVERSION} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org USE_RUBY= yes RUBY_SHEBANG_FILES= ${WRKSRC}/examples/* NO_BUILD= yes DOCS= README doc/* do-install: cd ${WRKSRC}; ${RUBY} install.rb .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/ .endif .include