summaryrefslogtreecommitdiff
path: root/security/libgcrypt/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/libgcrypt/buildlink2.mk')
-rw-r--r--security/libgcrypt/buildlink2.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/security/libgcrypt/buildlink2.mk b/security/libgcrypt/buildlink2.mk
new file mode 100644
index 00000000000..926600adcf4
--- /dev/null
+++ b/security/libgcrypt/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/02/02 17:27:48 tron Exp $
+
+.if !defined(LIBGCRYPT_BUILDLINK2_MK)
+LIBGCRYPT_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libgcrypt
+BUILDLINK_DEPENDS.libgcrypt?= libgcrypt>=1.1.11
+BUILDLINK_PKGSRCDIR.libgcrypt?= ../../security/libgcrypt
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libgcrypt=libgcrypt
+BUILDLINK_PREFIX.libgcrypt_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libgcrypt+= include/gcrypt.h
+BUILDLINK_FILES.libgcrypt+= lib/libgcrypt.*
+
+BUILDLINK_TARGETS+= libgcrypt-buildlink
+
+libgcrypt-buildlink: _BUILDLINK_USE
+
+.endif # LIBGCRYPT_BUILDLINK2_MK