blob: bd8a2feb0c05bd56bcad5c35ba2b576a88acbc93 (
plain) (
blame)
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
36
37
38
39
40
41
|
# New ports collection makefile for: RwV2
# Date created: 29 September 2003
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= rwv2
PORTVERSION= 0.5.0
PORTREVISION= 2
CATEGORIES= textproc ruby
MASTER_SITES= http://download.ywesee.com/ruby/rwv2/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby extension that wraps around wv2
LIB_DEPENDS= wv2.1:${PORTSDIR}/textproc/wv2
USE_RUBY= yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
CONFIGURE_ARGS= -- \
--with-wv2-include="${LOCALBASE}/include/wv2" \
--with-wv2-lib="${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.8
IGNORE= only works with ruby 1.8 or later
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
.endif
.include <bsd.port.post.mk>
|