summaryrefslogtreecommitdiff
path: root/textproc/xmlwrapp
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/xmlwrapp
parentfix build on perl 5.005_03 for finance/p5-Business-OnlinePayment-SurePay (diff)
add xslt support
Notes
Notes: svn path=/head/; revision=78862
Diffstat (limited to 'textproc/xmlwrapp')
-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