summaryrefslogtreecommitdiff
path: root/textproc/ruby-libxslt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-libxslt/Makefile')
-rw-r--r--textproc/ruby-libxslt/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/textproc/ruby-libxslt/Makefile b/textproc/ruby-libxslt/Makefile
new file mode 100644
index 000000000000..b953f3bf578f
--- /dev/null
+++ b/textproc/ruby-libxslt/Makefile
@@ -0,0 +1,38 @@
+# 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
+
+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>