summaryrefslogtreecommitdiff
path: root/mail/drac
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-05-20 12:49:32 +0000
committerwiz <wiz@pkgsrc.org>2002-05-20 12:49:32 +0000
commit265c857ecc1604f6cc9c177c544a37312f6dd788 (patch)
tree7484285c22b49f6421a3a65cb58bd7d4bc4b4dcc /mail/drac
parent1eae301bab981ed5ddb804411d6f1b23d359bef6 (diff)
downloadpkgsrc-265c857ecc1604f6cc9c177c544a37312f6dd788.tar.gz
Add buildlink.mk.
Diffstat (limited to 'mail/drac')
-rw-r--r--mail/drac/buildlink.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/mail/drac/buildlink.mk b/mail/drac/buildlink.mk
new file mode 100644
index 00000000000..3f57b9ef336
--- /dev/null
+++ b/mail/drac/buildlink.mk
@@ -0,0 +1,37 @@
+# $NetBSD: buildlink.mk,v 1.1 2002/05/20 12:49:32 wiz Exp $
+#
+# This Makefile fragment is included by packages that use drac.
+#
+# This file was created automatically using createbuildlink 1.5.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.drac to the dependency pattern
+# for the version of drac 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(DRAC_BUILDLINK_MK)
+DRAC_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.drac?= drac>=1.10
+DEPENDS+= ${BUILDLINK_DEPENDS.drac}:../../mail/drac
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.drac=drac
+BUILDLINK_PREFIX.drac_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.drac+= include/drac.h
+BUILDLINK_FILES.drac+= lib/libdrac.*
+
+
+BUILDLINK_TARGETS.drac= drac-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.drac}
+
+pre-configure: ${BUILDLINK_TARGETS}
+drac-buildlink: _BUILDLINK_USE
+
+.endif # DRAC_BUILDLINK_MK