summaryrefslogtreecommitdiff
path: root/x11/XmHTML
diff options
context:
space:
mode:
authorsnj <snj>2004-04-12 03:41:51 +0000
committersnj <snj>2004-04-12 03:41:51 +0000
commitcc483705edd45b8bcb04291d0591dc052a68fcf3 (patch)
tree328f0c3ad28432a9f3586e9cb2952eb3ea410d14 /x11/XmHTML
parentc6de5a4c9ea6caca0f5c95c2d260f3ca0ca3bc92 (diff)
downloadpkgsrc-cc483705edd45b8bcb04291d0591dc052a68fcf3.tar.gz
Convert to buildlink3.
Diffstat (limited to 'x11/XmHTML')
-rw-r--r--x11/XmHTML/Makefile12
-rw-r--r--x11/XmHTML/buildlink3.mk22
2 files changed, 28 insertions, 6 deletions
diff --git a/x11/XmHTML/Makefile b/x11/XmHTML/Makefile
index 03493d57fae..3f7c1c19467 100644
--- a/x11/XmHTML/Makefile
+++ b/x11/XmHTML/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2004/01/24 15:30:32 grant Exp $
+# $NetBSD: Makefile,v 1.29 2004/04/12 03:48:53 snj Exp $
#
DISTNAME= XmHTML-1.1.7
@@ -13,7 +13,7 @@ COMMENT= Motif Widget capable of displaying HTML 3.2 conforming text
USE_X11BASE= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
do-install:
${LIBTOOL} ${LIBTOOL_FLAGS} ${INSTALL_DATA} \
@@ -21,9 +21,9 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/XmHTML
${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h ${PREFIX}/include/XmHTML
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/xpm/buildlink2.mk"
-.include "../../mk/motif.buildlink2.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/XmHTML/buildlink3.mk b/x11/XmHTML/buildlink3.mk
new file mode 100644
index 00000000000..8b605e4657b
--- /dev/null
+++ b/x11/XmHTML/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 03:48:53 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XMHTML_BUILDLINK3_MK:= ${XMHTML_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= XmHTML
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXmHTML}
+BUILDLINK_PACKAGES+= XmHTML
+
+.if !empty(XMHTML_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.XmHTML+= XmHTML>=1.1.7nb2
+BUILDLINK_PKGSRCDIR.XmHTML?= ../../x11/XmHTML
+.endif # XMHTML_BUILDLINK3_MK
+
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}