91a4d5dbbf
Reported by: make index
38 lines
859 B
Makefile
38 lines
859 B
Makefile
# New ports collection makefile for: ruby-xmlscan
|
|
# Date created: 7 August 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmlscan
|
|
PORTVERSION= 0.0.10
|
|
CATEGORIES= textproc ruby
|
|
MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc
|
|
|
|
USE_RUBY= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${RUBY_VER} < 1.7
|
|
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
|
|
.endif
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; ${INSTALL_DATA} [hx]*.rb ${RUBY_SITELIBDIR}/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
|
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|