diff options
Diffstat (limited to 'textproc/ruby-xmlparser/Makefile')
-rw-r--r-- | textproc/ruby-xmlparser/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/textproc/ruby-xmlparser/Makefile b/textproc/ruby-xmlparser/Makefile new file mode 100644 index 00000000000..c48f5e13c04 --- /dev/null +++ b/textproc/ruby-xmlparser/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/11/28 04:51:38 taca Exp $ +# + +DISTNAME= xmlparser-0.6.8 +PKGNAME= ${RUBY_PKGPREFIX}-xmlparser-0.6.8 +CATEGORIES= textproc ruby +MASTER_SITES= http://www.yoshidam.net/ + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= http://www.yoshidam.net/Ruby.html#xmlparser +COMMENT= expat interface module for Ruby + +USE_BUILDLINK3= yes +USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS+= --with-perl-enc-map +WRKSRC= ${WRKDIR}/xmlparser +REPLACE_RUBY_DIRS= ${WRKSRC}/samples + +pre-patch: + ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}/samples; ${RM} -r */CVS + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlparser + ${CP} -r ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/xmlparser + +.include "../../lang/ruby/modules.mk" +.include "../../textproc/expat/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |