diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
commit | e2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /textproc/libxslt | |
parent | e97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff) | |
download | pkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'textproc/libxslt')
-rw-r--r-- | textproc/libxslt/Makefile | 16 | ||||
-rw-r--r-- | textproc/libxslt/buildlink2.mk | 26 |
2 files changed, 35 insertions, 7 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile index 1e21275a368..bf7ad40405f 100644 --- a/textproc/libxslt/Makefile +++ b/textproc/libxslt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2002/08/22 11:17:33 martti Exp $ +# $NetBSD: Makefile,v 1.8 2002/08/25 18:40:13 jlam Exp $ DISTNAME= libxslt-1.0.19 PKGNAME= ${DISTNAME} @@ -7,19 +7,21 @@ MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/libxslt/} MAINTAINER= packages@netbsd.org HOMEPAGE= http://xmlsoft.org/ -COMMENT= Xslt parser library for GNOME +COMMENT= XSLT parser library for GNOME -USE_BUILDLINK_ONLY= yes +BUILDLINK_DEPENDS.libxml2= libxml2>=2.4.10 + +USE_BUILDLINK2= yes USE_GMAKE= yes USE_LIBTOOL= yes -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-libxml-prefix=${BUILDLINK_DIR} +CONFIGURE_ARGS+= --with-libxml-prefix=${BUILDLINK_PREFIX.libxml2} CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html BUILDLINK_DEPENDS.libxml2= libxml2>=2.4.17 -.include "../../textproc/libxml2/buildlink.mk" -.include "../../lang/perl5/buildlink.mk" +.include "../../textproc/libxml2/buildlink2.mk" +.include "../../lang/perl5/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/libxslt/buildlink2.mk b/textproc/libxslt/buildlink2.mk new file mode 100644 index 00000000000..ce09e46c9ad --- /dev/null +++ b/textproc/libxslt/buildlink2.mk @@ -0,0 +1,26 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:13 jlam Exp $ + +.if !defined(LIBXSLT_BUILDLINK2_MK) +LIBXSLT_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= libxslt +BUILDLINK_DEPENDS.libxslt?= libxslt>=1.0.7 +BUILDLINK_PKGSRCDIR.libxslt?= ../../textproc/libxslt + +EVAL_PREFIX+= BUILDLINK_PREFIX.libxslt=libxslt +BUILDLINK_PREFIX.libxslt_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.libxslt= include/breakpoint/* +BUILDLINK_FILES.libxslt+= include/libexslt/* +BUILDLINK_FILES.libxslt+= include/libxslt/* +BUILDLINK_FILES.libxslt+= lib/libexslt.* +BUILDLINK_FILES.libxslt+= lib/libxslt.* +BUILDLINK_FILES.libxslt+= lib/libxsltbreakpoint.* +BUILDLINK_FILES.libxslt+= lib/xsltConf.sh + +.include "../../textproc/libxml2/buildlink2.mk" + +BUILDLINK_TARGETS+= libxslt-buildlink + +libxslt-buildlink: _BUILDLINK_USE + +.endif # LIBXSLT_BUILDLINK2_MK |