726eb6e2be
Approved by: portmgr (self)
43 lines
914 B
Makefile
43 lines
914 B
Makefile
# 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>
|