summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-09-12 04:05:03 +0000
committerjlam <jlam@pkgsrc.org>2001-09-12 04:05:03 +0000
commit52ed66a2916728b8c333139bc1b94ebcdd62f809 (patch)
tree5cbc0dc8a10e5f18fab9698d43b5b0e80a2034e6 /x11
parentb0b89cd6de45e93e44e452ccb49e7ef1a99f910c (diff)
downloadpkgsrc-52ed66a2916728b8c333139bc1b94ebcdd62f809.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'x11')
-rw-r--r--x11/XmHTML/Makefile20
-rw-r--r--x11/XmHTML/distinfo4
-rw-r--r--x11/XmHTML/patches/patch-aa10
3 files changed, 16 insertions, 18 deletions
diff --git a/x11/XmHTML/Makefile b/x11/XmHTML/Makefile
index 297459ff9e8..908e9b65bf4 100644
--- a/x11/XmHTML/Makefile
+++ b/x11/XmHTML/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2001/05/22 09:32:27 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2001/09/12 04:05:03 jlam Exp $
#
DISTNAME= XmHTML-1.1.7
@@ -9,16 +9,9 @@ MAINTAINER= mellon@isc.org
HOMEPAGE= http://www.xs4all.nl/~ripley/XmHTML/
COMMENT= Motif Widget capable of displaying HTML 3.2 conforming text
-DEPENDS+= jpeg-6b:../../graphics/jpeg
-DEPENDS+= png>=1.0.11:../../graphics/png
-
-USE_X11= YES
-USE_XPM= YES
-USE_MOTIF= YES
-USE_GMAKE= YES
-USE_LIBTOOL= YES
-
-NO_CONFIGURE= YES
+USE_GMAKE= YES
+USE_LIBTOOL= YES
+USE_BUILDLINK_ONLY= YES
MAKE_ENV+= CC="${CC}"
@@ -28,4 +21,9 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/XmHTML
${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h ${PREFIX}/include/XmHTML
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/png/buildlink.mk"
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../mk/motif.buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/XmHTML/distinfo b/x11/XmHTML/distinfo
index 01490a53ad5..c84bb47ca84 100644
--- a/x11/XmHTML/distinfo
+++ b/x11/XmHTML/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 11:07:35 skrll Exp $
+$NetBSD: distinfo,v 1.3 2001/09/12 04:05:03 jlam Exp $
SHA1 (XmHTML-1.1.7.tar.gz) = 4d8c82f88cf0700f6fc8898323d865b83d2a1ff1
Size (XmHTML-1.1.7.tar.gz) = 1289780 bytes
-SHA1 (patch-aa) = 6008cf68c80010399071ddaed56c00dac2ce060c
+SHA1 (patch-aa) = 5ca0d5976c61e488207c731a80f7094fb5270850
SHA1 (patch-ab) = 2f9e88b74913c735caf139646c2637a77a1232cd
SHA1 (patch-ac) = cf48e4eb9887df7bd5d82615aa505939ba97bee8
SHA1 (patch-ad) = d96f518c05f27fd7e7b4fc756467c6dca4a570ef
diff --git a/x11/XmHTML/patches/patch-aa b/x11/XmHTML/patches/patch-aa
index 6ed35c44a31..88c49b9d660 100644
--- a/x11/XmHTML/patches/patch-aa
+++ b/x11/XmHTML/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2001/03/05 13:52:42 skrll Exp $
+$NetBSD: patch-aa,v 1.5 2001/09/12 04:05:04 jlam Exp $
--- Makefile.orig Thu Feb 4 00:43:27 1999
+++ Makefile
@@ -23,7 +23,7 @@ $NetBSD: patch-aa,v 1.4 2001/03/05 13:52:42 skrll Exp $
-ZLIBINC =
-IMAGEINCLUDES = $(ZLIBINC)
+ZLIBINC =
-+IMAGEINCLUDES = -I${LOCALBASE}/include $(ZLIBINC)
++IMAGEINCLUDES = -I${BUILDLINK_DIR}/include $(ZLIBINC)
# Image libraries
# No need to add -lXpm if you need to include it with LIBS below
@@ -40,7 +40,7 @@ $NetBSD: patch-aa,v 1.4 2001/03/05 13:52:42 skrll Exp $
# Platform specific includes
ifeq ($(PLATFORM),Motif)
-PLATFORMINC=-I../../include/XmHTML -I/usr/X11R6/include
-+PLATFORMINC=-I../../include/XmHTML -I${X11BASE}/include
++PLATFORMINC=-I../../include/XmHTML -I${BUILDLINK_X11_DIR}/include
else
ifeq ($(PLATFORM),gtk)
PLATFORMINC=-I../../include/gtk-xmhtml -I/usr/local/include
@@ -49,7 +49,7 @@ $NetBSD: patch-aa,v 1.4 2001/03/05 13:52:42 skrll Exp $
ifeq ($(PLATFORM),Motif)
-LIBDIR = -L/usr/X11R6/lib
-+LIBDIR = -L${X11BASE}/lib
++LIBDIR = -L${BUILDLINK_X11_DIR}/lib
# This is what is required under Linux (Motif 2.0.1).
# Your mileage may vary.
-LIBS = -lXm -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE
@@ -61,7 +61,7 @@ $NetBSD: patch-aa,v 1.4 2001/03/05 13:52:42 skrll Exp $
ifeq($(PLATFORM),gtk)
-LIBDIR = -L/usr/local/lib
-+LIBDIR = -L${X11BASE}/lib
++LIBDIR = -L${BUILDLINK_X11_DIR}/lib
LIBS = -lgdk -lgtk -lX11
# endif gtk