summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-08-19 19:09:40 +0000
committerjlam <jlam@pkgsrc.org>2001-08-19 19:09:40 +0000
commit3aea762a167077d88d385700108859caf965ba15 (patch)
treed2af72a3ce715bbcc2153591f3aacb5571479ae8 /converters
parent19247a5f26cc00846bd52015ea13e57d1a32117c (diff)
downloadpkgsrc-3aea762a167077d88d385700108859caf965ba15.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/Makefile3
-rw-r--r--converters/xlHtml-mixedcase/buildlink.mk34
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