summaryrefslogtreecommitdiff
path: root/x11/Xrender/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/Xrender/Makefile')
-rw-r--r--x11/Xrender/Makefile44
1 files changed, 12 insertions, 32 deletions
diff --git a/x11/Xrender/Makefile b/x11/Xrender/Makefile
index 2beb356d771..7a65dff88a5 100644
--- a/x11/Xrender/Makefile
+++ b/x11/Xrender/Makefile
@@ -1,41 +1,21 @@
-# $NetBSD: Makefile,v 1.6 2003/07/30 15:15:43 grant Exp $
+# $NetBSD: Makefile,v 1.7 2003/09/19 17:22:14 wiz Exp $
-DISTNAME= fcpackage.2_1
-PKGNAME= Xrender-${XRENDER_VERSION}
-WRKSRC= ${WRKDIR}/${DISTNAME}/Xrender
+DISTNAME= xrender-0.8.3
+PKGNAME= Xrender-0.8.3
CATEGORIES= x11
-MASTER_SITES= http://fontconfig.org/release/
+MASTER_SITES= http://pdx.freedesktop.org/software/fontconfig/releases/
MAINTAINER= jlam@NetBSD.org
HOMEPAGE= http://fontconfig.org/
COMMENT= Client library for the X Rendering Extension protocol
-# This value is RENDER_MAJOR.RENDOR_MINOR from ${WRKSRC}/render.h.
-XRENDER_VERSION= 0.7
-
USE_BUILDLINK2= YES
-USE_IMAKE= YES
-EXTRACT_ELEMENTS= ${DISTNAME}/Xrender
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-PLIST_SUBST+= NOT_SUNOS="@comment "
-.else
-PLIST_SUBST+= NOT_SUNOS=""
-.endif
-
-PLIST_SUBST+=
-_RENDER_H= ${X11BASE}/include/X11/extensions/render.h
-_X11_TMPL= ${X11BASE}/lib/X11/config/X11.tmpl
-.if exists(${_RENDER_H}) && exists(${_X11_TMPL})
-_IS_BUILTIN_XRENDER!= ${GREP} -c BuildRenderLibrary ${_X11_TMPL} || ${TRUE}
-.else
-_IS_BUILTIN_XRENDER= 0
-.endif
-
-.if ${X11PREFIX} == ${X11BASE} && ${_IS_BUILTIN_XRENDER} != "0"
-PKG_SKIP_REASON= "${PKGNAME} is part of your X11 distribution"
-.endif
-
+USE_X11= YES
+# XXX: LIBTOOL: uses libtool>=1.5 features
+#USE_LIBTOOL= YES
+#LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+GNU_CONFIGURE= YES
+
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../x11/render/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"