diff options
author | jlam <jlam> | 2001-08-19 19:09:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-08-19 19:09:40 +0000 |
commit | 96131f73ab01d39326e16a5d44472754c12a157b (patch) | |
tree | d2af72a3ce715bbcc2153591f3aacb5571479ae8 /converters | |
parent | a5adc791182a22558465168de374caa33bc0eb1d (diff) | |
download | pkgsrc-96131f73ab01d39326e16a5d44472754c12a157b.tar.gz |
Mark as USE_BUILDLINK_ONLY and add a buildlink.mk file for use by other
package Makefiles.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/xlHtml-mixedcase/Makefile | 3 | ||||
-rw-r--r-- | converters/xlHtml-mixedcase/buildlink.mk | 34 |
2 files changed, 36 insertions, 1 deletions
diff --git a/converters/xlHtml-mixedcase/Makefile b/converters/xlHtml-mixedcase/Makefile index a2c8d74b583..cdbacccb0e0 100644 --- a/converters/xlHtml-mixedcase/Makefile +++ b/converters/xlHtml-mixedcase/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 13:23:51 agc Exp $ +# $NetBSD: Makefile,v 1.2 2001/08/19 19:09:40 jlam Exp $ # DISTNAME= xlHtml-0.2.8 @@ -12,6 +12,7 @@ COMMENT= Microsoft xls/ppt to HTML converter BUILD_DEPENDS+= autoconf-*:../../devel/autoconf BUILD_DEPENDS+= automake-*:../../devel/automake +USE_BUILDLINK_ONLY= YES GNU_CONFIGURE= YES USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig diff --git a/converters/xlHtml-mixedcase/buildlink.mk b/converters/xlHtml-mixedcase/buildlink.mk new file mode 100644 index 00000000000..b772029c4a7 --- /dev/null +++ b/converters/xlHtml-mixedcase/buildlink.mk @@ -0,0 +1,34 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/08/19 19:09:40 jlam Exp $ +# +# This Makefile fragment is included by packages that use xlHtml. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.xlHtml to the dependency pattern +# for the version of xlHtml desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(XLHTML_BUILDLINK_MK) +XLHTML_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.xlHtml?= xlHtml>=0.2.8 +DEPENDS+= ${BUILDLINK_DEPENDS.xlHtml}:../../databases/xlHtml + +EVAL_PREFIX+= BUILDLINK_PREFIX.xlHtml=xlHtml +BUILDLINK_PREFIX.xlHtml_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.xlHtml= include/cole/* +BUILDLINK_FILES.xlHtml+= lib/libcole.* + +BUILDLINK_TARGETS.xlHtml= xlHtml-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.xlHtml} + +pre-configure: ${BUILDLINK_TARGETS.xlHtml} +xlHtml-buildlink: _BUILDLINK_USE + +.endif # XLHTML_BUILDLINK_MK |