summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-03-12 04:56:49 +0000
committersnj <snj@pkgsrc.org>2004-03-12 04:56:49 +0000
commit8297436d02de62a06292877144466142d889f1d5 (patch)
treeb322fdf43e2d80b1f4b5ae1faceefe5f46fc8cc5 /sysutils
parentfd2e3d3ff24c970b8f0d2db963957bff60357c55 (diff)
downloadpkgsrc-8297436d02de62a06292877144466142d889f1d5.tar.gz
bl3ify.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gkrellm1/Makefile6
-rw-r--r--sysutils/gkrellm1/buildlink3.mk21
2 files changed, 24 insertions, 3 deletions
diff --git a/sysutils/gkrellm1/Makefile b/sysutils/gkrellm1/Makefile
index b324fa5c59d..55492d88366 100644
--- a/sysutils/gkrellm1/Makefile
+++ b/sysutils/gkrellm1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 22:06:56 cube Exp $
+# $NetBSD: Makefile,v 1.2 2004/03/12 04:56:49 snj Exp $
#
DISTNAME= gkrellm-1.2.13
@@ -14,7 +14,7 @@ COMMENT= GTK based system monitor
BUILD_USES_MSGFMT= YES
OSVERSION_SPECIFIC= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_X11= YES
USE_GNU_TOOLS+= make
USE_PKGLOCALEDIR= YES
@@ -32,5 +32,5 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins
${INSTALL_DATA_DIR} ${PREFIX}/share/gkrellm/themes
-.include "../../graphics/imlib/buildlink2.mk"
+.include "../../graphics/imlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/gkrellm1/buildlink3.mk b/sysutils/gkrellm1/buildlink3.mk
new file mode 100644
index 00000000000..69c330271d2
--- /dev/null
+++ b/sysutils/gkrellm1/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/12 04:56:49 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GKRELLM_BUILDLINK3_MK:= ${GKRELLM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gkrellm
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngkrellm}
+BUILDLINK_PACKAGES+= gkrellm
+
+.if !empty(GKRELLM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gkrellm+= gkrellm>=1.2.13nb3
+BUILDLINK_PKGSRCDIR.gkrellm?= ../../sysutils/gkrellm1
+
+.include "../../graphics/imlib/buildlink3.mk"
+
+.endif # GKRELLM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}