blob: f85ae90da54520cc9f86b635e18ab81e55dc2beb (
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
|
# New ports collection makefile for: ruby-libxslt
# Date created: 19 July 2002
# Whom: Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libxslt
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= textproc ruby
MASTER_SITES= http://www.rubynet.org/modules/xml/libxslt/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= ruby
MAINTAINER= seanc@FreeBSD.org
COMMENT= A developer friendly libxslt binding for Ruby
BUILD_DEPENDS= ${LOCALBASE}/bin/xml2-config:${PORTSDIR}/textproc/libxml2 \
${LOCALBASE}/bin/xslt-config:${PORTSDIR}/textproc/libxslt \
${NONEXISTENT}:${PORTSDIR}/${RUBY_LIBXML_PORT}:patch
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
xslt.2:${PORTSDIR}/textproc/libxslt
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/xml/libxml.so:${PORTSDIR}/textproc/ruby-libxml
USE_BZIP2= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
RUBY_LIBXML_PORT= textproc/ruby-libxml
RUBY_LIBXML_WRKSRC_CMD= cd ${PORTSDIR}/${RUBY_LIBXML_PORT} && ${MAKE} -V WRKSRC
INSTALL_TARGET= site-install
post-extract:
@${MKDIR} ${WRKDIR}
@${LN} -fs `${RUBY_LIBXML_WRKSRC_CMD}` ${WRKDIR}/libxml
.include <bsd.port.mk>
|