blob: 247597b1d7268ed4310abd09edf9f192245de42e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $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"
|