summaryrefslogtreecommitdiff
path: root/archivers/libcomprex
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-02-19 10:59:28 +0000
committerwiz <wiz@pkgsrc.org>2004-02-19 10:59:28 +0000
commit934339cddfad365981af2529b324a5bf9329e686 (patch)
tree786b08693ee8d57cdf56eb3ac3b01dff268161ac /archivers/libcomprex
parent1b2f29298cc14a0ebb1dabc5b7089862ac6bd0b3 (diff)
downloadpkgsrc-934339cddfad365981af2529b324a5bf9329e686.tar.gz
Convert to buildlink3.
Diffstat (limited to 'archivers/libcomprex')
-rw-r--r--archivers/libcomprex/Makefile6
-rw-r--r--archivers/libcomprex/buildlink2.mk29
-rw-r--r--archivers/libcomprex/buildlink3.mk24
3 files changed, 27 insertions, 32 deletions
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile
index 9cc67cb8e38..b3a8b3cc87c 100644
--- a/archivers/libcomprex/Makefile
+++ b/archivers/libcomprex/Makefile
@@ -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 @@ MAINTAINER= tech-pkg@NetBSD.org
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 --git a/archivers/libcomprex/buildlink2.mk b/archivers/libcomprex/buildlink2.mk
deleted file mode 100644
index 2414d6ac629..00000000000
--- a/archivers/libcomprex/buildlink2.mk
+++ /dev/null
@@ -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 --git a/archivers/libcomprex/buildlink3.mk b/archivers/libcomprex/buildlink3.mk
new file mode 100644
index 00000000000..d15b0adf349
--- /dev/null
+++ b/archivers/libcomprex/buildlink3.mk
@@ -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/+$//}