diff options
Diffstat (limited to 'security/libmcrypt22')
-rw-r--r-- | security/libmcrypt22/Makefile | 4 | ||||
-rw-r--r-- | security/libmcrypt22/buildlink2.mk | 22 |
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 |