aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-xslt/Makefile
blob: 10bd5e45058319e781b8edeb3ecd73ea64745edf (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
42
43
# New ports collection makefile for:    ruby-xmlscan
# Date created:     22 August 2001
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   xslt
PORTVERSION=    0.3.0
CATEGORIES= textproc ruby
MASTER_SITES=   http://www.webtime-project.net/ruby-xslt/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ruby-${PORTNAME}_${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org
COMMENT=    An XSLT processor in pure Ruby

LIB_DEPENDS=    xml2.5:${PORTSDIR}/textproc/libxml2 \
        xslt.2:${PORTSDIR}/textproc/libxslt

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

WRKSRC=     ${WRKDIR}/ruby-${PORTNAME}

DOCS=       AUTHORS README docs/*.rd doc

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=     "Configure fails on FreeBSD >= 5.x"
.endif

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
    ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
.endfor
.endif

.include <bsd.port.post.mk>