pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/libcomprex Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c154d54e6a3e
branches:  trunk
changeset: 469049:c154d54e6a3e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 19 10:59:28 2004 +0000

description:
Convert to buildlink3.

diffstat:

 archivers/libcomprex/Makefile      |   6 +++---
 archivers/libcomprex/buildlink2.mk |  29 -----------------------------
 archivers/libcomprex/buildlink3.mk |  24 ++++++++++++++++++++++++
 3 files changed, 27 insertions(+), 32 deletions(-)

diffs (83 lines):

diff -r 03284dd5dc1f -r c154d54e6a3e archivers/libcomprex/Makefile
--- a/archivers/libcomprex/Makefile     Thu Feb 19 10:47:28 2004 +0000
+++ b/archivers/libcomprex/Makefile     Thu Feb 19 10:59:28 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/02/14 17:21:32 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2004/02/19 10:59:28 wiz Exp $
 #
 
 DISTNAME=      libcomprex-0.3.2
@@ -9,10 +9,10 @@
 HOMEPAGE=      http://www.gnupdate.org/components/libcomprex/index.xml
 COMMENT=       Library to handle (de)compression of files
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_PKGLOCALEDIR=      YES
 GNU_CONFIGURE=         YES
 USE_LIBTOOL=           YES
 
-.include "../../www/curl/buildlink2.mk"
+.include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 03284dd5dc1f -r c154d54e6a3e archivers/libcomprex/buildlink2.mk
--- a/archivers/libcomprex/buildlink2.mk        Thu Feb 19 10:47:28 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1 2003/01/09 11:21:40 uebayasi Exp $
-#
-# This Makefile fragment is included by packages that use libcomprex.
-#
-# This file was created automatically using createbuildlink 2.4.
-#
-
-.if !defined(LIBCOMPREX_BUILDLINK2_MK)
-LIBCOMPREX_BUILDLINK2_MK=      # defined
-
-BUILDLINK_PACKAGES+=                   libcomprex
-BUILDLINK_DEPENDS.libcomprex?=         libcomprex>=0.3.2
-BUILDLINK_PKGSRCDIR.libcomprex?=               ../../archivers/libcomprex
-
-EVAL_PREFIX+=  BUILDLINK_PREFIX.libcomprex=libcomprex
-BUILDLINK_PREFIX.libcomprex_DEFAULT=   ${LOCALBASE}
-BUILDLINK_FILES.libcomprex+=   include/comprex.h
-BUILDLINK_FILES.libcomprex+=   include/libcomprex/*
-BUILDLINK_FILES.libcomprex+=   lib/comprex/archive/*
-BUILDLINK_FILES.libcomprex+=   lib/comprex/scheme/*
-BUILDLINK_FILES.libcomprex+=   lib/libcomprex.*
-
-.include "../../www/curl/buildlink2.mk"
-
-BUILDLINK_TARGETS+=    libcomprex-buildlink
-
-libcomprex-buildlink: _BUILDLINK_USE
-
-.endif # LIBCOMPREX_BUILDLINK2_MK
diff -r 03284dd5dc1f -r c154d54e6a3e archivers/libcomprex/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libcomprex/buildlink3.mk        Thu Feb 19 10:59:28 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 10:59:28 wiz Exp $
+#
+# This Makefile fragment is included by packages that use libcomprex.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBCOMPREX_BUILDLINK3_MK:=     ${LIBCOMPREX_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libcomprex
+.endif
+
+.if !empty(LIBCOMPREX_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   libcomprex
+BUILDLINK_DEPENDS.libcomprex+=         libcomprex>=0.3.2
+BUILDLINK_PKGSRCDIR.libcomprex?=               ../../archivers/libcomprex
+
+.include "../../www/curl/buildlink3.mk"
+
+.endif # LIBCOMPREX_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index