# New ports collection makefile for: RubyObjectTeams # Date created: 9 November 2002 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= robjectteam PORTVERSION= 1.0 CATEGORIES= devel ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} EXTRACT_SUFX= .tgz DIST_SUBDIR= ruby MAINTAINER= stas@FreeBSD.org COMMENT= Enables the ObjectTeams paradigm to the Ruby language USE_RUBY= yes NO_BUILD= yes PLIST_FILES= %%RUBY_SITELIBDIR%%/objectteam.rb DOCSDIR= ${RUBY_MODDOCDIR} .if !defined(NOPORTDOCS) PORTDOCS= * .endif do-install: cd ${WRKSRC}; ${RUBY} install.rb .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/ @(cd ${WRKSRC}/sample && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR}) @${FIND} ${RUBY_MODEXAMPLESDIR} ! -type d | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${RUBY_MODEXAMPLESDIR} -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .endif post-install: @${FIND} ${RUBY_SITELIBDIR}/objectteam ! -type d | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${RUBY_SITELIBDIR}/objectteam -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include