freebsd-ports/textproc/ruby-libxml/Makefile
Martin Wilke e1b6454127 - Update to 0.5.2.0
PR:		120273
Submitted by:	Pietro Cerutti <gahr@gahr.ch> (maintainer)
2008-02-13 17:49:23 +00:00

43 lines
993 B
Makefile

# New ports collection makefile for: ruby-libxml
# Date created: 09 July 2002
# Whom: Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libxml
PORTVERSION= 0.5.2.0
CATEGORIES= textproc ruby
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= libxml
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
MAINTAINER= gahr@gahr.ch
COMMENT= A friendly API to libxml for Ruby
BUILD_DEPENDS= rake:${PORTSDIR}/devel/rubygem-rake \
xml2-config:${PORTSDIR}/textproc/libxml2 \
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/xml/libxml_so.so \
%%RUBY_SITELIBDIR%%/xml/libxml.rb
PLIST_DIRS= %%RUBY_SITEARCHLIBDIR%%/xml \
%%RUBY_SITELIBDIR%%/xml
USE_RUBY= yes
USE_ICONV= yes
USE_LDCONFIG= yes
post-patch:
${REINPLACE_CMD} -e 's|%%%PREFIX%%%|${PREFIX}|g' \
${WRKSRC}/ext/xml/extconf.rb
do-build:
cd ${WRKSRC} && rake test
do-install:
cd ${WRKSRC} && rake install
.include <bsd.port.mk>