aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-13 10:37:17 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-13 10:37:17 +0000
commit326fa0d030243afa48e8024f02388ae68d938143 (patch)
treebe0fc0a83c948e12d37c3bd9f137de3ee1c9d4e2 /textproc
parentfcaeffa9bf79b206563ee98d178718881dbf0352 (diff)
downloadports-326fa0d030243afa48e8024f02388ae68d938143.tar.gz
ports-326fa0d030243afa48e8024f02388ae68d938143.zip
add xslt support
Notes
Notes: svn path=/head/; revision=78862
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xmlwrapp/Makefile8
-rw-r--r--textproc/xmlwrapp/pkg-plist14
2 files changed, 15 insertions, 7 deletions
diff --git a/textproc/xmlwrapp/Makefile b/textproc/xmlwrapp/Makefile
index 9e4b7e0a751b..e2da7f0ab102 100644
--- a/textproc/xmlwrapp/Makefile
+++ b/textproc/xmlwrapp/Makefile
@@ -22,4 +22,12 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.pl
INSTALLS_SHLIB= yes
+.if defined(WITH_XSLT)
+LIB_DEPENDS+= xslt.1:${PORTSDIR}/textproc/libxslt
+PLIST_SUB+= XSLT=""
+.else
+CONFIGURE_ARGS+= --disable-xslt
+PLIST_SUB+= XSLT="@comment "
+.endif
+
.include <bsd.port.mk>
diff --git a/textproc/xmlwrapp/pkg-plist b/textproc/xmlwrapp/pkg-plist
index 8b373ab011ea..a74e09e68358 100644
--- a/textproc/xmlwrapp/pkg-plist
+++ b/textproc/xmlwrapp/pkg-plist
@@ -7,15 +7,15 @@ include/xmlwrapp/init.h
include/xmlwrapp/node.h
include/xmlwrapp/tree_parser.h
include/xmlwrapp/xmlwrapp.h
-include/xsltwrapp/xsltwrapp.h
-include/xsltwrapp/stylesheet.h
-include/xsltwrapp/init.h
@dirrm include/xmlwrapp
-@dirrm include/xsltwrapp
+%%XSLT%%include/xsltwrapp/xsltwrapp.h
+%%XSLT%%include/xsltwrapp/stylesheet.h
+%%XSLT%%include/xsltwrapp/init.h
+%%XSLT%%@dirrm include/xsltwrapp
lib/libxmlwrapp.a
lib/libxmlwrapp.so
lib/libxmlwrapp.so.4
-lib/libxsltwrapp.a
-lib/libxsltwrapp.so
-lib/libxsltwrapp.so.1
+%%XSLT%%lib/libxsltwrapp.a
+%%XSLT%%lib/libxsltwrapp.so
+%%XSLT%%lib/libxsltwrapp.so.1
lib/pkgconfig/xmlwrapp.pc