summaryrefslogtreecommitdiff
path: root/mail/drac
diff options
context:
space:
mode:
authorwiz <wiz>2002-05-20 12:49:32 +0000
committerwiz <wiz>2002-05-20 12:49:32 +0000
commitffef1ec6a6889f82b333fa7d242dc9efea70bb36 (patch)
tree7484285c22b49f6421a3a65cb58bd7d4bc4b4dcc /mail/drac
parent3ab92ba41185c3847126a8195770fe38b14370d0 (diff)
downloadpkgsrc-ffef1ec6a6889f82b333fa7d242dc9efea70bb36.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