blob: 4dc444903118a3ca0230a2ff89ca4a636b4d251c (
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
33
34
35
|
# $NetBSD: Makefile,v 1.2 2007/06/09 00:58:51 minskim Exp $
DISTNAME= hpricot-0.5.140
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= textproc ruby
MASTER_SITES= http://code.whytheluckystiff.net/dist/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://code.whytheluckystiff.net/hpricot/
COMMENT= Fast, enjoyable HTML parser for Ruby
BUILD_DEPENDS+= ragel-[0-9]*:../../devel/ragel
BUILD_DEPENDS+= rake>=0.7.3:../../devel/rake
RUBY_HAS_ARCHLIB= yes
FIND_PREFIX:= RAKE_PREFIX=rake
.include "../../mk/find-prefix.mk"
.include "../../lang/ruby/modules.mk"
do-build:
cd ${WRKSRC} && ${RAKE_PREFIX}/bin/rake
do-install:
${INSTALL_LIB} ${WRKSRC}/lib/hpricot_scan.${RUBY_DLEXT} \
${RUBY_SITEARCHLIBDIR}
${INSTALL_DATA} ${WRKSRC}/lib/hpricot.rb ${RUBY_SITELIBDIR}
${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/hpricot
${INSTALL_DATA} ${WRKSRC}/lib/hpricot/*.rb \
${RUBY_SITELIBDIR}/hpricot
.include "../../mk/bsd.pkg.mk"
|