Changes: * Several people have been experiencing problems with no method errors on the source index cache. The source index cache is now a bit more self healing. Furthermore, if the source index cache is irreparable, then it is automatically dropped and reloaded. * The source cache files may now be dropped with the "gem sources --clear-all" command. (This command may require root is the system source cache is in a root protected area). * Several sub-commands were accidently dropped from the "gem" command. These commands have been restored.
32 lines
836 B
Makefile
32 lines
836 B
Makefile
# $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"
|