summaryrefslogtreecommitdiff
path: root/graphics/fnlib/buildlink2.mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-25 18:38:05 +0000
committerjlam <jlam>2002-08-25 18:38:05 +0000
commitf22b8c42a61ccfbb462bf2b94c3486b7baec18bd (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /graphics/fnlib/buildlink2.mk
parent71eaa77968f19e23d72fdc88e5f38259b8f7cdf3 (diff)
downloadpkgsrc-f22b8c42a61ccfbb462bf2b94c3486b7baec18bd.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 'graphics/fnlib/buildlink2.mk')
-rw-r--r--graphics/fnlib/buildlink2.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/fnlib/buildlink2.mk b/graphics/fnlib/buildlink2.mk
new file mode 100644
index 00000000000..ba9e8018f2c
--- /dev/null
+++ b/graphics/fnlib/buildlink2.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:58 jlam Exp $
+
+.if !defined(FNLIB_BUILDLINK2_MK)
+FNLIB_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= fnlib
+BUILDLINK_DEPENDS.fnlib?= fnlib>=0.5nb1
+BUILDLINK_PKGSRCDIR.fnlib?= ../../graphics/fnlib
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.fnlib=fnlib
+BUILDLINK_PREFIX.fnlib_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.fnlib= include/Fnlib*
+BUILDLINK_FILES.fnlib+= lib/libFnlib.*
+
+.include "../../graphics/imlib/buildlink2.mk"
+
+BUILDLINK_TARGETS+= fnlib-buildlink
+
+fnlib-buildlink: _BUILDLINK_USE
+
+.endif # FNLIB_BUILDLINK2_MK