summaryrefslogtreecommitdiff
path: root/security/libmcrypt22
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
commite2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /security/libmcrypt22
parente97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff)
downloadpkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.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/libmcrypt22')
-rw-r--r--security/libmcrypt22/Makefile4
-rw-r--r--security/libmcrypt22/buildlink2.mk22
2 files changed, 24 insertions, 2 deletions
diff --git a/security/libmcrypt22/Makefile b/security/libmcrypt22/Makefile
index 1e5330309b3..43298e30e72 100644
--- a/security/libmcrypt22/Makefile
+++ b/security/libmcrypt22/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/04/12 18:59:36 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2002/08/25 18:39:55 jlam Exp $
DISTNAME= libmcrypt-2.2.7
PKGNAME= libmcrypt22-2.2.7
@@ -10,7 +10,7 @@ MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://mcrypt.hellug.gr/
COMMENT= crypto algorithms library (version 2.2.x)
-USE_BUILDLINK_ONLY= yes
+USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/libmcrypt22
diff --git a/security/libmcrypt22/buildlink2.mk b/security/libmcrypt22/buildlink2.mk
new file mode 100644
index 00000000000..92fbb2e31dd
--- /dev/null
+++ b/security/libmcrypt22/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:55 jlam Exp $
+
+.if !defined(LIBMCRYPT22_BUILDLINK2_MK)
+LIBMCRYPT22_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libmcrypt22
+BUILDLINK_DEPENDS.libmcrypt22?= libmcrypt22>=2.2.7
+BUILDLINK_PKGSRCDIR.libmcrypt22?= ../../security/libmcrypt22
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libmcrypt22=libmcrypt22
+BUILDLINK_PREFIX.libmcrypt22_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libmcrypt22= include/libmcrypt22/mcrypt.h
+BUILDLINK_FILES.libmcrypt22+= lib/libmcrypt22.*
+
+BUILDLINK_TRANSFORM.libmcrypt22= -e "s|include/libmcrypt22/|include/|g"
+BUILDLINK_TRANSFORM+= l:mcrypt:mcrypt22
+
+BUILDLINK_TARGETS+= libmcrypt22-buildlink
+
+libmcrypt22-buildlink: _BUILDLINK_USE
+
+.endif # LIBMCRYPT22_BUILDLINK2_MK