# $NetBSD: Makefile,v 1.10 2007/05/30 19:09:33 minskim Exp $ DISTNAME= rubygems-0.9.4 CATEGORIES= misc ruby MASTER_SITES= http://rubyforge.org/frs/download.php/20989/ EXTRACT_SUFX= .tgz MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://www.rubygems.org/ COMMENT= Ruby standard for publishing and managing third party libraries RUBY_REQD= 1.8.3 USE_RUBY_SETUP= yes REPLACE_RUBY_DIRS= ${WRKSRC}/bin REPLACE_FILE_PAT= [a-z]* PLIST_SRC= ${PKGDIR}/PLIST.common PLIST_SRC+= ${WRKDIR}/PLIST_DYNAMIC PLIST_SRC+= ${PKGDIR}/PLIST.common_end .include "../../lang/ruby/modules.mk" post-install: ${RM} -f ${WRKDIR}/PLIST_DYNAMIC ${FIND} ${PREFIX}/lib/ruby/gems/1.8/doc/${DISTNAME}/rdoc \ -type f -print \ | ${SORT} -r \ | ${SED} 's;${PREFIX}/;;g' \ >> ${WRKDIR}/PLIST_DYNAMIC .include "../../mk/bsd.pkg.mk"