freebsd-ports/textproc/ruby-libxslt/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

39 lines
1.1 KiB
Makefile

# 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
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.1:${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>