summaryrefslogtreecommitdiff
path: root/security/rsaref
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 /security/rsaref
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 'security/rsaref')
-rw-r--r--security/rsaref/Makefile4
-rw-r--r--security/rsaref/buildlink2.mk19
2 files changed, 21 insertions, 2 deletions
diff --git a/security/rsaref/Makefile b/security/rsaref/Makefile
index 4a7f79f0bc3..983fb8fa4fe 100644
--- a/security/rsaref/Makefile
+++ b/security/rsaref/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2002/08/01 02:37:42 jschauma Exp $
+# $NetBSD: Makefile,v 1.26 2002/08/25 18:39:56 jlam Exp $
#
DISTNAME= rsaref
@@ -14,7 +14,7 @@ COMMENT= Encryption/authentication library, RSA/MDX/DES
CRYPTO= yes
LICENSE= no-commercial-use
-USE_BUILDLINK_ONLY= yes
+USE_BUILDLINK2= yes
USE_LIBTOOL= yes
MAKEFILE= unix/makefile
ALL_TARGET= librsaref.la
diff --git a/security/rsaref/buildlink2.mk b/security/rsaref/buildlink2.mk
new file mode 100644
index 00000000000..7d5a2a45213
--- /dev/null
+++ b/security/rsaref/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:57 jlam Exp $
+
+.if !defined(RSAREF_BUILDLINK2_MK)
+RSAREF_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= rsaref
+BUILDLINK_DEPENDS.rsaref?= rsaref-2.0p3
+BUILDLINK_PKGSRCDIR.rsaref?= ../../security/rsaref
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.rsaref=rsaref
+BUILDLINK_PREFIX.rsaref_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.rsaref= include/rsaref/*.h
+BUILDLINK_FILES.rsaref+= lib/librsaref.*
+
+BUILDLINK_TARGETS+= rsaref-buildlink
+
+rsaref-buildlink: _BUILDLINK_USE
+
+.endif # RSAREF_BUILDLINK2_MK